multiple choices in a macro and paper-conference type

Hi!
I'm writing the title macro. I'd like to distinguish Conference papers that are published online and those that are published "on paper".
Thus, I put two conditions: all documents which type is "paper-conference" and which have the variable "URL" are concerned. But zotero indicates that there is a problem...

Do you think the problem is about the two conditions I put?
Thank you


<macro name="title">
<choose>
<if variable="URL" type="paper-conference" match="all">
<group delimiter="">
<text variable="title" text-case="capitalize-first" font-style="normal" prefix="&#171;&#160;" suffix="&#160;&#187;," />
<text term="in" suffix="" prefix=" " />
<text variable="container-title" text-case="capitalize-first" font-style="italic" suffix="," prefix=" " />
<text variable="accessed" font-style="normal" prefix=" (consulté le " suffix=")" />
</group>
</if>

<else-if type="paper-conference" match="all">
etc...
</else-if>
</choose>
</macro>
  • What problem does Zotero indicate? You can have two conditions on an if, that should be fine.
  • While creating a bibliography with the selected document, it indicates:

    Une erreur s'est produite lors de la création de votre bibliographie. Veuillez réessayer


    bibliographyGenerationError

    Thank you
    Ce'
  • Same error in the reference pane?
    http://www.zotero.org/support/dev/citation_styles/reference_test_pane
  • Nothing appears...
  • Not sure I understand. Please post the entire style somewhere we can access it, e.g. a public gist on gist.github.com and link to it here.

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

Sign In or Register to comment.