| 1 |
|
| 2 |
xmltex.tex |
| 3 |
========== |
| 4 |
|
| 5 |
Copyright 2000 David Carlisle |
| 6 |
|
| 7 |
This collection of files is distributed under the LaTeX Project Public |
| 8 |
License a (LPPL) as found at http://www.latex-project.org/lppl.txt |
| 9 |
Either version 1.0, or at your option, any later version. |
| 10 |
|
| 11 |
|
| 12 |
xmltex is a system for typesetting XML files with TeX. It may be used |
| 13 |
on its own or in conjunction with another TeX format. (LaTeX is |
| 14 |
assumed for most examples). |
| 15 |
|
| 16 |
xmltex supports the XML Namespace Recommendation. Arbitrary prefixes |
| 17 |
may be used in document instances, and in definition files. It |
| 18 |
supports any encoding that matches ASCII in the first 127 positions. |
| 19 |
UTF-8, latin-1 and KOI8-R are included in the distribution, other |
| 20 |
encodings may be trivially added. |
| 21 |
|
| 22 |
Further documentation may be obtained by running manual.tex through |
| 23 |
LaTeX. |
| 24 |
|
| 25 |
The distribution of 2000-01-18 consists of: |
| 26 |
|
| 27 |
* readme.txt |
| 28 |
This file. |
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
* xmltex.tex |
| 33 |
The source code for xmltex. |
| 34 |
|
| 35 |
* xmltex.cfg |
| 36 |
Configuration file for xmltex, with sufficient information about |
| 37 |
Unicode to typeset the latin-1 and Cyrillic examples in the |
| 38 |
distribution, and information about the namespaces and dtd used in the |
| 39 |
examples. |
| 40 |
|
| 41 |
* iso-8859-1.xmt |
| 42 |
internal file defining latin-1 input encoding |
| 43 |
|
| 44 |
* utf-16.xmt |
| 45 |
place holder for a file supporting UTF-16 (not really possible with |
| 46 |
standard TeX). |
| 47 |
|
| 48 |
* koi8-r.xmt |
| 49 |
internal file defining the Cyrillic encoding KOI8-R. |
| 50 |
Support for any 8 bit encoding that matches ASCII for the first 127 |
| 51 |
positions may be added by copying the format of file. |
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
* manual.xml |
| 56 |
The manual for xmltex (marked up in TEI XML). |
| 57 |
|
| 58 |
* manual.tex |
| 59 |
Support files for processing the manual. |
| 60 |
LaTeX manual.tex with your standard LaTeX format, to obtain |
| 61 |
the typeset documentation. |
| 62 |
|
| 63 |
* manual.html manual.xsl |
| 64 |
HTML version of manual, generated via XSL (thanks to Sebastian Rahtz). |
| 65 |
|
| 66 |
|
| 67 |
* tei.xmt |
| 68 |
xmltex package file for TEI XML markup as used in the xmltex manual. |
| 69 |
(The much of this file was implemented by Sebastian Rahtz) |
| 70 |
|
| 71 |
* mathml2.xmt |
| 72 |
A small start towards an xmltex package for MathML2. |
| 73 |
Used in one of the test files. |
| 74 |
|
| 75 |
* sec.xmt |
| 76 |
A package for a small XML document language used in sone of the test |
| 77 |
files. |
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
* langtest.xml langtest.tex |
| 82 |
This test example file demonstrates a small `hello world' document in |
| 83 |
different languages and different encodings all input into the same |
| 84 |
document. Note that the table of contents is constructed correctly |
| 85 |
despite the fact taht different encodings are used. Also note that |
| 86 |
typesetting commands only need to be defined once, irrespective of |
| 87 |
encoding. So the Cyrillic command for `document' looks quite different |
| 88 |
in the utf-8 and koi8-r files, but the same definitions work in both |
| 89 |
cases. |
| 90 |
|
| 91 |
* englishutf8.xml |
| 92 |
English markup in utf-8, used by langtest.xml |
| 93 |
|
| 94 |
* English markup in utf-16, used by langtest.xml. |
| 95 |
Note that utf-16 support is limited to the latin-1 range (it just |
| 96 |
consists of ignoring the null byte). |
| 97 |
|
| 98 |
* portugeselatin1.xml |
| 99 |
Portugese example, note that the markup is in latin 1, but the |
| 100 |
definitions (in langtest.cfg are in utf-8). |
| 101 |
|
| 102 |
* russiankoi8.xml |
| 103 |
Russian Example, KOI8-R. This test file typesets Cyrillic letters |
| 104 |
This assumes the AMS `OT2' encoded cyrillic fonts are present on your |
| 105 |
system. (Better support for cyrillic is available with the T2 encoded |
| 106 |
fonts but these are not used in this example to enable the example |
| 107 |
to be run on as many sites as possible.) |
| 108 |
|
| 109 |
* russiankutf8.xml |
| 110 |
Russian Example, utf-8. |
| 111 |
|
| 112 |
|
| 113 |
* testsec.xml testsec.tex |
| 114 |
A small example testing varius features. |
| 115 |
The final section includes some tests of MathML. |
| 116 |
Note that the elements defined in this file use a namespace prefix |
| 117 |
even though the elements in the XML document (testsec) do not. |
| 118 |
|
| 119 |
* testascii.xml testascii.tex testascii.cfg |
| 120 |
A test file in which all characters are activated, allowing for some |
| 121 |
special effects. (Here vowels are red and numbers are old style.) |
| 122 |
|
| 123 |
|