docbook-apps

  • 1.  Caption duplication in CALS tables

    Posted 03-13-2007 18:31
    Hello,

    When I try to insert a caption in a CALS table, the html output
    contains its caption twice. For instance, the following valid docbook
    document produces a table with the caption in the title as well as in
    its "normal" place.

    Is there a way to suppress the caption occurrence in the title?

    I am using docbook 5, with Saxon 8B.

    Thank you

    Fabrizio Gotti

    =================


    ]>
    <book version="5.0" xmlns="http://docbook.org/ns/docbook">
    <info></info>

    <chapter xml:id="hello">

    <para>
    This is a small paragraph
    </para>



    <titleabbrev>Short title</titleabbrev>
    <tgroup cols="1">

    <row><entry><simpara>empty line</simpara>entry></row>

    </tgroup>


    <simpara>This is a caption, it should appear only
    once.</simpara>

    </chapter>
    </book>

    produces an html table like this:
    Table 1.1. Sample CALS Table (long title)

    This is a caption, it should appear only once.

    [empty line]

    This is a caption, it should appear only once.



  • 2.  Re: [docbook-apps] Caption duplication in CALS tables

    Posted 03-13-2007 18:42
    this is a styling artifact of a bug in the new schema that was turned
    into a feature

    in the links you will find a workaround, i think

    http://sourceforge.net/tracker/index.php?func=detail&aid=1579883&group_id=21935&atid=373747

    http://sourceforge.net/tracker/index.php?func=detail&aid=1596778&group_id=21935&atid=373749

    http://sourceforge.net/tracker/index.php?func=detail&aid=1627845&group_id=21935&atid=384107


    On 3/13/07, Fabrizio Gotti <gottif@iro.umontreal.ca> wrote:
    > Hello,
    >
    > When I try to insert a caption in a CALS table, the html output
    > contains its caption twice. For instance, the following valid docbook
    > document produces a table with the caption in the title as well as in
    > its "normal" place.
    >
    > Is there a way to suppress the caption occurrence in the title?
    >
    > I am using docbook 5, with Saxon 8B.
    >
    > Thank you
    >
    > Fabrizio Gotti
    >
    > =================
    >
    >
    > ]>
    > <book version="5.0" xmlns="http://docbook.org/ns/docbook">
    > <info></info>
    >
    > <chapter xml:id="hello">
    >
    > <para>
    > This is a small paragraph
    > </para>
    >
    >
    >
    > <titleabbrev>Short title</titleabbrev>
    > <tgroup cols="1">
    >
    > <row><entry><simpara>empty line</simpara>> entry></row>
    >
    > </tgroup>
    >
    >

    > <simpara>This is a caption, it should appear only
    > once.</simpara>
    >

    > </chapter>
    > </book>
    >
    > produces an html table like this:
    > Table 1.1. Sample CALS Table (long title)
    >
    > This is a caption, it should appear only once.
    >
    > [empty line]
    >
    > This is a caption, it should appear only once.
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >


    --
    http://chris.chiasson.name/