Help modifying style

Hi all,

I'm trying to build a custom style for the paper I'm writing. Details of the style are here:
http://www.lib.unimelb.edu.au/cite/ahcca/index.html.

I've started modifying the Chicago Manual of Style (Note with Bibliography) CSL and have succeeded in replacing the 'title' field with 'year' as required, but I need to insert 'page' before the page number (ie 'p.' or 'pp.') and I'm stuck.

I also need to remove the 'ibid' referencing and provide full references even when repeated.

Suggestions would be much appreciated.

Thanks.
  • The link leads to a 404 (page not found). If you can fix the link, someone might be able to help.
  • Omega13 has included a period after the HTML extension. Follow this link...

    http://www.lib.unimelb.edu.au/cite/ahcca/index.html
  • Sorry about that.

    And just to clarify, it's only the citation style I'm concerned with - the bibliography is to be a standard (different style).
  • insert 'page' before the page number (ie 'p.' or 'pp.') and I'm stuck.
    For this, change:

    <macro name="point-locators-subsequent">
    <group>
    <choose>
    <if locator="page" match="none">
    <label variable="locator" form="short" include-period="true" suffix=" "/>
    </if>
    </choose>
    <text variable="locator"/>
    </group>
    </macro>

    into
    <macro name="point-locators-subsequent">
    <label variable="locator" form="short" include-period="true" suffix=" "/>
    <text variable="locator"/>
    </macro>


    I also need to remove the 'ibid' referencing and provide full references even when repeated.
    For this, change:

    <layout prefix="" suffix="." delimiter="; ">
    <choose>
    <if position="ibid-with-locator">
    <group delimiter=", ">
    <text term="ibid" text-case="capitalize-first" suffix="."/>
    <text macro="point-locators-subsequent"/>
    </group>
    </if>
    <else-if position="ibid">
    <text term="ibid" text-case="capitalize-first" suffix="."/>
    </else-if>
    <else>
    <group delimiter=", ">
    <text macro="contributors-short"/>
    <text macro="title-short"/>
    <text macro="point-locators-subsequent"/>
    </group>
    </else>
    </choose>
    </layout>

    into
    <layout prefix="" suffix="." delimiter="; ">
    <group delimiter=", ">
    <text macro="contributors-short"/>
    <text macro="title-short"/>
    <text macro="point-locators-subsequent"/>
    </group>
    </layout>
  • Brilliant. Worked perfectly.

    Many, many thanks.
  • A further issue - where there is no author in a particular reference - primarily websites and exhibition catalogues - I need to modify the style to output the title , website title and URL in the case of web pages, and title and place in the case of exhibition catalogues as per:

    http://www.lib.unimelb.edu.au/cite/ahcca/ahcca_wwwt.html
    http://www.lib.unimelb.edu.au/cite/ahcca/ahcca_exhibt.html

    and author, website in the sace of a couple of specialised databases:

    http://www.lib.unimelb.edu.au/cite/ahcca/ahcca_grovet.html

    For the last one I think I'll just have to modify the citations manually, but any help on the other cases would be much appreciated.
  • What item types do you use in Zotero for exhibition catalogues and specialised databases?
  • For exhibition catalogues I've been using Conference Paper - hardly perfect, but it contains roughly relevant fields that I can squeeze information into. I've been using the Title, Date, Place and Publisher fields as normal - and Proceedings Title for the exhibiting institution and Short Title for exhibition location, hoping I can pump these out in the correct order as required.

    For the specialised database Grove Art Online I've been using Encyclopedia Article. Title is article title, Author is article author, Encyclopedia Title is 'Grove Art Online', Publisher, Editor and any other information necessary entered as normal. I just need to output the footnote in the form:

    26. Smith, http://www.groveart.com/

    I know I'm probably going to have to do some manual editing o the Bibliography, but if I can get the notes working that will be great for now.
  • You can take a look at the bibliography section in the Vancouver style to see how to make exceptions for certain item types. Encyclopedia articles will probably require the item type "chapter" (the dedicated "encyclopediaArticle" doesn't seem to work. Using "chapter" will also overwrite the formatting for chapters though), websites use "webpage". For the fields you used in your library, I can already tell you that the variable names of Website Title is "container-title". For more available field-variable names, see https://www.zotero.org/trac/browser/extension/trunk/chrome/content/zotero/xpcom/csl.js#L1769
Sign In or Register to comment.