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 <> 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
>
> =================
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE book [<!ENTITY myent "My Entity" >]>
> <book version="5.0" xmlns="http://docbook.org/ns/docbook">
> <info><title>Example</title></info>
>
> <chapter xml:id="hello">
> <title>Chapter title</title>
> <para>
> This is a small paragraph
> </para>
>
> <table xml:id="ex.calstable" frame='all' shortentry="1">
> <title>Sample CALS Table (long title)</title>
> <titleabbrev>Short title</titleabbrev>
> <tgroup cols="1">
> <tbody>
> <row><entry><simpara>empty line</simpara></
> entry></row>
> </tbody>
> </tgroup>
> <caption>
> <simpara>This is a caption, it should appear only
> once.</simpara>
> </caption>
> </table>
> </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:
> For additional commands, e-mail:
>
>
--
http://chris.chiasson.name/