Choose a new existing style + question about alphabetical order

Hello,
I am a brand new user and I did not find answers in the support documents or in a forum search. Please help!

1° It should be easy, but I use the french version of Zotero 2 and can't find "styles" in the "preferences" menu, as instructed in the Help Docs.
So I would like to change the citation style I chose for a Word document to another one that already exists, where do I find the command button for it...

2°Harder question : I would like to use an alphabetical order for my bibliography, such as APA, and the order should be reflected in the citations.
Ex : Now "Vallier, F, etc..." is number 30 in my bibliography, I want the in-text citation to be simply: [30]. But when I am done, "Vallier, F, etc.." may be number 40, and the citation should have changed as well.
Is this possible?

Thank you very much.
  • 1. It's the 2nd one from the left. In English it's "Set Document Preferences
    2. Yes - a lot of styles do that - try e.g. Nature or IEEE - APA style by definition doesn't do that, because it uses in - text author-year citations (although I guess it could be adjusted without too much work - but I'd go with IEEE for a start.
  • Thank you for your answer.

    1.Found it. Thank you!
    2.IEEE and Nature are not what I am looking for : the in-text citation is a number, BUT it reflects the adding order of citations, and not the alphabetical order in my bibliography.

    I guess I will add citations by hand when I am done with my text :\

    Thank you all the same
  • You should be able to produce a style that does what you want in 15 minutes or so, if the citation processor behaves itself. What style are you using as a base?
  • there are some styles like that in the repository already - I just don't remember which.
    all it takes is
    <sort>
    <key variable="author"/>
    <sort>
    http://www.zotero.org/support/csl_simple_edits
  • One or more of these might be in the ballpark:

    american-physiological-society.csl
    annual-reviews-alphabetically.csl
    asm-journals.csl
    immunity.csl
    journal-neurosurgery.csl
    molecular-biochemical-parasitology.csl
  • Frank - thanks! - how did you search for these?
  • The unix tools from GNU are handy. In a repository checkout, I did this to find files that use citation-number, and also sort by author (guessing that the latter would not occur in the citation):
    $ cd all-styles/csl
    $ grep -l citation-number * | xargs grep -l 'key.*author'
  • OK - that's along the lines of what I thought, useful to know.
  • Thank you very much!!
    I use annual reviews alphabetically now.
    It does everything I want, except that it puts the in-text citations between () while I would prefer [].

    How do I change this? I have the source code, but I have no idea what to change and how to make it a style...

    Thank you for your answers :-)
  • edited May 7, 2010
    change
    <layout prefix="(" suffix=")" delimiter=", ">
    <text variable="citation-number"/>
    </layout>

    to

    <layout prefix="[" suffix="]" delimiter=", ">
    <text variable="citation-number"/>
    </layout>

    see the link in my post above on how to implement simple changes like this.
  • <sort>
    <key variable="author"/>
    <sort>

    thanks for this advice, but where exactly do I have to put this in my self created style?
  • between
    <bibliography> and <layout>
  • still doesn´t work. When I put it between and the zotero reference test pane complains:
    " Error parsing style:
    TypeError: myxml is undefined"

    Here is my style: git://gist.github.com/1437750.git
    Maybe you could have a look at it and give me an advice how to proceed.
    Thank you!
  • edited December 7, 2011
    I figured out the problem.
    You told me to insert
    <sort>
    <key variable="author"/>
    <sort>

    But what you forgot was a / before the last sort:
    <sort>
    <key variable="author"/>
    </sort>.

    So this works now!
    How do edit my style now if I want the bibliography to be ordered not only alphabetically but also issued. And in case the same author wrote two texts in a year, that the first is called as an example Roosevelt 2003a and the second
    Roosevelt 2003b
    Rossevelt 2004...
    ?

    Again thanks!
  • <sort>
    <key variable="author"/>
    <key variable="issued"/>
    </sort>
    Does the sorting.

    adding
    disambiguate-add-year-suffix="true"
    to the line starting with <citation
    gives you the year suffix.
  • edited December 8, 2011
    Thank you very much so far, the style works fantatically well so far.

    I'm sorry I've got so much problems but it's my first time creating a Style. Just two more things I noticed:

    1. my multi citations are like that:
    (Jann 2004, S. 4)(Bogumil u. Grohs u. Kuhlmann 2006, S. 4)
    and not (Jann 2004, S. 4; Bogumil u. Grohs u. Kuhlmann 2006, S. 4) as it should be.
    2. in case the source has got different authors or editors my bibliography is like that:
    Bogumil, Jörg, Stephan Grohs, und Sabine Kuhlmann.
    How do I erase the comma before the und?

    Thanks a lot!
  • the fact that you're working from an automatically created .csl does make this all a bit messier. This is why we currently don't recommend that people use the existing GUI csl editors - they produce ugly output that's unnecessarily hard to fix. But anyway:

    for 1. From the first <group in the <citation> section (l. 19 in the style on github) remove delimiter="" prefix="(" suffix=")". Then change
    <layout> right above it to
    <layout delimiter="; " prefix="(" suffix=")">

    for 2. add delimiter-precedes-last="never" to every line starting with <name
    (note the singular - i.e. don't do this for lines starting with <names

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.