OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: DOCBOOK: expected table format for pdf output


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>
> 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC