italics doesn't show in citations
Hello
I have recently updated the "University College Lillebælt - Harvard" style, and have tried and failed to show law titles in italic in citations. I use the following code:
The title is written as wanted, except it isn't italicized, and I can't figure out why not.
PS: I'm using LibreOffice.
I have recently updated the "University College Lillebælt - Harvard" style, and have tried and failed to show law titles in italic in citations. I use the following code:
<macro name="author-citation">
<choose>
<if type="legislation">
<names variable="author">
<name name-as-sort-order="all" initialize-with="."/>
<substitute>
<text variable="title" font-style="italic"/>
</substitute>
</names>
</if>
<else-if type="entry-dictionary entry-encyclopedia article-newspaper chapter broadcast motion_picture" match="any">
<text macro="author-special"/>
</else-if>
<else>
<names variable="author">
<name name-as-sort-order="all" initialize-with="."/>
<substitute>
<names variable="editor"/>
<names variable="composer"/>
<text term="anonymous"/>
</substitute>
</names>
</else>
</choose>
</macro>
The title is written as wanted, except it isn't italicized, and I can't figure out why not.
PS: I'm using LibreOffice.
The danish legislation is traditionally divided in primary legislation (laws) typically referenced by title or law number, and secondary legislation typically referenced by the responsible Ministry.
Since Zotero only has one 'legislation' type, I deal with this by having the relevant ministry as author on secondary legislation, and no author on primary legislation.
So the problem resides in LibreOffice and not in the csl code.
Thanks for taking the time to answer.
There are likely other scenarios, but the et al alone, I'd argue, should be sufficient to revert.
Just to be clear, though, "inline" does not refer to footnotes, right? Because if partial styling doesn't work there, we get pretty much every footnote style fundamentally wrong.
I created a test document and input the same citations as in the chapter in which the italics had occurred. All of these came out with et al. in roman, as they should be.
I then went back to the chapter, deleted the offending citations, and input them afresh. When I refreshed they all came out in roman.
I'm still puzzled as to why it happened in the first place, but for now I'll do a search through the whole 600+ page MS and replace the italic et al citations with new ones.
This is a Word issue that they haven't bothered to fix for a decade or so and there's nothing we're aware of that Zotero can do about it, so not likely it'll get fixed I'm afraid.
Note that you can add the dummy item using "Edit bibliography" and simply add the Abu Aardvard (or similar) reference through that dialog, so you don't need to actually cite the work in the document.