James Gregory wrote:

Once again I'm fighting the good fight trying to keep our documentation
available as PDF and HTML. I have the problem at the moment that I need
to include a huge table of error codes. One column of this table is a
wordy description of the error (a short paragraph or so). I found the
tabularx package which lets me wrap that column easily enough, but I
also need the table to split into multiple pages in the pdf version, and
produce a single big table in the HTML version. The "solution" I have at
the moment is pure kludge and I'd really like to find something less
awful.

For splitting the table over pages in PDF look at supertabular or the longtable. They automatically break the table at the end of the page and you get a "continued on next page" at the bottom of the page. Then on the next page the table starts with "continued from previous page" and on it goes. Its very neat.


Im not sure how latex2html or things of that ilk handle the longtable or supertabulars. It will probably just fall back to a single table if luck holds.

While I'm at it -- LaTeX is driving me round the bend. What other
options have I got for multi-output-format document processors? Ideally
they should take care of layout like LaTeX does, but be less impossible
to do things like multi-page tables in. Is docbook suitable for this?
Yeah docbook would be good.
But try supertabular and see how it goes. Search for the supertabular.dvi documentation on your system.


Mike
--
Michael Lake
Chemistry, Materials & Forensic Science, UTS
Ph: 9514 1725 Fx: 9514 1460



--
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to