Thank you, Bob. That's exactly what I wanted.
Bob Stayton wrote:
Then you can output a processing instruction like <?break?> using XSLT
as follows:
<xsl:processing-instruction name="break"/>
Then your docbook stylesheet customization can process that into an
empty fo:block to create the line break.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]
----- Original Message ----- From: "Mansour" <[EMAIL PROTECTED]>
To: "Bob Stayton" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Friday, November 30, 2007 11:52 AM
Subject: Re: [docbook] Line spacing
I am aware of the literallayout tag. However, it preserves every
thing inside the tag like extra spaces. That's why I am trying avoid
using it. On the other hand, using a processing instruction like
<?break-line?> is not going to work, because I am not writing a
docbook document directly. I am writing a template (xslt) that will
generate a docbook. And I couldn't find a way to output <?break?>
from the xslt to the docbook the way it's for further processing.
Bob Stayton wrote:
You might try putting your lines inside a literallayout element
instead of individual para elements. In literallayout, line breaks
are preserved in the output, which would eliminate the extra spacing
introduced by para.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]
----- Original Message ----- From: "Mansour" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, November 29, 2007 2:55 PM
Subject: [docbook] Line spacing
How do I control line spacing? I need to write few lines of text
and I am puting each of them in <para> element in order to get the
line break. Now the space between each of them is huge and I need
to make it smaller. How do I proceed ?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]