Changing the style of Vol. and Nr.

Hello,

I am using a citation style which shows Vol and Nr. like this:

11 (3) for Vol. 11 Nr. 3. I am requested to use a style which looks like this:
Jg. 11, Vol. 3
Is it possible to change this somewhere in the Test Pane ?

Thank you for your help,

Nils
  • why don't you give the visual editor a try - it's still under development, but should work nicely for this:
    http://steveridout.com/csl/visualEditor/
    You can click on the volume in the citation, which will get you to the right spot in the style. There you can play around with prefix/suffix which should get you there.
  • Thanks for your help.

    I tried it with a random style and the changes worked.

    When i tried to load my style itno the visual editor it got the error message:

    Error parsing CSL Code

    I guess it has something to do with the fact that the style I use has already been modified by me before? Any suggestion how I could handle this problem?

    Thanks!
  • almost certainly your style either isn't valid or not saved in the right format (.txt).
    for validation:
    https://github.com/citation-style-language/styles/wiki/Validation
  • I am pretty sure that my style is in the CSL format and that its not a txt file.

    I tried validating and got following error:

    stdin:277:4: error: text not allowed
    required:
    after
    allowed:
    element http://purl.org/net/xbiblio/csl^names
    element http://purl.org/net/xbiblio/csl^date
    element http://purl.org/net/xbiblio/csl^label
    element http://purl.org/net/xbiblio/csl^text
    element http://purl.org/net/xbiblio/csl^number
    element http://purl.org/net/xbiblio/csl^choose
    element http://purl.org/net/xbiblio/csl^group
    error: invalid input

    What could this mean? :/
  • post your style to gist.github.com or pastebin.com and link to it here.
  • There you go:

    https://gist.github.com/3078208
  • l. 276:
    </group>>

    needs the second > removed should be </group>
  • You have one greater-than character (>) too many in your style: http://validator.nu/?doc=https%3A%2F%2Fraw.github.com%2Fgist%2F3078208%2F34912b66e18af24d17614d0e717ffb7d9bc85f68%2Fgistfile1.txt&schema=https%3A%2F%2Fgithub.com%2Fcitation-style-language%2Fschema%2Fraw%2Fv1.0%2Fcsl.rnc&parser=xml&laxtype=yes&showsource=yes#l277c4
  • perfect, thank you! :)
  • I have the same problem. Once I want to edit my style in Mendely the below message is shown up:

    Error parcing csl code

    This is the gist code:

    gist:c1d1a65c3b63fae9c79b

    Please advise me what I should do?

    Thanks
  • assuming you're talking about https://gist.github.com/anonymous/c1d1a65c3b63fae9c79b (please always provide the whole URL), that style should work (and does work in Zotero).
    You'll have to talk to Mendeley. My guess would be you're saving it incorrectly, I'd be surprised if Mendeley had any problems with the style per se.
Sign In or Register to comment.