[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] Line spacing
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 bobs@sagehill.net ----- Original Message ----- From: "Mansour" <mansour77@yahoo.com> To: "Bob Stayton" <bobs@sagehill.net> Cc: <docbook@lists.oasis-open.org> 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 >> bobs@sagehill.net >> >> >> ----- Original Message ----- From: "Mansour" <mansour77@yahoo.com> >> To: <docbook@lists.oasis-open.org> >> 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: docbook-unsubscribe@lists.oasis-open.org >>> For additional commands, e-mail: docbook-help@lists.oasis-open.org >>> >>> >>> >> >> >> > > > --------------------------------------------------------------------- > 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]