Automatisches Hinzufügen von "o. J." wenn kein Datum vorhanden

Hallo zusammen,

ich versuche mich gerade daran, einen eigenen Zitationsstil im Visual Editor für Zotero zu programmieren.

Gerade komme ich leider an dem Punkt nicht weiter. Ich würde ihm gerne beibringen, dass wenn in einer Quelle kein Datum eingetragen ist, er dann automatisch "o. J." einfügt. Sowohl bei der Kurzzitation im Text als auch im Literaturverzeichnis.

Hat jemand einen Tipp? :)

Danke und LG!
  • Die Idee ist
    --> choose.
    -->if - variable - issued --match="none"
    --> text -- term -- no date, form="short"
    --> else
    und dann was auch immer Du schon für Jahr hast.

    Also code sähe das dann so aus
    <choose>
    <if variable="issued" match="none">
    <text term="no date" form="short"/>
    </if>
    <else>
    <date variable="issued" date-parts="year" form="numeric"/>
    </else>
    </choose>

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.