docbook-apps

  • 1.  indentation of programlisting

    Posted 02-11-2011 10:20
    Bobs Book says:

    "There is an extension function written in Java for the Saxon XSL
    processor that will expand tab characters so they appear formatted as in
    a program editor. The extension was written by Tomas Hajek and is
    available for download from http://www.tomashajek.net/[...]"

    Is there a solution for FOP??

    Regards Lwam
    --
    Gruß Lwam Berhane



    punkt.de GmbH TYPO3-Internet-Dienstleistungen-Beratung
    Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100
    76133 Karlsruhe info@punkt.de http://punkt.de/
    AG Mannheim 108285 Gf: Jürgen Egeling



  • 2.  Re: [docbook-apps] indentation of programlisting

    Posted 02-11-2011 17:24
    Lwam Berhane wrote:
    > Bobs Book says:
    >
    > "There is an extension function written in Java for the Saxon XSL
    > processor that will expand tab characters so they appear formatted as in
    > a program editor. The extension was written by Tomas Hajek and is
    > available for download from http://www.tomashajek.net/[...]"
    >
    > Is there a solution for FOP??

    This tab expansion is done during XSLT phase. So as long as your are
    using Saxon for producing FO you can use code from

    http://www.tomashajek.net/saxon/saxon.tomashajek.net1.0.jar

    --
    ------------------------------------------------------------------
    Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz
    ------------------------------------------------------------------
    Professional XML consulting and training services
    DocBook customization, custom XSLT/XSL-FO document processing
    ------------------------------------------------------------------
    OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
    ------------------------------------------------------------------