This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
RE: expected table format for pdf output
- To: "'jeff dot iezzi at semanticedge dot com'" <jeff dot iezzi at semanticedge dot com>,docbook at lists dot oasis-open dot org
- Subject: RE: DOCBOOK: expected table format for pdf output
- From: "Kaiser Christian (SV SC RS T33)" <Christian dot 1 dot Kaiser at at dot siemens dot de>
- Date: Thu, 08 Nov 2001 16:07:07 +0100
- List-Id: <docbook.lists.oasis-open.org>
Hi Jeff
I have also had trouble with tables.
E.g. Using FOP, you have to define at least the colwidth
attribute (assign it a fixed value).
My solution was:
<formalpara id="toolbar_main">
<title>Main Toolbar</title>
<para>
<informaltable frame="none">
<tgroup cols="16" align="justify">
<colspec colwidth="0.7cm"></colspec>
<colspec colwidth="0.7cm"></colspec>
<colspec colwidth="0.7cm"></colspec>
.....
...
I don't know how Openjade handles that.
best regards,
(-:hris
> -----Original Message-----
> From: Jeff Iezzi [mailto:jeff.iezzi@semanticedge.com]
> Sent: Donnerstag, 8. November 2001 15:26
> To: docbook@lists.oasis-open.org
> Subject: DOCBOOK: expected table format for pdf output
>
>
> I have a question about how to mark up a table properly so you get
> appropriate table formatting when you transform a file to pdf. I
> believe this is a markup question, not one for docbook-apps.
> (Flame away!)
>
> I have the following table in a document:
>
> <table>
> <title>Prompts</title>
> <tgroup cols="1">
> <thead>
> <row>
> <entry>Expression</entry>
> </row>
> </thead>
> <tbody>
> <row>
> <entry>What type of recipe do you want?</entry>
> </row>
> <row>
> <entry>Who won the 1999 American League
> Championship Series?</entry>
> </row>
> </tbody>
> </tgroup>
> </table>
>
> When I transform it to HTML, the table looks fine. When I transform
> it to PDF, I get unanticipated results.
>
> Do I need to add <colspec/> or <spanspec/> items to address this
> issue? Is there something else that I am missing?
>
> Sincerely,
>
> Jeff
>
> [:>)
>
> "It is difficult to get a man to understand something when
> his salary depends on his not understanding it."
>
> Upton Sinclair
>
> ----------------------------------------------------------------
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.oasis-open.org/ob/adm.pl>
>
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>