OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]