Can't insert a line break in CSL style
Hi all,
I want to insert a blank line between each reference in the bibliography.
I have set the display to block but it doesn't have any effect. Ideas? Here is my code:
https://hastebin.com/ihinedafok.xml
thanks!
Erik
I want to insert a blank line between each reference in the bibliography.
I have set the display to block but it doesn't have any effect. Ideas? Here is my code:
https://hastebin.com/ihinedafok.xml
thanks!
Erik
https://hastebin.com/okeletumor.xml
Erik
Here's the code: https://hastebin.com/gumifuxezo.xml
Thanks!
https://editor.citationstyles.org/visualEditor/ ?
And if so, how does it work? Any hint is appreciated, thanks!
@MarcoLerim it's unclear what the exact question is -- if you just want an empty line between bibliography entries, click on "bibliography" on the left and then set entry-spacing to 2 on the bottom right. Inserting linebreaks within a bibliography entry is possible but can be quite messy in the visual editor because you need to set the group (on which then to apply display="block") right.
- insert empty line between bibliography entries: I tried your hint, but haven't managed to get it work. But I will continue to play around with it.
-insert linebreaks within bibliography: When I apply on a group display="block" I get this error code: "Citeproc exception: citeproc-js error: Level mismatch error: wanted bib_first but found bib_other" ( I tried with different groups and always et this error.)
https://hastebin.com/zosojupuve.xml
I would like to have:
1.) a line break before URLs
2.) an empty line between every bibliographic entry
I would be very thankful for any help or hints!
Maybe we're talking past each other -- entry spacing inserts space between paragraphs, not, technically, an additional line break, but the spacing definitely works in RTF/Word. Is there a particular reason you need an actual linebreak (which would be poor formatting -- spacing between paragraphs is much better handled as spacing than with dozen of hard returns)
Yes, now I am seeing the correct spacing with your code. This is what I was doing when I didn't see spaces: select three refs > Generate Bib from items... > copy to clipboard > paste to text files. Saving them as an RTF works great!
It would have been easier from the start if I had aimed for spacing between paragraphs instead of hard returns. This is what I originally envisioned and is how I would have done it manually.... but not the right approach here.
It would be handy if Zotero's editor could save changes to styles instead of having to save as a new file and then import the edited files. Somehow integrating the Visual CSL editor into Zotero's style editor would make this kind of tinkering so much easier.
Thank you! Your help and patience are much appreciated
• to get a blank space between bib entries, you want to add space between paragraphs, not add a carriage return
• in the visual CSL editor, go to the right panel and locate Advanced > Global Formatting Options > Bibliography
• in the bottom panel, the third-to-last option is "entry-spacing". Change this to 1. Do not use the option "display-block".
• in Word, this is equivalent to Format > Paragraph > Spacing After = 12 pt. This gives you the appearance of a blank line, which is actually extra space added after the paragraph that has the height of one line.
What would make things much easier is being able to make small changes to the CSL and saving them. As is, every small change requires you to save as and then import a new style. Perhaps Zotero could automatically save a user's version of an "official CSL" (from the github repository) alongside the unedited version, so you can always revert back if you mess it up.