OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook] Line breaks and <literallayout>

Literallayout in HTML output should have a <br> at the end of each line, 
which will display the line breaks in the browser.  White space is another 
matter, as white space is only preserved inside <pre> elements in HTML, but 
that uses a monospace font.  If you want that, then use programlisting 
instead of literallayout.

Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "Chris Borg" <Chris.Borg@AssetHouse.com>
To: <docbook@lists.oasis-open.org>
Sent: Friday, February 23, 2007 7:09 AM
Subject: [docbook] Line breaks and <literallayout>

> Hi all,
> I would like to have lines of text within a block of text without having 
> to
> use <para> tags around each line.
> I referenced the mailing list entry
> http://www.biglist.com/lists/dssslist/archives/199911/msg00099.html which
> suggested the use of
> <literllayout> tags. However, when I use these tags the HTML output does 
> not
> acknowledge the white space and line breaks and prints all text on one 
> line.
> However, In PDF output the line breaks and whitespace were maintained.
> Thanks and regards
> Chris
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]