On Tuesday 27 November 2007 12:05:48 Geraint North wrote:
> I'd also like to indent the continuation lines to make things a bit
> clearer (as I did in my example) - is that something that anyone has
> attempted?

Yes, without success (at least, with FOP v0.93).

I'm using a style-sheet that extends the FO DocBook xslt.  In theory, setting 
hyphenation-character attribute to the Unicode (dingbat-plane) character you 
want should do the trick.

Roughly speaking...

<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                xmlns:fo="http://www.w3.org/1999/XSL/Format";
                version="1.0">

  <xsl:import 
href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>

  <!-- ... -->
  <xsl:attribute-set name="monospace.verbatim.properties"
                     use-attribute-sets="verbatim.properties">

    <xsl:attribute name="wrap-option">wrap</xsl:attribute>
    <!-- The following item doesn't work with FOP -->
    <xsl:attribute name="hyphenation-character">&#x27a0;</xsl:attribute>

    <!-- ... etc ... -->

  </xsl:attribute-set>

  <!-- ... etc ... -->

</xsl:stylesheet>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to