docbook-apps

  • 1.  Figure title wrapping

    Posted 03-01-2021 16:28
    Hello,

    I'm new in xml-transformation and try to transform a docbook-xml (using
    saxon-he-10.3, docbook-xsl-1.79.1 and xep 4). Can someone help me to
    wrap the figure-title (not overflow the image width). It should be a
    solution in the docbook-xml-file for generating fo/pdf and html output.

    btw: Is it "easy" possible to create a multi-column-index?

    Thanks,
    Thomas

    Attachment(s)

    xml
    test.xml   4 KB 1 version
    pdf
    test.pdf   59 KB 1 version


  • 2.  Re: [docbook-apps] Figure title wrapping

    Posted 03-01-2021 17:27
    Hi Thomas,

    If you aren't familiar with it, you should bookmark my free online book
    "DocBook XSL: The Complete Guide", which has many solutions for
    formatting DocBook XML:

    http://www.sagehill.net/docbookxsl/

    If you consult its index under "break, line" you'll find instructions
    for inserting a manual line break and the necessary code in an XSL
    customization layer to make it work.  Information on customization
    layers is here:

    http://www.sagehill.net/docbookxsl/CustomMethods.html#CustomizationLayer

    For a multicolumn index, I presume you mean for print output only. That
    information is under "index, columns" in my book's index.

    I should mention that using Saxon HE 10.3 might create compatibility
    issues because the DocBook XSL stylesheets are written in XSLT 1.0.  I
    generally recommend using Saxon 6.5.5 to avoid such issues.

    Bob Stayton
    bobs@sagehill.net

    On 3/1/2021 8:28 AM, Thomas Schmiedl wrote:
    > Hello,
    >
    > I'm new in xml-transformation and try to transform a docbook-xml (using
    > saxon-he-10.3, docbook-xsl-1.79.1 and xep 4). Can someone help me to
    > wrap the figure-title (not overflow the image width). It should be a
    > solution in the docbook-xml-file for generating fo/pdf and html output.
    >
    > btw: Is it "easy" possible to create a multi-column-index?
    >
    > Thanks,
    > Thomas
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org