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


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

docbook-xsl, xml->fo->pdf - table error



hi,

I am unable to compile a pdf file from this xml docbook file:

<?xml version='1.0'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"/usr/local/share/sgml/docbook-xml/docbook/docbookx.dtd" []>

<book lang="it">
 <part>
  <title>Parte</title>
  <chapter>
   <title>Capitolo</title>
   <sect1>
    <title>Sezione</title>
    <para>Paragrafo</para>
    <table>
     <title>Tabella</title>
     <tgroup cols="2">
      <tbody>
       <row>
        <entry>x</entry>
        <entry>y</entry>
       </row>
      </tbody>
     </tgroup>
    </table>
   </sect1>
  </chapter>
 </part>
</book>

I use these commands to do xml->fo->pdf translation, using a correct 
installation of:
- xsltproc and passive tex tools
- docbook-xsl-1.50.0
- docbook-xml V4.1.2

xsltproc -o book.fo /usr/local/share/docbook/docbook-xsl/fo/docbook.xsl 
book.xml

xmltex book.fo
...
produce these errors:
<5:table-column 
            0:column-number = "1"  >
! Illegal unit of measure (pt inserted).
<to be read again> 
                   0
l.2 ...w3.org/1999/XSL/Format" column-number="1"/>
                                                  <fo:table-column 
xmlns:fo=...

? 

        </5:table-column> 
        xmlns:fo = 5 
        <5:table-column 
            0:column-number = "2"  >
! Illegal unit of measure (pt inserted).
<to be read again> 
                   0
l.2 ...w3.org/1999/XSL/Format" column-number="2"/>
                                                  
<fo:table-body><fo:table-r...

? 

        </5:table-column> 
        <5:table-body  > 
         <5:table-row  > 
          <5:table-cell 
              0:padding-left = "2pt" 
              0:padding-right = "2pt" 
              0:padding-top = "2pt" 
              0:padding-bottom = "2pt"  > 
           <5:block  > 
           </5:block> 
          </5:table-cell> 
          <5:table-cell 
              0:padding-left = "2pt" 
              0:padding-right = "2pt" 
              0:padding-top = "2pt" 
              0:padding-bottom = "2pt"  > 
           <5:block  > 
           </5:block> 
          </5:table-cell> 
         </5:table-row> 
         Grabbed content 
          <5:table-cell 
              0:padding-left = "2pt" 
              0:padding-right = "2pt" 
              0:padding-top = "2pt" 
              0:padding-bottom = "2pt"  > 
           <5:block  > 
           </5:block> 
          </5:table-cell> 
          Grabbed content 
           <5:block  > 
           </5:block>
Overfull \hbox (5.0pt too wide) in paragraph at lines 2--2
[]|\T1/ptm/m/n/10 x 

          End Grabbed content 
          <5:table-cell 
              0:padding-left = "2pt" 
              0:padding-right = "2pt" 
              0:padding-top = "2pt" 
              0:padding-bottom = "2pt"  > 
           <5:block  > 
           </5:block> 
          </5:table-cell> 
          Grabbed content 
           <5:block  > 
           </5:block>
Overfull \hbox (5.0pt too wide) in paragraph at lines 2--2
[]|\T1/ptm/m/n/10 y 

          End Grabbed content 
         End Grabbed content 
        </5:table-body> 
       </5:table> 
      </5:block> 
     </5:block> 
    </5:block> 
   </5:flow> 
    <5:block 
        0:text-align = "center"  > 
     <5:block 
         0:font-size = "10pt"  > 
     </5:block> 
    </5:block> 
    <5:block 
        0:text-align = "center" 
        0:font-size = "10pt"  > 
     <5:page-number  > 
     </5:page-number> 
    </5:block> [2] 
  </5:page-sequence> 
 </5:root> (./book.aux)

LaTeX Warning: There were undefined references.


LaTeX Warning: Label(s) may have changed.Rerun to get cross-references right.

 )
Output written on book.dvi (4 pages, 5136 bytes).
Transcript written on book.log.



some hints ?

thnx,
Lore


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