Hi
Try this in your customization layer to generate line breaks
Ron

<!-- ==================================================================== -->
<!-- PI to cause a line break
usage
<?hard-linebreak?>, <?line-break?> or <?lb?>  -->
<xsl:template match="processing-instruction('lb')">
<fo:block/>
</xsl:template>     <!-- END match="processing-instruction('lb')"  -->
<xsl:template match="processing-instruction('line-break')">
<fo:block/>
</xsl:template> <!-- END match="processing-instruction('line-break')" -->
<xsl:template match="processing-instruction('hard-linebreak')">
<fo:block break-before='page'/>
</xsl:template> <!-- END match="processing-instruction('hard-linebreak')" -->


On 12/17/10 1:10 PM, Faehndrich Philippe wrote:
Good evening,

Please excuse me if I'm not on the right mailing list.

In my document, at different levels (chapter, sect1), I have sometimes very
long lines as titles. The docbook xsl-fo stylesheet break these lines, but
don't follow the rules of a «nice» french typography (articles like «le»,
«la», «les» shouldn't stay at the end of a line, but should be pushed at the
beginning of the following line - of course only for the PDF output, it
doesn't matter for the HTML output).

In the final version of my document, I'm ready to take a few time to have a
«nicer» result.

Is there a way to force line breaks in my docbook source document? I can't find
anything about this topic in the documentation.

Philippe Faehndrich

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org




--
Ron Catterall Ph.D. D.Sc.
r...@catterall.net
http://catterall.net

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to