# New line

**URL:** <https://discourse.citationstyles.org/t/new-line/304>\
**Category:** CSL Development\
**Created:** [August 7, 2007, 3:50pm UTC](https://discourse.citationstyles.org/t/new-line/304 "2007-08-07T15:50:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_P\_McCaskey](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@John\_P\_McCaskey](https://discourse.citationstyles.org/u/John_P_McCaskey)\
**Post date:** [August 7, 2007, 3:50pm UTC](https://discourse.citationstyles.org/t/new-line/304/1 "2007-08-07T15:50:59Z")

</div>

In CSL, how (if at all) can one place a new line/carriage return before a  
field in a bibliographic entry. The common place for this would be before an  
annotation in an annotated bibliography.

Is it/Should it be a component of a layout

or a format option

formatting=

attribute prefix

attribute font-style

attribute start-new-paragraph

?

John

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [August 7, 2007, 6:33pm UTC](https://discourse.citationstyles.org/t/new-line/304/2 "2007-08-07T18:33:43Z")

</div>

John P. McCaskey wrote:

> In CSL, how (if at all) can one place a new line/carriage return before  
> a field in a bibliographic entry. The common place for this would be  
> before an annotation in an annotated bibliography.

Previously, I had treated certain elements as blocks, like annotations  
and abstracts.

With the new approach, I think we need another ways. It could be as  
simple as a renderas attribute where you could set “block”. Am not sure.

Bruce

---

<div class="post-metadata">

**Author:** ![Simon\_Kornblith](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@Simon\_Kornblith](https://discourse.citationstyles.org/u/Simon_Kornblith)\
**Post date:** [August 7, 2007, 7:17pm UTC](https://discourse.citationstyles.org/t/new-line/304/3 "2007-08-07T19:17:50Z")

</div>

There are LF ( ) and CR ( ) entities. We could simply use  
these in the prefix and suffix attributes, rather than creating another.

Simon

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [August 7, 2007, 7:51pm UTC](https://discourse.citationstyles.org/t/new-line/304/4 "2007-08-07T19:51:01Z")

</div>

Simon Kornblith wrote:

> > With the new approach, I think we need another ways. It could be as  
> > simple as a renderas attribute where you could set “block”. Am not  
> > sure.
> 
> There are LF ( ) and CR ( ) entities. We could simply use  
> these in the prefix and suffix attributes, rather than creating another.

But how are you supposed to map that to proper semantic output formats  
(HTML, DocBook, etc.), where you are wanting:

Doe, J (1999) Title, ABC Books.

some notes.

some more notes.

Bruce

---

<div class="post-metadata">

**Author:** ![Simon\_Kornblith](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@Simon\_Kornblith](https://discourse.citationstyles.org/u/Simon_Kornblith)\
**Post date:** [August 7, 2007, 8:55pm UTC](https://discourse.citationstyles.org/t/new-line/304/5 "2007-08-07T20:55:05Z")

</div>

Yeah, that’s a sticky issue. I suppose renderas=“block” (or  
display=“block”, if we want to continue borrowing formatting from  
CSS) is not a bad idea.

Simon

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [August 7, 2007, 9:29pm UTC](https://discourse.citationstyles.org/t/new-line/304/6 "2007-08-07T21:29:17Z")

</div>

Simon Kornblith wrote:

> Yeah, that’s a sticky issue. I suppose renderas=“block” (or  
> display=“block”, if we want to continue borrowing formatting from  
> CSS) is not a bad idea.

K:

$ svn commit -m “added display attribute and citation-label and  
citation-number variables”

So what’s the plan to declare this thing 1.0?

Bruce
