second-field-align for author-year style
Hi there,
I am using a author-year style (e.g. apa.csl) for my bibliography, however, I hope to number all the cited literature in the bibliography section. I try to change the following section of apa.csl:
<bibliography>
<option name="hanging-indent" value="true"/>
<option name="et-al-min" value="8"/>
<option name="et-al-use-first" value="7"/>
<option name="entry-spacing" value="0"/>
<option name="line-spacing" value="2"/>
<sort>
<key macro="author"/>
<key macro="issued-year" sort="ascending"/>
</sort>
<layout>
to
<bibliography>
<option name="second-field-align" value="flush"/>
<option name="et-al-min" value="8"/>
<option name="et-al-use-first" value="7"/>
<option name="entry-spacing" value="0"/>
<option name="line-spacing" value="2"/>
<sort>
<key macro="author"/>
<key macro="issued-year" sort="ascending"/>
</sort>
<layout>
<text variable="citation-number" prefix="[" suffix="]"/>
However, the align seems to begin after authors' group. I hope the align begin after the citation number. How to deal with it.
Or, another question, can the amount of indent be set by user?
Any suggestions or comments will be really appreciated. Thanks in advance.
Regards,
Jinsong
I am using a author-year style (e.g. apa.csl) for my bibliography, however, I hope to number all the cited literature in the bibliography section. I try to change the following section of apa.csl:
<bibliography>
<option name="hanging-indent" value="true"/>
<option name="et-al-min" value="8"/>
<option name="et-al-use-first" value="7"/>
<option name="entry-spacing" value="0"/>
<option name="line-spacing" value="2"/>
<sort>
<key macro="author"/>
<key macro="issued-year" sort="ascending"/>
</sort>
<layout>
to
<bibliography>
<option name="second-field-align" value="flush"/>
<option name="et-al-min" value="8"/>
<option name="et-al-use-first" value="7"/>
<option name="entry-spacing" value="0"/>
<option name="line-spacing" value="2"/>
<sort>
<key macro="author"/>
<key macro="issued-year" sort="ascending"/>
</sort>
<layout>
<text variable="citation-number" prefix="[" suffix="]"/>
However, the align seems to begin after authors' group. I hope the align begin after the citation number. How to deal with it.
Or, another question, can the amount of indent be set by user?
Any suggestions or comments will be really appreciated. Thanks in advance.
Regards,
Jinsong
Also, where are you looking at this? For all things formatting, the test panel ist pretty much useless - you need to install the style and actually create a bibliography.
edit: You can set the indent in word/ooo by adjusting the "bibliography" style
Well, adjusting the "bibliography" style in WORD is an alternative way. Thanks!
Regards,
Jinsong
<sort>
<key variable="citation-number" />
</sort>
<layout>
<text variable="citation-number" prefix="[" suffix="]"/>
leaving everything else the same? Does it work correctly (as in [1] --> author1) then?
<bibliography>
<option name="second-field-align" value="flush"/>
<option name="entry-spacing" value="0"/>
<option name="line-spacing" value="1"/>
<sort>
<!--
<key macro="author"/>
<key macro="issued-year" sort="ascending"/>
-->
<key variable="citation-number"/>
</sort>
<layout>
<text variable="citation-number" prefix="[" suffix="]"/>
https://gist.github.com/984570