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!
  • Detailed info you can find on http://citationstyles.org/

    main info for editing you can find on http://docs.citationstyles.org/en/stable/

    online editor is on http://editor.citationstyles.org/about/
  • Dear LiborA,
    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.
  • The bibliographic output is defined in section <bibliography> on the end of XML. There is <if><else-if><else> construction in MLA 7th edition style. Because there is no specific part for magazine articles, then this type of document is rendered by the last part of this construction between <else></else>. There you have to add your code.
  • edited May 6, 2016
    For MLA 8th, see
    <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.

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.