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]

Problems with table entry alignment


I am trying to centre the text within a column of a table. I cannot
get this to work. Here is a short example:

  -- cut here for example ---
<?xml version="1.0" standalone="no"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.1.1beta1//EN"
                     "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd">
<section><title>European Chu Shogi Championship at Alfter</title>
<informaltable frame="all" colsep="1" rowsep="1">
 <tgroup cols="4">
  <colspec colwidth="20mm"/>
  <colspec colwidth="50mm"/>
  <colspec colwidth="20mm"/>
  <colspec colwidth="50mm" align="center"/>
  <tbody>
  <row><entry>Round:</entry><entry/><entry>Date:</entry><entry>  th September 2000</entry></row>
  <row><entry>Black:</entry><entry/><entry>White:</entry><entry/></row>
  <row><entry>Time limit:</entry><entry/><entry>Overtime:</entry><entry>60 seconds</entry></row>
  <row><entry>Handicap:</entry><entry/><entry>Result:</entry><entry/></row>
  </tbody>
 </tgroup>
</informaltable>
</section>
  -- cut here for end of example ---

Using DSSSL style-sheets 1.56 and Jade 1.2.1, the generated .tex file
looks to be OK (I see a line that looks like:
{center}}60 seconds\endDisplayGroup{}\endTableCell{}%
), so I think the problem must be with PDFJadeTeX (version 2.20).

Using XSL style-sheets 1.17, the generated .fo doesn't appear to have
any alignment information within it (I could be wrong, as I am not
familiar with XSLFO). In any case PassiveTeX chokes on the file, so I
haven't been able to look at the output from that route (I'll try with
FOP when 0.14.1 is released).
-- 
Colin Paul Adams
Preston Lancashire

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