This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] Re: [docbook] line break


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/.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]