hrsg. von EDITOR instead of EDITOR (Hrsg.)

I am trying to customize a style to comply with the guidelines from the Musikwissenschaftliches Institut (University of Bern/CH).

The style I used as a template was "Sascha Foerster - Geisteswissenschaft (GERMAN). Everything works pretty well now, but in parts of books the editors of the whole book are given as
"..., Editor1, Editor2 und Editor3 (Hrsg.)"

The guidelines require the following format:
"..., hrsg. von Editor1, Editor2 und Editor3"

I can't find the relevant parts in the visual editor anywhere, can someone point me?

If anyone knows of a style that works with the guidelines from the Musikwissenschaftliches Institut (University of Bern/CH), let me know.

Johannes Gebauer
  • Rearrange name and label in the editor block and change the form for the the label, i.e. replace


    <macro name="container-contributors">
    <choose>
    [...]
    <else>
    <choose>
    <if type="chapter paper-conference entry-encyclopedia" match="any">
    <names variable="editor">
    <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="never">
    <name-part name="family" font-variant="small-caps"/>
    </name>
    <et-al term="et-al"/>
    <label form="short" prefix=" (" suffix=")"/>
    </names>
    [...]


    with something like

    <names variable="editor">
    <label form="verb-short" suffix=" "/>
    <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="never">
    <name-part name="family" font-variant="small-caps"/>
    </name>
    <et-al term="et-al"/>
    </names>


    Maybe adjust the term for the editor (short-form). I have not tested the change completely.
  • (you can do these changes by dragging the "label" on the left of the visual editor about the "name" icon and changing it's settings accordingly (remove parentheses, change form to verb-short).
    Obviously faster just using zuphilip's code in the code editor, though, if you're comfortable with that.
  • Is the manuscript guideline for the Musikwissenschaftliches Institut, Uni Bern online available? You can try to search a similar style by example. But I guess that the chances are not so high. However, if you will create a style for this institute, please consider to share it with the community again.
  • Thanks, zuphilip, for the code. I wasn't clear enough, the editors part needs to move behind the title, so it should read:

    in: Title hrsg. v. Editor1, Editor2 and Editor3

    instead of

    in: Editor1, Editor2 and Editor3 (Hrsg.): Title

    (Otherwise the code worked well, but changing the order seems complicated...)

    Yes, the guideline is available online:

    http://www.musik.unibe.ch/unibe/philhist/musik/content/e773/e974/RichtlinienfuerschriftlicheArbeiten.pdf

    I didn't find anything that matches it any better.

    Yes, once it is complete I will share it, in fact I think the Institute will want it, too.

    Thanks for the help!
    Johannes
  • without looking at the original code, that should just be flipping the order of the container-author and the container-title (or similarly named) macro in the bibliography.
  • I worked on the stlye for the Zeitschrift für deutsche Philologie and it could be more similar to your requirements.
  • Thank you, zuphilip, this does seem to be very close!

    adamsmith: no, it is more complicated, as the editor is only put behind the title when there is no author. This means conditionals which I (with my very basic programming skills) found rather complicated to move around in the visual editor.

    But the style zuphilip suggested is much better suited to my needs, so I will go from there!

    Thanks again!
  • edited December 6, 2014
    adamsmith: no, it is more complicated, as the editor is only put behind the title when there is no author.
    I assume that's a typo?

    Siegfried Bresch: Kompositorische Änderungen in der Partitur der 9.
    Symphonie nach den ersten Aufführungen 1824?, in: Probleme der
    symphonischen Tradition im 19. Jahrhundert. Kongressbericht, hrsg.
    von Siegfried Kross, Tutzing 1990, S. 113–144.

    certainly has an author and appears with editor after title. So I take it you mean editors are only put behind title if there _is_ an author. The substitute function would just take care of that. That's best I understand your issue, at least. Beyond that, if you have further questions, a little more detail and full examples would help.
  • No, I cannot see an author of the container here, that appears after the title. (I am only talking about the bit after the "in:") If there was an author, it would have to be before the title of the container, i.e.

    in: Thomas Müller, Probleme der symphonischen Tradition im 19. Jahrhundert.

    I am only talking about the container bit, which appears after the "in:". Naturally the section has an author, and that appears as normal before the title. Siegfried Kross is the editor of the container.

    This is the problem, I cannot simply move the section, because it needs a conditional.

    Maybe I misunderstood what you meant.
  • Unfortunately the Zeitschrift für deutsche Philologie style creates a number of other problems, so it seems the original problem of moving the Editor behind the title of the container would be the easiest solution for me. Can someone advice me how to do this?

    The original style I am using is "Sascha Foerster - Geisteswissenschaft (GERMAN)"
  • post
    a) what you have so far to gist.github.com create a public gist and link to it here

    b) explain exactly what the problem is, including full examples. I now understand that you want to differentiate between items that do and do not have container-authors, but at least after a brief look at the guide I don't see anything about that, so you'll need to tell us what you want to happen exactly. Even if that takes some time to write up, it's going to be much faster than going back-and-forth multiple times.
  • Sorry, I am new to this all, so I don't know anything about gist.…

    The example is exactly what you quoted, I wouldn't know how to quote it any better. However, I cannot follow your note that I made a typo. You wrote:

    "certainly has an author and appears with editor after title."

    Which I cannot follow. There is no author (for the container) in that example, and it most certainly doesn't appear with the editor after the title. There is an author for the chapter, but that is before the chapter's title, right at the beginning of the citation (as it should be).

    Whatever the case, I think I have worked it out.

    I apologize, all this is probably due to my incompetence, I am completely new to all of this, but I need to sort out the problems so I can actually start using zotero properly.
  • gist.github.com is a site to share code. You paste the code, click on "Create Public Gist" at the bottom and provide the link. If you need help with styles, we need to see what you've acually done so far.

    As for the rest - I'm sure I misunderstood what you want, but if you do need help in the future, please provide us with all the relevant details.
    E.g. you started out by just wanting to switch the label. Then you said it also needs to come after the title, then you said, oh, but only if there is no author and then clarified that you didn't mean the author of the chapter but the author of the book. Ideally, we'd have all of that information right from the start, illustrated with examples, so we don't go multiple rounds.
Sign In or Register to comment.