Testing for presence of journal abbreviation?
I think I am probably missing something really obvious...
I am trying to code a style for a French editor who wants journal titles in italics (easy), BUT
- a prefix "dans" if the full title of the journal is used
- no prefix if an abbreviation is used
I can output the journal abbreviation the way I need it with <text variable="container-title" form="short" font-style="italic"/>
but how do I go about testing whether there is an abbreviation in the Zotero data?
Journal abbreviations don't have CSL field names if I understand this document correctly http://gsl-nagoya-u.net/http/pub/csl-fields/journalArticle.html and this doesn't work either:
<if variable="container-title" form="short" match="any">
How is it done?
I am trying to code a style for a French editor who wants journal titles in italics (easy), BUT
- a prefix "dans" if the full title of the journal is used
- no prefix if an abbreviation is used
I can output the journal abbreviation the way I need it with <text variable="container-title" form="short" font-style="italic"/>
but how do I go about testing whether there is an abbreviation in the Zotero data?
Journal abbreviations don't have CSL field names if I understand this document correctly http://gsl-nagoya-u.net/http/pub/csl-fields/journalArticle.html and this doesn't work either:
<if variable="container-title" form="short" match="any">
How is it done?
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.
fbennett: if that can be added without too much difficulty it would solve my minor problem and might be useful for other style use cases.