Problems with "paper-conference" and "speech"

Hi,
I am working on a citation style and have encountered a problem that I cannot solve.

I write a macro "event" and then I call upon it in another macro "issue", which in turn is called upon in <bibliography>.

I want the "event" macro to provide a certain text for a "conference-paper" and another text string for speech. However, Zotero refuses to provide the text written in the "event" macro. All other stuff works nicely.

Below I post the macros "event" and "issue as well as <bibliography>. Any and all assistance is appreciated.

/Joachim

************** EVENT MACRO **************
<macro name="event">
<choose>
<if variable="event">
<choose>
<if type="paper-conference">
<text term="paper presented at" text-case="capitalize-first" suffix=" "/>
<text variable="event"/>
</if>
<else-if type="speech">
<text term="speech delivered at" text-case="capitalize-first" suffix=" "/>
<text variable="event"/>
</else-if>
</choose>
</if>
</choose></macro>
**********************************************

************** ISSUE MACRO **************
<macro name="issue">
<choose>
<if type="paper-conference speech" match="any">
<group prefix=". " delimiter=", ">
<text macro="event"/>
<text variable="event-place"/>
<text macro="day-month"/>
</group>
</if>
<else-if type="article-journal">
<text macro="day-month" prefix=" (" suffix=")"/>
</else-if>
<else-if type="article-newspaper article-magazine" match="any">
<text macro="day-month" prefix=", "/>
</else-if>
<else-if type="legal_case"> </else-if>
<else>
<group prefix=". " delimiter=", ">
<choose>
<if type="thesis">
<text variable="genre" text-case="capitalize-first"/>
</if>
</choose>
<text macro="publisher"/>
<text macro="day-month"/>
</group>
</else>
</choose></macro>
**********************************************

************** <bibliography> **************
<bibliography>
<option name="hanging-indent" value="true"/>
<option name="et-al-min" value="11"/>long
<option name="et-al-use-first" value="7"/>
<option name="subsequent-author-substitute" value="———"/>
<option name="entry-spacing" value="0"/>
<sort>
<key macro="contributors"/>long
<key variable="issued"/>
</sort>
<layout suffix=".">
<text macro="contributors" suffix=". "/>
<text macro="date" suffix=". "/>
<text macro="title"/>
<text macro="description"/>
<text macro="secondary-contributors" prefix=". "/>
<text macro="container-title" prefix=". "/>
<text macro="container-contributors"/>
<text macro="locators-chapter"/>
<text macro="edition" prefix=". "/>
<text macro="locators"/>
<text macro="collection-title" prefix=". "/>
<text macro="issue"/>
<text macro="locators-article"/>
<text macro="access" prefix=". Available at: "/>
</layout></bibliography>
**********************************************
  • Coming late to the party, but ...

    replace term="paper presented at" with value="paper presented at"; and
    replace term="speech delivered at" with value="speech delivered at"

    ... and it should work fine.

This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.