maybeBUG - Biblatex export manipuliert "number"/"Ausgabe"

Es gibt manchmal merkwürdige Bezeichnungen für die Ausgaben von "Journals". Beispiel: <https://www.aid.de/inhalt/archiv-4891.html>;

Weil hier die Ausgabe scheinbar über den Monatswechsel läuft, heißt sie z.B. "07-08".

Das trage ich auch so problemlos in Zotero ein.

Beim Export nach "Biblatex" wird daraus aber ein
"number = {7}"

Problem ist also
- zweite Zahl geht verloren
- erste Zahl wird beschnitten
  • (seems like it's a bug/unintended behavior of parseInt. Relevant code here: https://github.com/zotero/translators/blob/master/BibLaTeX.js#L507 )
  • What would be the appropriated procedural path now?
    Should I open an Issue on GitHub?
  • First would be to find the exact specifications on the number field from the BibLaTeX specifications.
  • Wouldn't that be fixed by checking for

    if (!isNaN(jnumber) && (('' + jnumber) == ('' + item.issue))) {

    ?
  • Generally yes, but I don't know why parseInt is used there at all (I assume for a reason), and I'm not sure what's legal for number in BibLaTeX

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.