XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 Printing XML: Why CSS Is Better than XSL
Subject: latex
Date: 2006-12-26 10:44:15
From: kettle

The central issue in this article seems to be 'how best to format documents for printing'. XSLT and CSS are not the only available options; what about latex? Why not just use latex?

Previous Message Previous Message   Next Message Next Message


Titles Only Titles Only Newest First
  • latex
    2006-12-26 15:43:43 mikeday [Reply]

    Well, this is XML.com, so the assumption is that your source document is written in XML. You could potentially transform that document into LaTeX for formatting, which would require XSLT or scripting, but that can be a fiddly job due to the impedance mismatch between the two formats; for example, LaTeX is quite sensitive to whitespace, while many XML vocabularies are not, and collapse multiple spaces into one. I think that for most documents, using CSS for styling/printing would be easier than transforming to LaTeX.

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938