This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Pb with simplelist inside table entry


On Thu, Dec 12, 2002 at 10:27:17AM +0100, Alain NAKACHE wrote:
> Greetings,
> 
> I encounter a pb when I want to insert a simplelist inside a table entry: 
> the cell is empty.
> 
> My config :
> 
> Saxon 6.5.2
> FOP 0.20.4
> Docbook XML 4.2
> Docbook XSL 1.58.1
> 
> Here is a sample file to prove it :
> 
> <?xml version="1.0" encoding="iso8859-1" standalone="no"?>
> <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
>                  "/opt/docbook/docbook-xml/docbookx.dtd">
> 
> <chapter>
>   <title>Test Chapter</title>
>   <sect1>
>    <title>Test Section</title>
>    <para>
>     <informaltable frame="all">
>      <tgroup cols="2">
>       <thead>
>        <row>
>         <entry>Col1</entry>
>         <entry>Col2</entry>
>        </row>
>       </thead>
>       <tbody>
>        <row>
>         <entry>
>         Line1
>         </entry>
>         <entry>
>          <para>
>           <simplelist type="vert" columns="1">
>            <member>Elem1</member>
>            <member>Elem2</member>
>            <member>...</member>
>           </simplelist>
>          </para>
>         </entry>
>        </row>
>       </tbody>
>      </tgroup>
>     </informaltable>
>    </para>
>   </sect1>
> </chapter>
> 
> The PDF file generated is attached to this mail.
> 
> I've made a test to change the simplelist type to "inline" and it works.

Simplelist in column format is handled as an fo:table.
This problem seems to be one of FOP's table limitations.
FOP needs to have <fo:table-column column-number="1"/> etc.
before fo:table-body to work, and the table generated
by simplelist doesn't provide them.  If I add them,
the simplelist output appears in the cell.

File a bug report on sourceforge (let me know if you
need help with that).

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]