schema
schema copied to clipboard
Suppress newline between bibliography entries?
Hi,
More of a request for help than an issue, really, but I can't find anything in the CSL spec that allows you to remove the linebreak between bibliography entries. In many ways it is a terrible and stupid thing to do, but there are circumstances (e.g. grants) where providing an ultra compact bibliography without line breaks is useful (although not really for the reader). I can't see how to specify this in the XML.
Thanks, David
I never considered this option, but you could see what the entry-spacing option does if set to 0?
http://docs.citationstyles.org/en/stable/specification.html#bibliography-specific-options
On Mon, May 21, 2018 at 8:27 AM David Orme [email protected] wrote:
Hi,
More of a request for help than an issue, really, but I can't find anything in the CSL spec that allows you to remove the linebreak between bibliography entries. In many ways it is a terrible and stupid thing to do, but there are circumstances (e.g. grants) where providing an ultra compact bibliography without line breaks is useful (although not really for the reader). I can't see how to specify this in the XML.
Thanks, David
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/citation-style-language/documentation/issues/54, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAEbmOmZs5_EnILNCHrFH8AIPs27zaHks5t0rKzgaJpZM4UG6RL .
I'd wondered the same and tried out a style that sets it: http://www.zotero.org/styles/international-pig-veterinary-society-congress-proceedings
Sadly, nope - still gives line breaks. My reading of that bit of the docs was that it is the spacing between entries: "are separated by a single additional line-height" and that's what happens (at least using Papers 3.4.16 on Mac, so it could be an implementation detail).
I've seen this request often enough in the context of grant applications that we might want to consider line-spacing="0", meaning suppress bibliography line breaks, as an option.
Probably want to make that self-documenting, ie line-spacing="no-linebreak", because my first guess would be that the zero is meaningful as some kind of "no extra spacing" value.
Shouldn't line spacing and line breaking be different options. I can imagine cases where you want no linebreaks but a line spacing of a certain amount.
Oh, you're right, this be the entry-spacing attribute, not line-spacing.
entry-spacing="0" looks good to me.
Thanks for re-visiting this. I think entry-spacing=0 is what I originally tried and it removed the additional vertical spacing between entries. That's what I thought it would do from the docs, to be honest. I think the self-documenting "no-linebreak" would make it clearer to me.
This came up again on the citeproc-el issue tracker. Should we consider this for 1.1? @bwiernik @bdarcus ?
Has there been any update on this? I'm preparing a grant right now and it would be very useful to be able to condense the references without doing it manually!
I'm in the same boat and would like this option.
Sorry to hijack, but it is related to the same use case: is it possible for citation number to not be followed by a tab? There is no tab in the suffix, but it is always inserted between the citation number and the name.