This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Re: [docbook] line break
- From: Thomas Gier <thomas dot gier at gmx dot de>
- To: docbook-apps <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 16 Apr 2004 14:35:36 +0200
- Subject: [docbook-apps] Re: [docbook] line break
- References: <20040416115056.GA25632@nl.linux.org>
Gerrit wrote:
How do I achieve this? I tried to do:
<literallayout>
</literallayout>
But this is rendered as a block, not inline, so I end up with empty
lines before and after the line break, which obviously is not what I
want. And it's ugly.
Well, IMHO <literallayout> is exactly what you need. This is a verbatim
environment which means _every_ line break you add will show up exactly in
your processed document.
Be aware that
<literallayout>
They entered the room.
It's dark here, Joe said. He was right.
</literallayout>
is different from
<literallayout>They entered the room.
It's dark here, Joe said. He was right.</literallayout>
since the line breaks after the opening tag and before the closing tag are
also considered while processing. This might be the drawback you encounter.
HTH
Thomas Gier
Technical Writer
Aachen / Germany
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.