Differences between revisions 7 and 8
Revision 7 as of 2013-06-20 20:15:31
Size: 508
Editor: rbeezer
Comment:
Revision 8 as of 2013-06-20 20:20:24
Size: 643
Editor: rbeezer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:


== Files and Examples ==
Line 14: Line 17:
Or you should be able to preview Or you should be able to preview the source file (*.xml) by opening it in a web browser with the stylesheet (*.xsl) in the same directory.

MathBook: An XML Application

Files and Examples

  1. XSL transform to LaTeX http://buzzard.ups.edu/mathbook/article-latex.xsl

  2. XSL transform to XHTML http://buzzard.ups.edu/mathbook/article-html.xsl

  3. Example XML document http://buzzard.ups.edu/mathbook/calculus-article.xml

To use, for example, put all files in the same directory and issue

xsltproc article-latex.xsl calculus-article.xml > calculus-article.tex
pdflatex calculus-article.tex

Or you should be able to preview the source file (*.xml) by opening it in a web browser with the stylesheet (*.xsl) in the same directory.

mathbook (last edited 2014-04-30 17:24:35 by rbeezer)