URLs in bibliography only for websites
Dear all,
since several years I'm working successfully with zotero. I modified an existing citation style for my needs and everything worked well so far. The only problem I cannot solve is the following:
For the bibliography I want that URLs are shown only for websites, but not for all other items like books or articles (the problem results from the fact, that these items often have URLs to the sources like springer, too). The only solution I found, is to delete all URLs or show them all.
How do I produce an output of URLs that depends on the specific item?
Thank you very much in advance for your comments and hints!
Best regards,
Enno
since several years I'm working successfully with zotero. I modified an existing citation style for my needs and everything worked well so far. The only problem I cannot solve is the following:
For the bibliography I want that URLs are shown only for websites, but not for all other items like books or articles (the problem results from the fact, that these items often have URLs to the sources like springer, too). The only solution I found, is to delete all URLs or show them all.
How do I produce an output of URLs that depends on the specific item?
Thank you very much in advance for your comments and hints!
Best regards,
Enno
<choose>
<if type="webpage">
<text macro="access"/>
</if>
</choose>
How exactly you'll best do that may vary, but that's the general idea.
thank you very much for your help. I found a solution based on your suggestion:
<macro name="access">
<choose>
<if type="webpage">
<text variable="URL"/>
<group prefix=" (" suffix=")">
<text term="accessed" text-case="capitalize-first" suffix=" "/>
<date variable="accessed">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
</if>
</choose>
</macro>
Best regards,
Enno