W3C home > Mailing lists > Public > spec-prod@w3.org > April to June 2004

Re: Transforming XHTML to LaTeX and BibTeX

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 12 May 2004 10:29:44 +0100
Message-Id: <200405120929.KAA12957@penguin.nag.co.uk>
To: duerst@w3.org
Cc: connolly@w3.org, spec-prod@w3.org, sean@mysterylights.com


  With your solution, what would be needed would be to use
  Omega/Lambda (Unicode versions) instead of TeX/LaTeX.

Nothing would be needed: the character data in Dan's stylesheet just
"drops through" to latex so it will by default do the wrong thing there
(sorry, TeX has this in built bias towards 1970's US-English:-)
Although you could load one of the utf8 packages which will deal with
many cases of utf8 documents even using standard TeX, or should just
"drop through" to omega and do the right thing by default if omega is used.

While such a stylesheet is useful if you have some hand authored xhtml
it relies on some very special conventions and magic comments (for table
layout) so it's not a general xhtml to latex convertor. If you are having
to write the document specifcally for this tool you seem to get more
benefits from XML if you author in some other format rather than xhtml
so that you  can get much better automated procesing of cross refs etc,
you can then generate the xhtml and latex in parallel from this
source. Styles to go to xhtml and latex from the w3c's xmlspec dtd
markup are in the mathml REC distribution, for example.


The LaTeX Companion

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
Received on Wednesday, 12 May 2004 05:41:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:42:17 UTC