Styles -bibliographies years in wrong order

Hi All,

This has inevitably been dealt with elsewhere, I just didn't find it. I've just started using Zotero and have noticed that my bibliographies are not coming out in numerical order (using Chicago Manual of Style or Harvard) if I have one author with several books or papers. Can anyone tell me what I'm doing wrong? Thanks in advance.
«1
  • Which CMOS?
    Can you give an example?
  • edited September 2, 2009
    Hi Adam, oops, sorry badly explained post, I meant to say that the years are not coming out in the right order. I've just been messing around with it there, same result using Harvard style. If I ask it to format a bibliography with 4 Franz Boas references 1905, 1909, 1930, 1940, for example, the bibliography is produced with the 1940 ref. first, then the 1909 etc. It is happening with multiple entries for all authors. Is there something I need to do?
  • There are multiple styles that have CMOS in the name & multiple styles that have 'Harvard' in their name & it would be useful to state explicitly which you are using. Harvard 1, for example, sorts the bibliography by the author and then title. This is intentional

    CMOS author date sorts by author and then date. If it isn't working for you, you should confirm that the contributor lists for all references are identical (e.g. you have "Boas, Frank" for all four & not "Boas, F." for some and "Frank Boas" for others).
  • edited August 19, 2009
    Thanks Noksagt. I would prefer to use one of the Harvard styles if I could. I've been using Harvard Ref format 1 and though it seems to be 'Author-date' the years are all out of sync when one author has several books/papers. Is there a Harvard style that sorts 'author' then 'year' in the right numerical order and is it easy to get this into the quicklist?

    I think I am going to have to modify the Harvard style (whichever I use) as well, but not sure if I am up to it technically. After advice in another post, I had a look at the creating styles documentation and it spun my head, can you tell me what's the 'easiest' way to do minor tweaks in a style, for example, can I do it in notepad or do I need other software, do minor style tweaks need the whole validation process? Thanks
  • edited August 19, 2009
    for minor tweaks see an example here:
    http://forums.zotero.org/discussion/5104/modifying-word-plugin-using-journal-abbreviation-instead-of-publication-name/#Item_2

    notepad is all you need and you can do the validation online - it's also not strictly necessary.

    In Harvard 1, for example, in the bibliography section, there is
    <sort>
    <key macro="author"/>
    <key variable="title"/>
    </sort>

    which you would change to

    <sort>
    <key macro="author"/>
    <key variable="issued"/>
    <key variable="title"/>
    </sort>

    I think that should be the same for CMOS.

    SImilarly, to get rid of the "p." in front of the pages
    find this line:
    <label variable="locator" suffix="." form="short"/>
    and simply delete it.

    Please make sure to precisely follow the instructions in the link above on changing Name and ID of styles before installing them, as they'll otherwise be overwritten daily by Zotero automatic updates.
  • Is there a Harvard style that sorts 'author' then 'year' in the right numerical order
    All harvard*.csl files sort by author and then by title. There are other author-date styles that sort my author and then date of issue. Why do you think you need to use the Harvard style? Do you have a link to the guidelines you are trying to follow.
    After advice in another post, I had a look at the creating styles documentation and it spun my head, can you tell me what's the 'easiest' way to do minor tweaks in a style, for example, can I do it in notepad or do I need other software, do minor style tweaks need the whole validation process?
    Notepad is fine. You don't absolutely have to perform validation for quick tweaks if you know what you are doing. However, it is easy to run a validator & you really should do it before sharing the style or before asking why the style doesn't work. In the bibliography branch, there will be a sort sub-branch. change 'title' to 'issued' in that branch.
  • Thanks a lot, you guys are fast, much appreciated again!
  • Harvard 1 should actually sort bibliography entries by author-date, and the CSL works perfectly for me. Eofios, can you confirm that you actually have the author's full name (first and last) entered identically for each of those entries?
  • edited August 19, 2009
    Harvard 1 should actually sort bibliography entries by author-date
    Huh? The CSL reads: <sort>
    <key macro="author"/>
    <key variable="title"/>
    </sort>
    This generates:
    Boas, F., 1940. 1,
    Boas, F., 1909. 2,
    Boas, F., 1905. 3,
    Boas, F., 1930. 4,
    (where 1,2,3, and 4 are dummy titles).
  • edited August 19, 2009
    Sean - I don't think so.
    Harvard 1 sorts by author-title
    and if you look at the csl code I cite above that's what it should do.

    Edit: noksagt - we should clearly not be posting at the same time...
  • Hi Noksagt,

    Here's basically what I'm trying to do. This is the way Harvard referencing is used in archaeological circles in Europe at least. Notice in the Book entry below there is no comma after the authors initial. Also the book title is followed by a period not a comma. Additionally the prefix pp. is not used in referencing journal paper pages. I am attempting to figure this out using the 'Chrome' link. If this style was already existing somewhere it would save me a lot of hassle! Thanks much.

    Book:

    CONNERTON, P. 1989. How societies remember. Cambridge: Cambridge University Press.

    Chapter in a book:

    BREUNIG, P. & K. NEUMANN. 2002. From hunters and gatherers to food producers: new archaeological and archaeobotanical evidence from the West African Sahel, in F. Hassan (ed.) Drought, food and culture: ecological change and food security in Africa's later prehistory: 123–55. New York: Kluwer Academic/Plenum Publishers.

    Journal article:

    SAUNDERS, N.J. 2002. Excavating memories: archaeology and the Great War, 1914–2001. Antiquity 76: 101–8.
  • edited September 2, 2009
    Hey, I've been experimenting with the 160 available styles all morning (GMT) to see can I find a match for my needs, but no luck, none is exactly correct. I find it really odd that the Harvard ref format 1 (author-date) doesn't in fact do 'author' then 'date' sorting. It actually instead does 'author' and then 'title' as noksagt pointed out above.

    I have to say that I'm a bit frustrated, the difficulty in adapting styles is proving to be a banana skin for me.
  • @Eofios: You may have overlooked this post made by adamsmith, to this thread, yesterday.
  • Thanks fbennett, that was a helpful post from Adam and I did try to act on it but I'm struggling with CSL / chrome pane, that's the issue. If I could do the stuff Adam suggested my immediate problems would be resolved
  • what exactly is the problem? - the instructions I give should not require any understanding of .csl whatsoever. All you need is to be able to use notepad (or another text editor), find, copy, and paste. That hardly seems undoable?
  • edited September 2, 2009
    Hi Adam, Noksagt or whoever is available,

    Apologies I'm probably a major pain at this stage. I'll tell you where I've got to if that helps. I looked into all the styles and can see that the style I need has elements of 4 styles: Harvard format 1 and 2, Journal of the Royal Anthropological Institute and the Journal of Archaeological Science.

    I could work with any of these and make 5 0r 6 changes to make my ideal style but Harvard 1 or 2 is probably the closest. My stumbling block is basic what-to-do stuff. Perhaps I have missed the relevant section in the documentation, but I need basic information that I am not finding at the moment.

    O.k, so I have used the Chrome test pane and can select a ref. in there to view. I have then cut and paste all the CSL stuff and put it into notepad. I can make at least one change to the bits it there (the one you told me for changing it to make it sort by 'author date') and can also handle periods and commas. I am able to change the 'title' and 'id' as you suggested in your post. Then I save this as .csl as you said in the forum post and then drop it into firefox somehow. Can you tell me how exactly this dropping bit works?

    If this is the right process, and if I understand you correctly then I have to keep fiddling with chrome pane until I figure which bits of code do what, at which point I am in a position to tailor the style. Is that the idea?

    Also can I grab bits of CSL from the other styles and insert them in the new Harvard author-date style that I want to create, would this work? One thing I haven't been able to figure is how to put brackets around 'ed.' and 'eds', i.e., '(ed.)' and '(eds)', when I look at styles where brackets are done the way I want, there is no actual bracket symbol that I can see in the CSL, am I missing something? Another issue for me is negating the 'pp.' from in front of page numbers. Also wanted to change 'title' to 'issued' in one of the bibiography sub-branchs as Noksagt suggested, but found about 6 'titles' there, is it the first one?

    Basic/dumb questions I know, but I need basic answers where I'm at. If I can get these last couple of things and figure how to drop it into firefox or adjust the extension to allow me open it in Zotero 2.0 styles, then I think I'm almost there!

    Thanks as always. I really appreciate your help.

    P.S. If I can crack this I know a lot of other archaeologists in Europe that would be queuing up to use this product as in every other way its simplicity of use and functionality leaves every other referencing software I know for dead (especially if I can send them or upload the adjusted style after validation). As I say this is my only stumbling block, I find everything else really smooth.
  • out until Wednesday 27th - if no one else has taken this until then I will.
  • Still stuck...
  • Go here
    http://gist.github.com/178049
    On the top right there is a small link "Raw"
    Download the file from there.
    Drag the file into your firefox. It will automatically ask you if you want to install it.

    Report any problems here. Any online documentation on this style would be much appreciated - there are lots of questions concerning styles and without documentation it's almost impossible to get them right. I find it hard to believe that this is a widely used style that wouldn't have any documentation.

    For your problem with extensions see here:
    http://www.fileinfo.net/help/windows-show-extensions.html
    if Windows warns you, override that warning.
    If you make small edits, make them while still in the test pane, so you can see what happens. Only at the end export into notepad.
    The brackets around (ed.) are indeed in the csl - look how I added them to the
    <macro name="editor">

    As for .pp and sorting - you can just check what I have done, but both noksagt and me provided detailed instructions on this above - while there are lots of mentions of "title", there is only two places where you have something that looks like
    <sort>
    <key macro="author"/>
    <key variable="title"/>
    </sort>
    - one of them in the citation section, one of them in the bibliography section.
  • edited September 2, 2009
    Hi Adam,

    Thanks so much for that, it installed really well!

    Yes you are perfectly correct, there are several journals with online style information similar to the one I have been requesting and used by many people - I've attached a few below for you to look at. The problem with them is, though the basic style is widespread, they all have very slight variations. What they do all have in common is that the are based on Harvard Ref (similar to format 1 or 2), but sort on the basis of 'Author-Date'. There are many other archaeological journals with similar styles, so the ones below are just a representative sample, I can add other links if you would like me to or if it was helpful? The style that I am tailoring is the one now used by many of the most recent archaeological books/PhD's in Britain and Ireland particularly and very similar but not precisely the same as those journal styles.

    I've given the style you attached a trial run and it's almost perfect, some of the smaller tweaks I can do myself I think: periods in the wrong place [e.g. after (ed) and (eds), instead it should be a comma]; no period after the 'ed' i.e. (ed.); a comma instead of a period after the title of a book; an extra space creeping in before the place of publishing etc. As I say I think I can figure most of these out, and I am very conscious of how much time you have given me already! However, if you want to present the style for other archaeologists, I am very happy and willing to go through it thoroughly and give you more exact information and examples on these few items if it would help to clarify any issues before you upload it to the styles section (only if that's something you want)?

    There is one thing that I do want to check out with you - removing the capitalization of authors names, if you could you let me know the bit I change or what I need to insert for that it would be very much appreciated.

    Many thanks once again.

    Kind regards,


    Proceedings of the prehistoric Society - http://www.ucl.ac.uk/prehistoric/pps/ppsnote.html

    Antiquity -
    http://antiquity.ac.uk.libgate.library.nuigalway.ie/contribute/contribute.html

    European Journal of Archaeology -
    http://www.sagepub.com/journalsProdManSub.nav?prodId=Journal200966

    Oxford Journal of Archaeology -
    http://www.wiley.com/bw/submit.asp?ref=0262-5253&site=1

    Cambridge Archaeological Journal -
    http://assets.cambridge.org/CAJ/CAJ_ifc.pdf
  • see, this is why I want a style guide - above you have all authors capitalized, so I put it in ;-) :
    find
    text-case="uppercase"
    (this is part of a longer line) and delete it (and just that) to take out the capitalization.

    If you could go through the five styles and point out each of the differences to its most similar style - I'll work on them over the next couple of weeks.
  • Hi Robert - I can't get Author capitalization to change either.
    None of the various combinations of
    text-transform="sentence"
    or
    text-case="capitalize-first"

    in the obvious places seems to work for me. Any suggestions from the experts?
  • edited August 30, 2009
    komrade - what effect exactly do you want to do?

    Using
    text-case="capitalize-all"
    will capitalize the first letter of each author (if that's not already the case. Might be an issue with the much discussed von, van, de ibn etc. so it's not used most of the time, but if someone has a lot of authors in uppercase or lowercase in her/his database it might be worth it.

    text-case="uppercase"
    Writes all authors in capital letters.
  • I'm trying to make authors in caps, e.g. HENIGE DAVID P. appear in the biblio as
    Henige D.P. or Henige DP

    I've got it partially working with text-case="capitalize-all"
    But I get:
    Henige D.p. Discouraging Verification: Citation Practices across the Disciplines. Journal of Scholarly Publishing. 2006 ;37(2):33-52.

    Unless there's a space between the initials (initialize-with=". "), - in which case it works as expected.

    Oh, and what's the difference between text-case and text-transform?
  • edited August 31, 2009
    Hi Adam,

    That worked very well. Apologies for the example with capitals that I gave above, silly mistake, but fixed now. Thanks for the offer to go through the list of journal styles that I posted. My main concern at this moment is to get this style fully functioning, the other journals styles are not so pressing, perhaps I could go through them at a later date if they are ones that you wish to upload to the styles area? For the moment I will see can I fix the other minor issues by myself.

    Thanks
  • Hi Adam,

    Three problems fixed, but I still have six left. The ones I fixed were: the capitalization issue; the period that appears after (ed) and (eds), this I removed; I also changed the period after a book title to a period. So far so good. These are my remaining problems, any advice welcome!

    1). I tried Nosgats advice re removing the 'P.' and 'PP.' from within in-text citations [taking out <label variable="locator" suffix="." form="short"/>] but didn't work unfortunately.

    2). I have noticed that when a work has multiple authors the first author is given correctly as last name first, then initial etc, but the other authors are given initial first followed by their last name. These latter all need to be the same as the first author (i.e. last name first), but not sure how to do this.

    3). When et al. appears anywhere in the bibliography it should be italicized.

    4). In works from edited volumes there is a rogue extra space appearing before the city of publication. I don't know why I'm not finding it.

    5). When (ed) appears in an edited volume it should have a period after the 'ed' inside the bracket, so it looks like this (ed.). (eds is fine and needs no change).

    6). Finally, ideally, in a bibliographic reference to a book section, the page numbers should follow the book title after a comma as opposed to appearing at the end of the reference. Here is an example below:

    Renfrew, C. 1993. Trade beyond the material. In C. Scarre & F. Healy (eds) Trade and Exchange in Prehistoric Europe, 5–16. Oxford: Oxbow Books.
  • edited August 31, 2009
    Robert:

    1) Works for me? If you just set label variable = "" then the p goes away

    2) In the author macro, make name-as-sort-order="all"

    3) Not sure this is possible with current CSL. Do you need et al. in the in-text in italics too? That's not currently possible, so a global replace in word-processor should fix them all

    4) Just under the else-if type="thesis" bit, you've got a group prefix=" " - take out that space should fix it.

    5) In the editor macro, if you change the suffix from ")." to ".)." it works, but I'm not sure if this is the proper solution - cos it might stuff up eds . The proper way might have something to do with defining terms

    6) Not sure there's a super-easy fix for this (I'm still learning myself) - but I'd say it's possible. If you move the text macro="pages" you might stuff up pages for other things. Give it a go and see...
  • Wow great, thanks for the advice, will try.
  • Hey thanks Komrade, problems 1 2 and 4 now completely sorted, much appreciated! Nearly there now, still working on the last three issues, which are proving difficult to change without messing up other elements. Here they are again, if anyone has any ideas please post here?


    3). When et al. appears anywhere in the bibliography (and with in-text citation) it should be italicized.

    5). When (ed) appears in an edited volume it should have a period after the 'ed' inside the bracket, so it looks like this '(ed.)'. ('eds' is fine and needs no change).

    6). Finally, ideally, in a bibliographic reference to a book section, the page numbers should follow the book title after a comma as opposed to appearing at the end of the reference. Here is an example below:

    Renfrew, C. 1993. Trade beyond the material. In C. Scarre & F. Healy (eds) Trade and Exchange in Prehistoric Europe, 5–16. Oxford: Oxbow Books.
  • 3 isn't currently possible. I'll have a look at 5 and 6 later - 6 is possible, but a bit more work, so that might take a while.
Sign In or Register to comment.