← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [docbook-apps] Manually forcing line breaks? (problem solved)

From
Faehndrich Philippe <>
Date
2010-12-21T09:40:53+00:00
ID
Thread
Re: [docbook-apps] Manually forcing line breaks? (problem solved)
Le samedi 18 décembre 2010 08.36:41, Christophe HARO a écrit :
> Hi,
> 
> See :
>     http://www.sagehill.net/docbookxsl/LineBreaks.html
> Regards.
> 

The solution of Christophe Haro is the more simple:

<xsl:template match="processing-instruction('linebreak')">
  <fo:block/>
</xsl:template>

It works perfectly. 

Ron Catterall gave a similar, but more powerful, solution.

The solution of David Cramer is a little trickier, but could be entirely 
automated. It solves the problem with the article and other predictable cases, 
but there are always some circumstances where the default line breaks aren't 
very «nice». I believe it's better to do the job manually, and reasonably 
possible for the final version of a document.

Thank you to all of you,
Ph. Faehndrich
← Prev in month ← Prev in thread
Next in thread → Next in month →