inserting line breaks in a bibliography
Hello,
I'm using a customized style to generate a bibliography with numbered abstracts as below.
Abstract 1.
Salazar AM, Warden DL, Schwab K, et al.
Cognitive Rehabilitation for Traumatic Brain Injury.
JAMA: The Journal of the American Medical Association. 2000;283(23):3075-3081.
Context Traumatic brain injury (TBI) is a principal cause of death and disability in young adults. Rehabilitation for TBI has not received the same level of scientific scrutiny for efficacy and cost-efficiency that is expected in other medical fields.
I recently updated the custom style to CSL 1.0 when I upgraded to Zotero 2.1. Now the output looks like this (for a different abstract):
Abstract 1. Cattelani R, Zettin M, Zoccolotti P. Rehabilitation treatments for adults with behavioral and psychosocial disorders following acquired brain injury: a systematic review. Neuropsychol Rev. 2010;20(1):52-85. This review was aimed at systematically investigating the treatment efficacy and clinical effectiveness of neurobehavioral rehabilitation programs for adults with...
Any suggestions on how to modify the CSL coding to achieve the desired spacing as shown above?
Here is the current coding, generated during the conversion using the tool at http://www.shell-tools.net/index.php?op=xslt
<layout>
<text value="Abstract" suffix=" "/>
<text variable="citation-number" suffix=". "/>
<text macro="author" suffix=". "/>
<text variable="title" suffix=". "/>
<text variable="container-title" font-style="italic" suffix="." form="short"/>
<text macro="year-date" suffix=";"/>
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
<text variable="page" prefix=":" suffix=". "/>
<text variable="abstract"/>
</layout>
I played with the coding a little, by inserting a line break as below, but that didn't work.
<layout>
<text value="Abstract" suffix=" " />
<text variable="citation-number" suffix=".
" />
Many thanks for the cool new enhancements in Zotero 2.1.
Sorry for the very long post.
I'm using a customized style to generate a bibliography with numbered abstracts as below.
Abstract 1.
Salazar AM, Warden DL, Schwab K, et al.
Cognitive Rehabilitation for Traumatic Brain Injury.
JAMA: The Journal of the American Medical Association. 2000;283(23):3075-3081.
Context Traumatic brain injury (TBI) is a principal cause of death and disability in young adults. Rehabilitation for TBI has not received the same level of scientific scrutiny for efficacy and cost-efficiency that is expected in other medical fields.
I recently updated the custom style to CSL 1.0 when I upgraded to Zotero 2.1. Now the output looks like this (for a different abstract):
Abstract 1. Cattelani R, Zettin M, Zoccolotti P. Rehabilitation treatments for adults with behavioral and psychosocial disorders following acquired brain injury: a systematic review. Neuropsychol Rev. 2010;20(1):52-85. This review was aimed at systematically investigating the treatment efficacy and clinical effectiveness of neurobehavioral rehabilitation programs for adults with...
Any suggestions on how to modify the CSL coding to achieve the desired spacing as shown above?
Here is the current coding, generated during the conversion using the tool at http://www.shell-tools.net/index.php?op=xslt
<layout>
<text value="Abstract" suffix=" "/>
<text variable="citation-number" suffix=". "/>
<text macro="author" suffix=". "/>
<text variable="title" suffix=". "/>
<text variable="container-title" font-style="italic" suffix="." form="short"/>
<text macro="year-date" suffix=";"/>
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
<text variable="page" prefix=":" suffix=". "/>
<text variable="abstract"/>
</layout>
I played with the coding a little, by inserting a line break as below, but that didn't work.
<layout>
<text value="Abstract" suffix=" " />
<text variable="citation-number" suffix=".
" />
Many thanks for the cool new enhancements in Zotero 2.1.
Sorry for the very long post.
<layout>
<group display="block">
<text value="Abstract" suffix=" "/>
<text variable="citation-number" suffix=". "/>
</group>
<group display="left-margin">
<text macro="author" suffix=". "/>
</group>
<group display="left-margin">
<text variable="title" suffix=". "/>
</group>
<group display="left-margin">
<text variable="container-title" font-style="italic" suffix=". " form="short"/>
<text macro="year-date" suffix=";"/>
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
<text variable="page" prefix=":" suffix=". "/>
</group>
<group display="left-margin">
<text variable="abstract"/>
</group>
</layout>
But my output still looks like this:
Abstract 1. Cattelani R, Zettin M, Zoccolotti P. Rehabilitation treatments for adults with behavioral and psychosocial disorders following acquired brain injury: a systematic review. Neuropsychol Rev. 2010;20(1):52-85. This review was aimed at systematically investigating the treatment efficacy and clinical effectiveness of neurobehavioral rehabilitation programs for adults with acquired brain injury and making evidence-based recommendations for the adoption of these rehabilitation trainings.
Any thoughts or suggestions on what I'm doing wrong and where I might look to fix the issue?
Thanks in advance for any insight.
1. I modify the code in Notepad.
2. Validate using Validator.nu
3. Install the updated style
4. Change to a completely different style
5. Refresh to the new style that I modified
I'm using the Word Office plug-in (WinWord 3.1). I also just tried to use the new style using the drag-and-drop, but had the same result.
Using Windows 7, Office 2007, Firefox 3.6.16, Zotero 2.1.5.
I'm glad to know my logic is on the right track at least. I fiddled with it for at least an hour and was getting so frustrated that it wouldn't work.
Thanks for responding to my post.
<layout>
The block element gives you a definite "hard return" for each block. If you want the text indented under the heading, you can set hanging-indent="true" on the bibliography element.<group display="block">
<text value="Abstract" suffix=" "/>
<text variable="citation-number" suffix=". "/>
</group>
<group display="block">
<text macro="author" suffix=". "/>
</group>
<group display="block">
<text variable="title" suffix=". "/>
</group>
<group display="block">
<text variable="container-title"
font-style="italic"
suffix=". "
form="short"/>
<text macro="year-date" suffix=";"/>
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
<text variable="page" prefix=":" suffix=". "/>
</group>
<group display="block">
<text variable="abstract"/>
</group>
</layout>
(Edit: Tested with Open Office under Linux. If you don't get line breaks on each block with Word, it may be a plugin issue; both systems receive the same code from the processor.)
I went ahead and used the coding you provided (I think I tried a similar variant earlier this afternoon).
And, no luck. Here was the output:
Abstract 2. Cernich AN, Kurtz SM, Mordecai KL, Ryan PB. Cognitive rehabilitation in traumatic brain injury. Curr Treat Options Neurol. 2010;12(5):412-423. OPINION STATEMENT: Traumatic brain injury (TBI) is a major public health problem with neurobehavioral sequelae contributing to the long-term ...
Would it make a difference at all if I upgraded to Firefox 4.0? I suspect not, else you already would have said.
Really appreciate all of the advice and suggestions!
Thanks