2.1b2: container-title/journalAbbreviation (wrong mapping)

I tried to upgrade a csl 0.8 style to csl 1.0 until I realized a mistake in the mapping from zotero variable to csl var.
Zot 2.1b2 is mapping journalAbbreviation to "journalAbbreviation" whereas such a variable does not exist in csl 1.0: it's still "container-title" which has to be used, (with form="short" actually).

In chrome://zotero/content/xpcom/cite.js , line 50:
instead of
"journalAbbreviation":["journalAbbreviation"]
that should be:
"container-title":["journalAbbreviation"]

Am I wrong?
  • edited November 16, 2010
    I'm pretty sure that's correct. There is no separate variable name for a journal abbreviation in CSL. To render it, you call <text variable="container-title" form="short"/>. The processor will then fetch the "short" content from the journalAbbreviation field internally, falling back to the container-title variable proper if journalAbbreviation has no content.

    (Edit: So if I get the gist of your post correctly, it is correct to call container-title as you suggest, and the cite.js file mapping is also correct.)
Sign In or Register to comment.