How to add a line break after element?
Is there a way to add a line break as suffix to a element? The style I am working on should look like this:
Lastname, Firstname
2008 Title, etc.
I can't seem to get that to work though...I'd also like to have hanging indent starting on the third line, not on the second. Anyone have an idea?
Lastname, Firstname
2008 Title, etc.
I can't seem to get that to work though...I'd also like to have hanging indent starting on the third line, not on the second. Anyone have an idea?
Infortunately, there seems to be no solution presently (see the discussion there). It is a limitation in CSL and in Zotero's implementation of it. Add you voice to that topic to let the relevant devs know that more people are in need of this feature.
The first part is easy, by the way: just set an option display="block" for the author. But then the problem becomes the indentation of what follows, for which the current indentation options (basically, hanging-indent or not) are not sufficient.
Example code (remove blanks between & ;):
<group prefix="{" suffix="}" delimiter=", & # 1 0 ;">
<text macro="citeKey"/>
...
</group>
Here it insert a line break after every "," - they act as delimiter to separate group items.
http://citationstyles.org/downloads/specification.html#display
We now have an AAA style that's pretty close to correct on the repository.
If I want to insert a link break after each item of a group, I have to write the display option lots of times. It is just not elegant.
I just find it really easy and elegant to use & # 1 0 ; (remove blanks between & ;) to represent a line break in the delimiter or suffix attribute of group to finish the above mentioned task.
I have test it myself: & # 1 0 ; (remove blanks between & ;) works fine with the latest version of Zotero to represent a line break in the csl file.