Differences between revisions 2 and 8 (spanning 6 versions)
Revision 2 as of 2013-06-20 20:00:11
Size: 177
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 3: Line 3:
  1. XSL transform to LaTeX
  1. XSL transform to XHTML [[attachment:article-html.xsl]]
  1. Example XML document
Line 7: Line 4:
To use, for example == Files and Examples ==

  1. XSL transform to LaTeX [[http://buzzard.ups.edu/mathbook/article-latex.xsl]]
  1. XSL transform to XHTML [[http://buzzard.ups.edu/mathbook/article-html.xsl]]
  1. 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: 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)