(Nearly) found my perfect style - help needed

Hey all. :)

Zotero ist really one of the most awesome things ever to happen to academia. I have tried to create a style that satisfies the (often) complicated and disingenious needs of German historians, but failed so far.

However, the InfoClio Deutschschweiz style is (nearly!) perfect. It has it all, only that it puts author names in footnotes in "sorting mode". In other words, in the footnotes, the authors are:

Smith, Jason: The book of books, awesome edition etc.

I only need that for my Bibliography. In footnotes it should be:

Jason Smith: The book of books, awesome edition etc.

Now, is there a away to change that? And what editor do i have to use? This one: http://editor.citationstyles.org/searchByName/ ? It has the style, but can i change something and simply save the style and pull it into my Zotero?

Thanks in advance. :)
  • edited February 5, 2013

    What editor do i have to use? This one: http://editor.citationstyles.org/searchByName/ ? It has the style, but can i change something and simply save the style and pull it into my Zotero?
    yes. Just make sure to change the style name under "info" - you can save the style under "Style" on the left, the rest should be self-explanatory.

    Changing this for this particular style, though, won't be easy since the style uses the same code for authors in bibliography and footnote so you'd have to create a whole new "macro" for authors in footnotes and insert it - doable, obviously, but likely not a good way to get started on citation styles.
    You may be better of starting with the Chicago or the MHRA style.
  • Hey, thanks as usual. :) Now working with another style (Universität Heidelberg, Historisches Seminar)and most of my edits work really well. Just have to fiddle with a couple of tiny things.

    Forex: If i have someone namend (and entered into Zotero) John S. Doe, the style turns it into John S Doe. Any Idea where i can disable that?

    And what is the interaction between the global formatting options and the others? If i have, for instance, insterted a comma in the global options and insert another one in a specific area (for instance in the bibliography) just after the name of a book, do i get 2 commas?

    Thanks again for the help :)
  • Forex: If i have someone namend (and entered into Zotero) John S. Doe, the style turns it into John S Doe. Any Idea where i can disable that?
    Look for initialize-with option set to an empty string (i.e. initialized-with enabled but nothing in the text field). For what you want, you need initialize = false and initialize-with=disabled (i.e. the button next to the field should say "Enable")
    And what is the interaction between the global formatting options and the others? If i have, for instance, insterted a comma in the global options and insert another one in a specific area (for instance in the bibliography) just after the name of a book, do i get 2 commas?
    Not sure where you're inserting this comma in global formatting options. Typically, you should not be manually adding commas where a global formatting option applies (that would suggest you are doing something wrong). But more generally, global formatting options (or more general formatting options) are overridden by more specific options (e.g. bibliography formatting options).
  • what aurimas says plus:
    if you do get double punctuation _without_ space between them, Zotero will automatically strip one of them, though you should still avoid this as much as possible.
  • Hmm, okay. Perhaps i am a little overzealos in trying to solve my problems, and i think that edition several places at once can lead to problems.

    Let me try to tell you how i understand the whole setup (and please correct me):

    - In the editor, the only parts that have to interest me are the Inline Citations, the Bibliography, and the Global Formatting Options.

    - The Inline Citations are bascially split in two: one "standard" citation and one "subsequent" citation, which can differ from each other.

    So, now lets say i have the following problem. A citation in a footnote lacks both a space and a comma between the edition and the pub-place (so citations look like Adam Smith: My hat made from bread, 1st editionNew York, NY 1999).

    Where do i add a space and comma?

    - Directly on the "edition (macro)" entry as a suffix?
    - Both on "edition (term)" and "edition (macro)" entries as a suffix?

    And where do i add it? Separately in "inline citations" and "bibliography" or under "global formatting options"?

    Hope this makes sense for you.
  • And an additional question that would also help my deeper understanding of the editor. Let's say i want the edition (so, 1st. edition / 1. Auflage in German) shortened to 1. Auflage. I've already seen that the fields "edition-term" have an option for "term: long" or "term: short" or "term: verb". But on which level do i change this? In other words - if i want to change this for all cases, can i only edition the options in "Global formatting options" and be done with it?
  • I don't really see where you're getting at with the "Global formatting options" - if you click on this in the editor you get one single list of options, mostly about names, et-als, and page ranges.
    In most cases you won't touch these at all, and the only ones that are ever relevant is the first one (class) and the last three (page-range-format, initialize-with-hyphen, demote-non-dropping-particle). Everything else is typically set at a lower level and settings at the lower level override the global options. There is no way to set the edition terms under global formatting, so you must be confusing something.
    Where do i add a space and comma?
    Most typically you'd set this in the inline citation and in the bibliography (separately) as an affix of the macro. (That said, something like that comma is more elegantly handled as a group delimiter, but that may be leading to far. Same idea, though, the group would be in the Bibliography and/or the Inline Citation section.)
    But on which level do i change this? In other words - if i want to change this for all cases, can i only edition the options in "Global formatting options" and be done with it?
    you'd typically edit this in the macro "edition" (which exists for most styles) which you can select towards the bottom left of the screen. That change would apply to all instances.
  • Thanks, that cleared most of my questions up. Though i talk about the Global Formatting Options at the bottom left side under "Advanced" - though i guess i better stay away from those, right?
  • ah OK - those are equivalent to the sections above, they just reflect more closely the structure of the actual XML file. I'd stay from them, yes, though mainly because they're going to confuse you and don't add any functionality.
  • edited February 7, 2013
    Okay, I'll simply start over and be more cautious this time. If i do anything problematic, please say so. And thanks for burning your time for me. :)
  • edited February 7, 2013
    Here are my problems - as you can see hard work and thinking has drastically reduced those. :) Seems like just one does remain now.

    [SOLVED: Missing delimiter]
    - There is now no longer a space between the page number and the S. (meaning page)? Now idea how that happened?]

    [SOLVED: Style creater added some unnecessary periods]
    - What is, however, even stranger is that there is a . after the edition entry. This is also something that is shown differently in the preview pane. ]



    Still open:
    I mentioned that beforehand, but i still get John H Doe instead of John H. Doe. And i think i checked all the entries aurimas mentioned. . Any other ideas?
  • edited February 7, 2013
    And now we're reaching a biggie: [SOLVED] - I'm getting the hang of this!
  • OK, so currently no open questions?
    If you do have questions from here on, the best way to get help is to click on "Code Editor" in the visual editor, copy the entire code of the style and paste it to gist.github.com --> Create public gist (bottom of the screen, no registration required) and provide the link here - that way we can take a look at what you have.
  • Nah, one question still remains - and here is the link to the gist:

    https://gist.github.com/anonymous/4739879

    I was still not able to remove all instances of getting "Richard L Jenkins" instead of "Richard L. Jenkins". No idea what i missed. Also, there is one strange error when i validate the style - something in the information page of the style? No idea.
  • edited February 8, 2013
    try this:
    https://gist.github.com/adam3smith/4740605
  • Thanks again - just wanted to tell you that i also was able to use your input in this thread: http://forums.zotero.org/discussion/16531/sort-bibliography-by-reference-type/ to sort my bibliography by type. Zotero is an awesomely powerful tool. :)
Sign In or Register to comment.