Help for bibliography

Hi,

i am using the Hochschule Pforzheim - Fakultät für Wirtschaft und Recht (German) - citation style.
Here the link: https://www.zotero.org/styles/hochschule-pforzheim-fakultat-fur-wirtschaft-und-recht

I need help to change some details in my bibliography:

Instead of a ";" and a "und" as you can see in the first example, i need only a "/", like in the second example.

Example 1:
Hisakata, Rumi; Nishida, Shin’ya und Johnston, Alan (2016): An adaptable metric shapes perceptual space. In: Current Biology, 26, 14, 1911–1915.

Example 2:
Hisakata, Rumi/Nishida, Shin’ya/Johnston, Alan (2016): An adaptable metric shapes perceptual space. In: Current Biology, 26, 14, 1911–1915.

Can somebody tell me, which parts in the code I have to change?

Thank you very much.
Mike
  • Change the author macro (lines 33...) to:

    <macro name="author">
    <names variable="author">
    <name delimiter="/" delimiter-precedes-last="never" name-as-sort-order="all"/>
    <label form="short" text-case="capitalize-first" prefix=" (" suffix=")"/>
    <substitute>
    <names variable="editor"/>
    <text macro="anon"/>
    </substitute>
    </names>
    </macro>


    Make sure to change the self-link, ID and filename to something else, otherwise it gets overwritten.
    Validate your style using this: https://validator.citationstyles.org/
    Further general instructions on editing: https://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step
  • It works!
    Thank you very much :)
  • Hi,
    i have another request at the moment. It would be great, if it could be solved:
    Is it possible to adjust the code of my citation style (based on Hochschule Pforzheim - Fakultät für Wirtschaft und Recht) to work with "cf. P. 22." (in German "ebd. S. 22."), when the authors/sources are consecutively the same and only the pages are changing?

    Thanks a lot.
    Mike
  • So you want ibid?
    Then you'll need to build a conditional.
    See how it's done in this example:
    https://www.zotero.org/styles/sodertorns-hogskola-harvard-ibid?source=1

    It tests if the citation is ibid-with-locator or just ibid, and if not it goes into the "else" printing out author, date, (locator).
Sign In or Register to comment.