Edit style to render additional info
How do I edit a citation style to render additional information in the bibliography? In this case, I'd like to change the MLA 7th or 8th ed. in such a way that it displays the "source" (database), in italics, for magazine articles. How do I write this in XML?
Many thanks!
Many thanks!
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.
main info for editing you can find on http://docs.citationstyles.org/en/stable/
online editor is on http://editor.citationstyles.org/about/
Thanks, I know those sources, but I can't find the place in the MLA 7th/ 8th ed. XML where the bibliographic output for magazine articles is specified, so that I don't know where to add the extra information to be rendered.
<macro name="container2-location">
<choose>
<if variable="source URL" match="all">
<group delimiter=", ">
<text variable="source" font-style="italic"/>
<text macro="URI"/>
</group>
</if>
</choose>
</macro>
If you just change third line to
<if variable="source URL" match="any">
the style will print source wherever it's present.
You can then modify that as needed.