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]

Tables na fo


Hi,

I ran into multiple problems with tables.
Using saxon, xsl-stylesheets-1.50, passivetex for xml -> fo -> pdf 
conversion. Using Mandrake Linux 8.2 distribution.

I have a simple document, valid and well-formed, containing a simple table.

1. After a painful struggle, I found that to successfully convert, I 
*have* to specify a colwidth (in pt, cm, whatever) in colspec, otherwise 
passivetex insert 0pt for column width and the result is horrible.
2. What I cannot seem to resolve is border around tables. Whatever I do, 
there is no border around cells. I tried to use everything I found, to 
no avail.

What should I do? I'll inspect this further, but someone must have run 
into this problem before. Any help?

Attached is a simple docbook xml with the table, and pdf that is 
produced despite the table attributes.

Thanks,

Michal Bukovjan
<?xml version="1.0" encoding="iso-8859-2" ?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd";>

<book lang="cs">

<chapter>
  <title>Úvod</title>
    <para>TODO</para>

    <table frame="all" colsep="1" rowsep="1">
	    <title>Přehled výsledků studie společnosti Netcraft o
	    podílech operačních systémů pro webové servery</title>
	    <tgroup cols="2" colsep="1" rowsep="1">
	      <colspec colwidth="5cm" align="left"/>
	      <colspec colwidth="10cm" align="left"/>
	      <thead>
		<row>
		  <entry>Skupina OS</entry>
		  <entry>Popis skupiny</entry>
		</row>
	      </thead>
	      <tbody>
		<row>
		  <entry>Windows</entry>
		  <entry>Windows 2000, NT4, NT3, Windows 95 a Windows 98</entry>
		</row>
		<row>
		  <entry>[GNU/]Linux</entry>
		  <entry>[GNU/]Linux</entry>
		</row>
		<row>
		  <entry>Solaris</entry>
		  <entry>Solaris 2, Solaris 7, Solaris 8</entry>
		</row>
		<row>
		  <entry>BSD</entry>
		  <entry>BSDI BSD/OS, FreeBSD, NetBSD, OpenBSD</entry>
		</row>
		<row>
		  <entry>Jiný Unix</entry>
		  <entry>IBM AIX, Compaq Tru64, HP-UX, SGI IRIX, SCO
		  Unix, SunOS 4 a ostatní</entry>
		</row>
		<row>
		  <entry>Neznámý</entry>
		  <entry>Nebylo možné detekovat automatickým detektorem</entry>
		</row>
	      </tbody>
	    </tgroup>
	  </table>

  </chapter>
</book>

Attachment: test.pdf
Description: Adobe PDF document


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