Displaying bibliography in multiple lines

Hello,

I am creating a customized CSL style for zotero. I want the label name and the complete reference in the bibliography section to display in two separate lines. e.g.

Author_1 et al., 1835a

Author_1, Author_2, & Author_3, 1835. My First Book, 24th ed., vol. 4. Kaiserslautern, Germany: Springer

I tried using suffix="
"

However, when I am doing so, the output that I am getting in Zotero csl editor is as per my requirement but in MS word, the label name and the complete reference are getting displayed in a single line.

Please help me in getting the output (i.e. the label name and the complete reference in the bibliography) in two separate lines.

Thank you in advance
  • Look at display, specifically display="block"
    http://citationstyles.org/downloads/specification.html#display
    let us know if you need more detailed explanations (in which case we'd want to see a copy of your code, e.g. on pastebin.com)
  • I have tried display="block". But it was not working. I have pasted my code in pastebin.com. Please find the link below:

    http://pastebin.com/K8jtsYYE

    Please have a look at the code for the bibliography segment. It begins in line number 327.

    Thanks
  • try this version
    http://pastebin.com/uvLnPYyn
    works for me. You need to make sure your style validates, there were several problems.
  • Hi Adam,

    It still doesn't work for me. Did you check the output in MS Word? I am getting the following output for the bibliography e.g.

    REIGEL et al., 1835REIGEL, ADAM, & HESS, 1835. My First Book, 24th ed., vol. 4. Kaiserslautern, Germany: Springer

    I want the output like this:

    REIGEL et al., 1835

    REIGEL, ADAM, & HESS, 1835. My First Book, 24th ed., vol. 4. Kaiserslautern, Germany: Springer

    Thanks
  • try this:
    http://pastebin.com/ZmtedFa1
    I looked at that too quickly, you hadn't actually set any display attribute at all, I just saw the CR suffix you put in there which does work in the test panel, but not in the Word plugin.
  • Thank you so much. Its working now :)
Sign In or Register to comment.