disparate style

Hello,

I have a problem regarding the style. Some month ago I was creating my own style type - it always worked fine. Since yesterday it does not work anymore, although I did not change anything.
My problem: The authors in the reference list (I work with word 2003) should be in small capitals, but they aren't anymore.
But within the csl editor the style is shown correctly...

Don't know how to fix the problem.
tina
  • If you can paste the style code to http://gist.github.com, save it as a Public Gist, and post the link back here, someone can take a look.
  • You can copy your style to a public gist (no registration needed) and share the link here, then I can have a look at it.
  • Many thanks for this tip, here it is:
    https://gist.github.com/anonymous/0ab1afddf2d463affa2b

    Thanks in advance for your help!
  • The style isn't valid CSL, which might be a problem. Try swapping lines 37 and 38, and lines 44 and 45.

    After that edit, you can validate your style here:

    http://validator.citationstyles.org/
  • Oh, yes it's not csl valid, but worked fine all the time.
    Changing the proposed lines (37/38 + 44/45) does not fix the problem. The csl-validator comes to more problems:

    http://validator.citationstyles.org/?url=https%3A%2F%2Fgist.github.com%2Fanonymous%2F9be34865ac5b863e96b1&version=1.0.1

    Any idea, why the preview in zotero shows the correct style, while it doesn't work within Word?
  • edited October 20, 2014
    You have to take the raw file, i.e. the style validates now.

    (New version: https://gist.githubusercontent.com/anonymous/9be34865ac5b863e96b1 )
  • Thanks zuphilip, now the style validates.
    I also found the problem: I cited a paper with 14 authors (doi: 10.1016/j.jhydrol.2010.09.001). This leads to the problem with missing small-caps in the reference list. When I skip just this 1 reference, the small-caps appear again for all the other references.

    Does someone find the reason for this in the style-code? I don't...
    https://gist.github.com/anonymous/9be34865ac5b863e96b1
  • What happens with a reference that has four authors? (Sorry to abuse your time, but it's the first thing I would have to check when digging into this - it looks like you may have turned up a bug in the processor.)
  • Four up to 13 authors is no problem, with 14 (and more) authors the bug appears...
  • Weird. Thanks for checking, I'll take a look at it this week.
  • Is the fourteen author reference the first reference in the bibliography? If so, it's probably just https://www.zotero.org/support/kb/italics_in_word_bibliographies but small caps instead of italics
  • I was about to say the same thing. The style and that item work fine in LibreOffice.
  • Thanks for your help! Yes, the small caps fail when the 14 author reference is the first in the bibliography. When it is the second or behind in the list, the style works fine!

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.