Harvard Stirling University

How can I edit the intext citation to be ( Roberts 2003) rather than ( Roberts,2003) which all the Harvard Styles in the Repository seem to do. Also how to not have " " around the title of Journal Articles. I am retired and just gone back to Uni so this is a bit new to me.
Thanks:)
  • you can use http://editor.citationstyles.org/searchByExample/ to find a close match (and if need be to edit it). If those are your only two requirements, e.g. British Ecological Society will work nicely--remember that Harvard is just a name for autor-date styles, so any style that uses parenthetical author-date citations could work.
  • Adam

    Thank you:)
  • I would like to change the margins in the Bibliography for the British Ecological Society style. The current style indents the second line of each entry and I would like it to stay at the right hand margin. Can you advise how I can change this please:)
  • in the visual editor, click on "bibliography" and then toggle hanging-indent to false.

    If modifying the actual code, just delete hanging-indent="true"
  • Adam I can modify the British Ecological Society style in my standalone Zotero application as you suggested above. However. once I have made the change in the style editor, I am not sure how to save it and then how to have it as a new style available to me. Can you help please?
  • Make sure you have given your style a new name under Info.
    Then, click on "Style" at the top left, then on "Save Style" -- you may have to OK a renaming, then the box that opens has a button to "Save to Disk" as well as instructions for how to get the saved style into Zotero.
  • Adam

    There is no "Info" or "Style' button in the Style Editor that I am accessing through the Zotero Preferences - Advanced Menu- there is only "Refresh" - "Save As' and "Page".

    Am I in the right place?

    Appreciating you help

    Ann
  • Oh sorry, I thought you were looking at http://editor.citationstyles.org/visualEditor/
    For the one you're using, first make sure to change title and ID as specified here: https://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step

    Then use the save as option to save the file and see here:
    https://www.zotero.org/support/styles#alternative_installation_methods
    on installing it.
  • I am looking to remove the comma in the citation style between the author name and the date in the Cranfield - Harvard style. Can anyone tell me where to look in the style editor to delete this comma?
    thanks
  • Delete the comma in the delimiter here:
    <citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year">
    ..
    <layout prefix="(" suffix=")" delimiter="; ">
    <choose>
    <if type="bill legislation" match="any">
    <group delimiter=", ">
    <text macro="author"/>
    <text macro="year-date"/>

    As well as some lines below in the other case.
  • Thank you zuphilip - it worked.
    Have managed to sort out a couple of changes all by myself but next challenge is I need take out the inverted commas in Book Sections within the bibliography. Can anyone advise how to do this please? ;)
  • could you post an example of what exactly you want to remove? Are we talking about UK-style single quotation marks? You can remove those by removing quotes="true". Or what do you mean by inversted commas?
  • Bronfenbrenner, U. (1994) ‘Ecological models of human development.’, in International Encyclopedia of Education. 2nd ed. New York: Elsevier.

    This is a book section and my University does not want the inverted commas around the title of the section. I cannot see where book section coding is to make the change.

    Thank you
  • but you do want it around other items like journal articles?
  • Hi Adam - I managed to take the inverted commas out of journal articles myself. I just cannot find the book section coding to make the changes. Book section does not seem to be there
    ann
  • edited January 9, 2016
    Adam - I worked it out - it was under chapter - YEY
  • Hi

    Could tell me where the coding would be in Style Editor to change my citation from (Windle and Bennett 2012, p219) to (Windle and Bennett 2012:219).

    Many thanks
  • the 219 is referred to as a "locator" -- with that, should be pretty easy to find the right place. This only comes up once.
  • edited February 1, 2016
    Hi Adam
    How do I change the comma( ,) to a colon ( : )? Am not seeing where the comma is within the locator section. I have Zotero standalone

    Thank you
  • It's in one of two places: either as a prefix to the locator or as a delimiter of a group that includes the locator. Can't say more w/o seeing the style.
  • I am using Harvard- Cranfield University.

    I am sorry that I just cannot see what to change:)

    Really appreciate you sticking with helping me out.

    Ann
  • Sorry, but you're not using Harvard Cranfield anymore. You made several modifications to this passage:
    <group delimiter=", ">
    <text macro="author-short"/>
    <text macro="year-date"/>
    <group>
    <label variable="locator" form="short"/>
    <text variable="locator"/>
    </group>
    </group>


    and I can't really say much without seeing what you did first.
  • Adam Appreciating you help.

    I wish to find the place where the (p. ) appears in the citation ( Hill 2016 p.2) and change it to ( Hill 2016:2). ( The only thing I did was to change the "true" to "false" to take out the comma in the citation (Hill, 2016).

    Is this what you wish to see?

    <group delimiter=" ">
    <text macro="author-short"/>
    <text macro="year-date"/>
    <group>
    <label variable="locator" form="short"/>
    <text variable="locator"/>
    </group>
    </group>
  • <group delimiter=":">
    <group delimiter=" ">
    <text macro="author-short"/>
    <text macro="year-date"/>
    </group>
    <text variable="locator"/>
    </group>
  • Adam

    When I made the changes you suggested I received the following message.

    Error parsing style:
    Error: File is not valid XML

    When I tried to added in the : to the delimiter in the first line you suggested it changed the citation to ( Hill : 2016). I want to have (Hill 2016 : then the page number).

    PS I am happy to pay for someone to help me bottom this out - I need to make it happen

    Ann :)
  • if you're getting an xml error, you're either not copying exactly what I have above or you're not replacing exactly what you have above.

    Again, this is easier to see if we actually see what you've done (post to gist.github.com or pastebin.com, neither of which requires registration, and link here).

    If you really do want to pay for this, I'm happy to do that, but for something this little I'm not sure that's worth it (for you, that is: I don't start under $50).
Sign In or Register to comment.