citation-style-language/csl-editor

Insert line breaks in the Bibliography

mjthoraval opened this issue · 3 comments

Based on the following discussion in the Zotero forums, I have tried to insert some line breaks within the Bibliography:
https://forums.zotero.org/discussion/comment/463196/#Comment_463196

From the version proposed in that discussion, I understand that I need to add a "display - block" in the Text formatting part of the macro "title-and-description":
image

I have tried to reproduce this to understand the process on the Visual CSL Editor: https://editor.citationstyles.org/visualEditor
I have started from a fresh APA 7th edition citation style:
image

I have tried changing the "display" to "block". After doing that, the page hangs. It does not react for a long time.
After several minutes, it finally reacts again, but nothing has changed in the format of the Bibliography.

Could you help me with this problem?

I'd mainly recommend not starting with APA7, which is multiple times larger than any other style and stretches the visual editor

Thank you. So I have tried now with the citation style "American Physical Society".
I can now change the style without hanging.

When I select the title of an article, I get to the "variable" "title".
Using "display" as "block" does not change anything.
image

Is it the right parameter to change to move that part to a new line?

I have found two possible problems:

  • you can't mix second-field-align in the bibliography settings with display set on individual elements (because they're doing the same type of things, so the CSL processor doesn't know what you actually want to do)

https://stackoverflow.com/questions/65456706/trying-to-make-annotated-citation-style-getting-error-generating-citations-and

  • You cannot change the display settings within a group

So I just need to remove the second-field-align in the bibliography settings and ungroup the fields I want to put in a separate line from other things.
Thanks.