diff options
Diffstat (limited to 'Master/texmf-dist/doc/xmltex/passivetex/index.html')
-rw-r--r-- | Master/texmf-dist/doc/xmltex/passivetex/index.html | 2771 |
1 files changed, 2771 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/xmltex/passivetex/index.html b/Master/texmf-dist/doc/xmltex/passivetex/index.html new file mode 100644 index 00000000000..367a991547d --- /dev/null +++ b/Master/texmf-dist/doc/xmltex/passivetex/index.html @@ -0,0 +1,2771 @@ + +<!DOCTYPE html + PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> + <!--THIS FILE IS GENERATED FROM AN XML MASTER. + DO NOT EDIT--> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + + <title>PassiveTeX</title> + <link rel="stylesheet" type="text/css" href="http://www.oucs.ox.ac.uk/stylesheets/tei-oucs.css"> + </head> + <body><a name="TOP"></a><table class="header" width="100%"> + <tr> + <td rowspan="3"><a target="_top" href="http://www.ox.ac.uk/"><img border="0" width="78" height="94" src="http://www.oucs.ox.ac.uk/icons/ncrest.gif" alt="Oxford University"></a></td> + <td align="left"> + <h2 class="institution">Oxford University Computing Services</h2> + </td> + </tr> + <tr> + <td align="left"> + <h1 class="maintitle">PassiveTeX</h1> + </td> + </tr> + </table> + <hr> + + + + + + + <h2>Contents</h2> + <ul class="toc"> + <li class="toc">1. <a class="toc" href="#index-div-c16ab3b3b1">Summary</a></li> + <li class="toc">2. <a class="toc" href="#index-div-c16ab3b3b3">How does it work?</a></li> + <li class="toc">3. <a class="toc" href="#index-div-c16ab3b3b5">Installation</a></li> + <ul class="toc"> + <li class="toc">3.1. <a class="toc" href="#index-div-c16ab3b3b5c11">LaTeX package dependencies</a></li> + </ul> + <li class="toc">4. <a class="toc" href="#index-div-c16ab3b3b7">Extensions</a></li> + <li class="toc">5. <a class="toc" href="#index-div-c16ab3b3b9">Notes on conformance to the XSL draft specification of November 2000</a></li> + <ul class="toc"> + <li class="toc">5.1. <a class="toc" href="#index-div-c16ab3b3b9b9">Properties needed for basic conformance</a></li> + <li class="toc">5.2. <a class="toc" href="#index-div-c16ab3b3b9c11">Properties needed for full conformance</a></li> + <li class="toc">5.3. <a class="toc" href="#index-div-c16ab3b3b9c13">Properties needed for extended conformance</a></li> + </ul> + <li class="toc">6. <a class="toc" href="#index-div-c16ab3b3c11">Sample files</a></li> + <li class="toc">7. <a class="toc" href="#index-div-c16ab3b3c13">Concerns and problems</a></li> + <li class="toc">8. <a class="toc" href="#index-div-c16ab3b3c15">Things for LaTeX users to remember</a></li> + <li class="toc">9. <a class="toc" href="#index-div-c16ab3b3c17">Future directions</a></li> + </ul> + + <div class="teidiv"> + <h2><a name="index-div-c16ab3b3b1"></a>1. Summary + </h2> + + + <ul> + <li><a name="c16ab3b3b1b3b1"></a> + PassiveTeX is a library of TeX macros which can be used to process an XML + document which results from an XSL transformation to formatting objects. + + </li> + <li><a name="c16ab3b3b1b3b3"></a> + PassiveTeX provides a rapid development environment for experimenting + with XSL FO, using a reliable pre-existing formatter + + </li> + <li><a name="c16ab3b3b1b3b5"></a> + Running PassiveTeX with the pdfTeX variant of TeX generates high-quality + PDF files in a single operation. + + </li> + <li><a name="c16ab3b3b1b3b7"></a> + PassiveTeX shows how TeX can remain the formatter of choice for XML, while + hiding the details of its operation from the user. + + </li> + </ul> + + <p><a name="c16ab3b3b1b5"></a> + Available from <tt><a href="http://users.ox.ac.uk/~rahtz/passivetex/" target="_top">http://users.ox.ac.uk/~rahtz/passivetex/</a></tt>. + The current version is 1.4, 2000/12/11. + + </p> + + </div> + + <div class="teidiv"> + <h2><a name="index-div-c16ab3b3b3"></a>2. How does it work? + </h2> + + <p><a name="c16ab3b3b3b2"></a> + PassiveTeX relies heavily on work by David Carlisle + (his namespace-aware XML parser written in + TeX, <tt>xmltex</tt>), and was developed from my + <a href="http://www.tug.org/applications/jadetex/" target="_top">JadeTeX</a> + macros for processing DSSSL via Jade. + + </p> + + <p><a name="c16ab3b3b3b4"></a> + Taking the XML version of the TEI Lite guidelines + (<a href="test/teiu5.xml" target="_top">teiu5.xml</a>, with DTD + <a href="test/teixlite.dtd" target="_top">teixlite.dtd</a>), we apply an XSL stylesheet + (see my page of <a href="http://users.ox.ac.uk/~rahtz/tei" target="_top">TEI style sheets</a>), + and run it through James Clark's XT XSL processor: + <pre> + java com.jclark.xsl.sax.Driver teiu5.xml tei.xsl teiu5.fo +</pre> + (assuming you have <tt>xt.jar</tt>, <tt>xp.jar</tt> and <tt>sax.jar</tt> + on your CLASSPATH ). This creates the new XML file + <a href="test/teiu5.fo" target="_top">teiu5.fo</a>. We now run XMLTeX on this + <pre> + pdfxmltex teiu5.fo +</pre> + which creates <a href="test/teiu5.pdf" target="_top">teiu5.pdf</a>. Voila! + Actually, we need to do + <pre> + pdfxmltex teiu5.fo +</pre> + again, to resolve page-number references in the table of contents. For a comparison + with an HTML rendering of the same document (using XSL again), + see <a href="http://users.ox.ac.uk/~rahtz/tei/teiu5.html" target="_top">teiu5.html</a> + on my TEI page. + </p> + + </div> + + <div class="teidiv"> + <h2><a name="index-div-c16ab3b3b5"></a>3. Installation + </h2> + + + <p><a name="c16ab3b3b5b3"></a> + The PassiveTeX macros should be downloaded (as a ZIP file, + <tt><a href="passivetex.zip" target="_top">passivetex.zip</a></tt>), unpacked, and installed in a TeX system (eg in + <tt>texmf/tex/latex/passivetex</tt>) in the normal place where you put + macros. Consult your local documentation or local expert if you do not know + how to install a new package; on a web2c-based system, don't forget to + run <tt>mktexlsr</tt> when you have the files in place, + to update the file lookup table. + + </p> + + <p><a name="c16ab3b3b5b5"></a> + What about that <tt>pdfxmltex</tt> command we saw in the last section? + You don't have it on your system? You need to download + <a href="ftp://ftp.tex.ac.uk/tex-archive/macros/xmltex/base.zip" target="_top">xmltex</a> + (that link gives you a ZIP archive of the system) and install it in the your TeX system. + It too is just a set of TeX macro packages. + Then you can use it on a file called (eg) <tt>teiu5.fo</tt> in one of two ways: + + <ol> + <li><a name="c16ab3b3b5b5b7b1"></a>Build an <tt>xmltex</tt> format file for pdfTeX with + <pre> +pdftex -ini "&pdflatex" pdfxmltex.ini +</pre> + and process your file with + <pre> +pdflatex "&pdfxmltex" teiu5.fo +</pre> + Or, + </li> + <li><a name="c16ab3b3b5b5b7b3"></a> + Make a wrapper file called (eg) <tt>teiu5.tex</tt> looking like this: + <pre> +\def\xmlfile{teiu5.fo} +\input xmltex +</pre> + and run pdfTeX on it as normal with + <pre> +pdflatex teiu5.tex +</pre> + </li> + </ol> + Do not worry, <tt>xmltex</tt> knows how to find the PassiveTeX macros as + it needs them. You will likely need to increase TeX memory + values (in the file <tt>texmf.cnf</tt> if you use a Web2c-based TeX); + I use: + <pre> +main_memory = 2500000 +param_size = 1500 +stack_size = 1500 +hash_extra = 50000 +string_vacancies = 45000 +pool_free = 47500 +nest_size = 500 +save_size = 10000 +pool_size = 500000 +max_strings = 55000 +</pre> + </p> + + <p><a name="c16ab3b3b5b7"></a> + For reference, the PassiveTeX package consists of the following files: + + <ul> + <li><a name="c16ab3b3b5b7b1b1"></a>The core xmltex `style' files for XSL FO XML: + <pre> + fotex.xmt + fotex.sty +</pre> + </li> + <li><a name="c16ab3b3b5b7b1b3"></a> + Support for direct formatting of TEI XML with xmltex + <pre> + tei.xmt + teixml.sty +</pre> + </li> + <li><a name="c16ab3b3b5b7b1b5"></a> + Some support files, shared with JadeTeX: + <pre> + unicode.sty + ucharacters.sty + mlnames.sty + dummyels.sty +</pre> + </li> + </ul> + + </p> + + <p><a name="c16ab3b3b5b9"></a> + NOTE: TeX has a limit + on the length of line it can read, + and some .fo files you generate may cause + TeX to die with an message about increasing buf_size. + If you get that, edit your + <tt>texmf.cnf</tt> file, increase the size of <tt>buf_size</tt> (mine is + 200000), and remake any format files. + + </p> + + <div class="teidiv"> + <h3><a name="index-div-c16ab3b3b5c11"></a>3.1. LaTeX package dependencies + </h3> + + <p><a name="c16ab3b3b5c11b2"></a>This setup assumes you have a decent modern TeX setup. The TeX Live 5 CD-ROM + is what I use, and it is up to date + (see <tt><a href="http://www.tug.org/texlive/" target="_top">http://www.tug.org/texlive/</a></tt>). + + </p> + + <p><a name="c16ab3b3b5c11b4"></a> Here is a + list of the packages loaded in a typical run of + PassiveTeX, with their version numbers where known: + + <div align="center"> + <table rules="all" border="1"> + + <tr> + <td> amsbsy.sty </td> + <td> 1999/11/29 v1.2d</td> + </tr> + + <tr> + <td>amsfonts.sty </td> + <td> 1997/09/17 v2.2e</td> + </tr> + + <tr> + <td> amsgen.sty </td> + <td> 1999/11/30 v2.0</td> + </tr> + + <tr> + <td> amsmath.sty </td> + <td> 2000/03/29 v2.08 AMS math features</td> + </tr> + + <tr> + <td> amsopn.sty </td> + <td> 1999/12/14 v2.01 operator names</td> + </tr> + + <tr> + <td> amssymb.sty </td> + <td> 1996/11/03 v2.2b</td> + </tr> + + <tr> + <td> amstext.sty </td> + <td> 1999/11/15 v2.0</td> + </tr> + + <tr> + <td> array.sty </td> + <td> 1998/05/13 v2.3m Tabular extension package (FMi)</td> + </tr> + + <tr> + <td> article.cls </td> + <td> 1999/09/10 v1.4a Standard LaTeX document class</td> + </tr> + + <tr> + <td> bm.sty </td> + <td> 1999/07/05 v1.0g Bold Symbol Support (DPC/FMi)</td> + </tr> + + <tr> + <td> color.sty </td> + <td> 1999/02/16 v1.0i Standard LaTeX Color (DPC)</td> + </tr> + + <tr> + <td> fontenc.sty </td> + <td> (version not available)</td> + </tr> + + <tr> + <td>graphics.sty </td> + <td> 1999/02/16 v1.0l Standard LaTeX Graphics (DPC,SPQR)</td> + </tr> + + <tr> + <td>graphicx.sty </td> + <td> 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)</td> + </tr> + + <tr> + <td> hpdftex.def </td> + <td> 2000/05/08 v6.70f Hyperref driver for pdfTeX</td> + </tr> + + <tr> + <td>hyperref.sty </td> + <td> 2000/05/08 v6.70f Hypertext links for LaTeX</td> + </tr> + + <tr> + <td> ifthen.sty </td> + <td> 1999/09/10 v1.1b Standard LaTeX ifthen package (DPC)</td> + </tr> + + <tr> + <td> keyval.sty </td> + <td> 1999/03/16 v1.13 key=value parser (DPC)</td> + </tr> + + <tr> + <td>longtable.sty </td> + <td> 1998/05/13 v4.09 Multi-page Table package (DPC)</td> + </tr> + + <tr> + <td>multicol.sty </td> + <td> 1999/10/21 v1.5w multicolumn formatting (FMi)</td> + </tr> + + <tr> + <td> nameref.sty </td> + <td> 2000/05/08 v2.18 Cross-referencing by name of section</td> + </tr> + + <tr> + <td> ot1phv.fd </td> + <td> 2000/01/12 PSNFSS-v8.1 scalable font definitions for OT1/phv.</td> + </tr> + + <tr> + <td> pd1enc.def </td> + <td> 2000/05/08 v6.70f Hyperref: PDFDocEncoding definition (HO)</td> + </tr> + + <tr> + <td> pifont.sty </td> + <td> 2000/01/12 PSNFSS-v8.1 Pi font support (SPQR) </td> + </tr> + + <tr> + <td>rotating.sty </td> + <td> 1997/09/26, v2.13 Rotation package</td> + </tr> + + <tr> + <td> size10.clo </td> + <td> 1999/09/10 v1.4a Standard LaTeX file (size option)</td> + </tr> + + <tr> + <td>stmaryrd.sty </td> + <td> 1994/03/03 St Mary's Road symbol package</td> + </tr> + + <tr> + <td> t1enc.def </td> + <td> 1999/12/08 v1.9x Standard LaTeX file</td> + </tr> + + <tr> + <td> t1phv.fd </td> + <td> 2000/01/12 PSNFSS-v8.1 scalable font definitions for T1/phv.</td> + </tr> + + <tr> + <td> t1ptm.fd </td> + <td> 2000/01/12 PSNFSS-v8.1 font definitions for T1/ptm.</td> + </tr> + + <tr> + <td> t2acmr.fd </td> + <td> 1999/01/07 v1.0 Computer Modern Cyrillic font definitions</td> + </tr> + + <tr> + <td> t2aenc.def </td> + <td> 1999/11/29 v1.0c Cyrillic encoding definition file</td> + </tr> + + <tr> + <td> t3enc.def </td> + <td> (version not available)</td> + </tr> + + <tr> + <td>textcomp.sty </td> + <td> 1999/12/08 v1.9x Standard LaTeX package</td> + </tr> + + <tr> + <td> times.sty </td> + <td> 2000/01/12 PSNFSS-v8.1 Times font as default roman (SPQR) </td> + </tr> + + <tr> + <td> tipa.sty </td> + <td> 1996/06/10 TIPA version 1.0</td> + </tr> + + <tr> + <td> trig.sty </td> + <td> 1999/03/16 v1.09 sin cos tan (DPC)</td> + </tr> + + <tr> + <td> ts1cmr.fd </td> + <td> 1999/05/25 v2.5h Standard LaTeX font definitions</td> + </tr> + + <tr> + <td> ts1enc.def </td> + <td> 1998/06/12 v3.0d (jk/car/fm) Standard LaTeX file</td> + </tr> + + <tr> + <td> ts1ptm.fd </td> + <td> 2000/01/12 PSNFSS-v8.1 font definitions for TS1/ptm.</td> + </tr> + + <tr> + <td> ulem.sty </td> + <td> 1997/04/21</td> + </tr> + + <tr> + <td> umsa.fd </td> + <td> 1995/01/05 v2.2e AMS font definitions</td> + </tr> + + <tr> + <td> umsb.fd </td> + <td> 1995/01/05 v2.2e AMS font definitions</td> + </tr> + + <tr> + <td> upsy.fd </td> + <td> 2000/01/12 PSNFSS-v8.1 font definitions for U/psy.</td> + </tr> + + <tr> + <td> upzd.fd </td> + <td> 2000/01/12 PSNFSS-v8.1 font definitions for U/pzd.</td> + </tr> + + <tr> + <td> url.sty </td> + <td> 1999/03/28 ver 1.5x Verb mode for urls, etc.</td> + </tr> + + <tr> + <td> Ustmry.fd </td> + <td> (version not available)</td> + </tr> + + <tr> + <td> uwasy.fd </td> + <td> 1999/05/13 v1.0iWasy-2 symbol font definitions</td> + </tr> + + <tr> + <td> wasysym.sty </td> + <td> 1999/05/13 v1.0i Wasy-2 symbol support package</td> + </tr> + + </table> + </div> + + </p> + + </div> + + </div> + + + + <div class="teidiv"> + <h2><a name="index-div-c16ab3b3b7"></a>4. Extensions + </h2> + + + <p><a name="c16ab3b3b7b3"></a> + PassiveTeX interprets MathML natively (elements must use the MathML namespace). + I also support a <tt>bookmark</tt> element in the + <tt>fotex</tt> namespace, used to make PDF bookmarks. Usage is like this: + <pre> +<xsl:template match="div2"> + <xsl:apply-templates select="head"/> + <fotex:bookmark + xmlns:fotex="http://www.tug.org/fotex" + fotex-bookmark-level="2" + fotex-bookmark-label="{@id}"> + <xsl:value-of select="head"/> + </fotex:bookmark> + </fo:block> +</xsl:template> +</pre> + </p> + + </div> + + + + <div class="teidiv"> + <h2><a name="index-div-c16ab3b3b9"></a>5. Notes on conformance to the XSL draft specification of November 2000 + </h2> + + + + <p><a name="c16ab3b3b9b5"></a> + The following general limitations apply to most of the PassiveTeX + implementation of XSL FO: + + <ol> + <li><a name="c16ab3b3b9b5b1b1"></a>The `px' unit is not recognised + </li> + <li><a name="c16ab3b3b9b5b1b3"></a>Absolute dimensions always work, but proportional ones + are often not recognized + </li> + <li><a name="c16ab3b3b9b5b1b5"></a>The functions allowed in attribute values are usually not + recognized + </li> + <li><a name="c16ab3b3b9b5b1b7"></a>There is no error checking at all, and all properies are + recognized; do not assume that they do anything... + </li> + </ol> + + </p> + + <p><a name="c16ab3b3b9b7"></a> + Most of the formatting objects are implemented more or less; the + following are not implemented at all: + + <ol> + <li><a name="c16ab3b3b9b7b1b1"></a><tt>fo:bidi-override</tt></li> + <li><a name="c16ab3b3b9b7b1b3"></a><tt>fo:color-profile</tt></li> + <li><a name="c16ab3b3b9b7b1b5"></a><tt>fo:declarations</tt></li> + <li><a name="c16ab3b3b9b7b1b7"></a><tt>fo:initial-property-set</tt></li> + <li><a name="c16ab3b3b9b7b1b9"></a><tt>fo:instream-foreign-object</tt></li> + <li><a name="c16ab3b3b9b7b1c11"></a><tt>fo:multi-case</tt></li> + <li><a name="c16ab3b3b9b7b1c13"></a><tt>fo:multi-properties</tt></li> + <li><a name="c16ab3b3b9b7b1c15"></a><tt>fo:multi-property-set</tt></li> + <li><a name="c16ab3b3b9b7b1c17"></a><tt>fo:multi-switch</tt></li> + <li><a name="c16ab3b3b9b7b1c19"></a><tt>fo:multi-toggle</tt></li> + <li><a name="c16ab3b3b9b7b1c21"></a><tt>fo:region-end</tt></li> + <li><a name="c16ab3b3b9b7b1c23"></a><tt>fo:region-start</tt></li> + <li><a name="c16ab3b3b9b7b1c25"></a><tt>fo:table-footer</tt></li> + </ol> + + </p> + + <div class="teidiv"> + <h3><a name="index-div-c16ab3b3b9b9"></a>5.1. Properties needed for basic conformance + </h3> + + <p><a name="c16ab3b3b9b9b2"></a> + + <div align="center"> + <table rules="all" border="1"> + + <tr> + <td>alignment-adjust</td> + <td>auto | percentage | length | inherit</td> + <td>Basic</td> + + <td>2. should be possible </td> + </tr> + + + <tr> + <td>azimuth</td> + <td>angle | [[ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side + ] || behind ] | leftwards | rightwards | inherit + </td> + <td>Basic</td> + + <td>4. N/A </td> + </tr> + + + <tr> + <td>background-color</td> + <td>color | transparent | inherit</td> + <td>Basic</td> + <td>3. does not really map in TeX </td> + </tr> + + + <tr> + <td>baseline-identifier</td> + <td>baseline | before-edge | text-before-edge | middle | after-edge + | text-after-edge | ideographic | alphabetic | hanging | mathematical + | inherit + </td> + <td>Basic</td> + + <td>3. not at all sure where to start </td> + </tr> + + + <tr> + <td>baseline-shift</td> + <td>baseline | sub | super | percentage | length | inherit</td> + <td>Basic</td> + + <td>1. basically works </td> + </tr> + + + <tr> + <td>block-progression-dimension</td> + <td>auto | length | percentage | length-range | inherit</td> + <td>Basic</td> + + <td>3. do not really understand it </td> + </tr> + + + <tr> + <td>border-after-color</td> + <td>color | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-after-style</td> + <td>border-style | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-after-width</td> + <td>border-width | length-conditional | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-before-color</td> + <td>color | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-before-style</td> + <td>border-style | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-before-width</td> + <td>border-width | length-conditional | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-bottom-color</td> + <td>color | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-bottom-style</td> + <td>border-style | inherit</td> + <td>Basic</td> + <td>1. used in places </td> + </tr> + + + <tr> + <td>border-bottom-width</td> + <td>border-width | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-end-color</td> + <td>color | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-end-style</td> + <td>border-style | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-end-width</td> + <td>border-width | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-left-color</td> + <td>color | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-left-style</td> + <td>border-style | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-left-width</td> + <td>border-width | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-right-color</td> + <td>color | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-right-style</td> + <td>border-style | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-right-width</td> + <td>border-width | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-start-color</td> + <td>color | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-start-style</td> + <td>border-style | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-start-width</td> + <td>border-width | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-top-color</td> + <td>color | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>border-top-style</td> + <td>border-style | inherit</td> + <td>Basic</td> + <td>1. used in places </td> + </tr> + + + <tr> + <td>border-top-width</td> + <td>border-width | inherit</td> + <td>Basic</td> + <td>2. works for blocks (non-breaking) </td> + </tr> + + + <tr> + <td>break-after</td> + <td>auto | column | page | even-page | odd-page | inherit</td> + <td>Basic</td> + <td>0. should be working </td> + </tr> + + + <tr> + <td>break-before</td> + <td>auto | column | page | even-page | odd-page | inherit</td> + <td>Basic</td> + <td>0. should be working </td> + </tr> + + + <tr> + <td>character</td> + <td>character</td> + <td>Basic</td> + <td>0. should be working </td> + </tr> + + + <tr> + <td>clip</td> + <td>shape | auto | inherit</td> + <td>Basic</td> + <td>2. theoretically possible </td> + </tr> + + + <tr> + <td>color</td> + <td>color | inherit</td> + <td>Basic</td> + <td>1. more or less complete </td> + </tr> + + + <tr> + <td>column-number</td> + <td>number</td> + <td>Basic</td> + <td>0. OK </td> + </tr> + + + <tr> + <td>column-width</td> + <td>length</td> + <td>Basic</td> + <td>0. OK </td> + </tr> + + + <tr> + <td>content-type</td> + <td>string | auto</td> + <td>Basic</td> + <td>4. N/A, I think </td> + </tr> + + + <tr> + <td>cue-after</td> + <td>uri | none | inherit </td> + <td>Basic</td> + <td>4. N/A </td> + </tr> + + + <tr> + <td>cue-before</td> + <td>uri | none | inherit </td> + <td>Basic</td> + <td>4. N/A </td> + </tr> + + + <tr> + <td>direction</td> + <td>ltr | rtl | inherit</td> + <td>Basic</td> + <td>3. waiting for extended TeX </td> + </tr> + + + <tr> + <td>display-align</td> + <td>auto | before | center | after | inherit</td> + <td>Basic</td> + + <td>0. working </td> + </tr> + + + <tr> + <td>dominant-baseline</td> + <td>auto | autosense-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical + | inherit + </td> + <td>Basic</td> + + <td>3. dont know where to begin </td> + </tr> + + + <tr> + <td>elevation</td> + <td>angle | below | level | above | higher | lower | inherit</td> + <td>Basic</td> + + <td>4. N/A </td> + </tr> + + + <tr> + <td>end-indent</td> + <td>length | inherit</td> + <td>Basic</td> + <td>0. working </td> + </tr> + + + <tr> + <td>flow-name</td> + <td>name</td> + <td>Basic</td> + <td>0. working </td> + </tr> + + + <tr> + <td>font-family</td> + <td>[[ family-name | generic-family ],]* [family-name | generic-family] | inherit</td> + <td>Basic</td> + + <td>1. more or less OK </td> + </tr> + + + <tr> + <td>font-size</td> + <td>absolute-size | relative-size | length | percentage | inherit</td> + <td>Basic</td> + + <td>1. more or less all implemented </td> + </tr> + + + <tr> + <td>font-style</td> + <td>normal | italic | oblique | backslant | inherit</td> + <td>Basic</td> + <td>1. no oblique or backslant </td> + </tr> + + + <tr> + <td>font-variant</td> + <td>normal | small-caps | inherit</td> + <td>Basic</td> + <td>0. done </td> + </tr> + + + <tr> + <td>font-weight</td> + <td>normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit</td> + <td>Basic</td> + + <td>1. normal and bold only at present, others to follow</td> + </tr> + + + <tr> + <td>format</td> + <td>string</td> + <td>Basic</td> + <td>3. dont want to think about it </td> + </tr> + + + <tr> + <td>grouping-separator</td> + <td>character</td> + <td>Basic</td> + <td>3. dont want to think about it </td> + </tr> + + + <tr> + <td>grouping-size</td> + <td>number</td> + <td>Basic</td> + <td>3. dont want to think about it </td> + </tr> + + + <tr> + <td>height</td> + <td>length | percentage | auto | inherit</td> + <td>Basic</td> + <td>2. should be OK, waiting for a need </td> + </tr> + + + <tr> + <td>id</td> + <td> id</td> + <td>Basic</td> + <td>0. used </td> + </tr> + + + <tr> + <td>initial-page-number</td> + <td>auto | auto-odd | auto-even | number | inherit</td> + <td>Basic</td> + <td>0. done </td> + </tr> + + + <tr> + <td>inline-progression-dimension</td> + <td>auto | length | percentage | length-range | inherit</td> + <td>Basic</td> + + <td>3. have not considered at all </td> + </tr> + + + <tr> + <td>keep-with-next</td> + <td>keep | inherit</td> + <td>Basic</td> + <td>1. done in theory, not working 100%</td> + </tr> + + + <tr> + <td>keep-with-previous</td> + <td>keep | inherit</td> + <td>Basic</td> + <td>1. done in theory, not working 100% </td> + </tr> + + + <tr> + <td>leader-length</td> + <td>length-range | inherit</td> + <td>Basic</td> + <td>2. waiting to do soon </td> + </tr> + + + <tr> + <td>leader-pattern</td> + <td>space | rule | dots | use-content | inherit</td> + <td>Basic</td> + <td>2. waiting to do soon </td> + </tr> + + + <tr> + <td>letter-value</td> + <td>auto | alphabetic | traditional</td> + <td>Basic</td> + <td>3. dont want to think about it </td> + </tr> + + + <tr> + <td>line-height</td> + <td>normal | length | number | percentage | space | inherit</td> + <td>Basic</td> + + <td>1. largely done </td> + </tr> + + + <tr> + <td>line-stacking-strategy</td> + <td>line-height | font-height | max-height | inherit</td> + <td>Basic</td> + <td>3. untouched </td> + </tr> + + + <tr> + <td>margin-bottom</td> + <td>margin-width | inherit</td> + <td>Basic</td> + <td>1. done in places </td> + </tr> + + + <tr> + <td>margin-left</td> + <td>margin-width | inherit</td> + <td>Basic</td> + <td>1. done in places </td> + </tr> + + + <tr> + <td>margin-right</td> + <td>margin-width | inherit</td> + <td>Basic</td> + <td>1. done in places </td> + </tr> + + + <tr> + <td>margin-top</td> + <td>margin-width | inherit</td> + <td>Basic</td> + <td>1. done in places </td> + </tr> + + + <tr> + <td>master-name</td> + <td>name</td> + <td>Basic</td> + <td>0. ok </td> + </tr> + + + <tr> + <td>max-height</td> + <td>length | percentage | none | inherit </td> + <td>Basic</td> + <td>2. should be doable </td> + </tr> + + + <tr> + <td>max-width</td> + <td>length | percentage | none | inherit</td> + <td>Basic</td> + <td>2. should be doable </td> + </tr> + + + <tr> + <td>min-height</td> + <td>length | percentage | inherit </td> + <td>Basic</td> + <td>2. should be doable </td> + </tr> + + + <tr> + <td>min-width</td> + <td>length | percentage | inherit</td> + <td>Basic</td> + <td>2. should be doable </td> + </tr> + + + <tr> + <td>number-columns-repeated</td> + <td>number</td> + <td>Basic</td> + + <td>2. doable in theory </td> + </tr> + + + <tr> + <td>number-columns-spanned</td> + <td>number</td> + <td>Basic</td> + <td>2. doable in theory </td> + </tr> + + + <tr> + <td>number-rows-spanned</td> + <td>number</td> + <td>Basic</td> + <td>2. doable in theory </td> + </tr> + + + <tr> + <td>orphans</td> + <td>integer | inherit</td> + <td>Basic</td> + <td>2. should be doable </td> + </tr> + + + <tr> + <td>overflow</td> + <td>visible | hidden | scroll | auto | inherit</td> + <td>Basic</td> + <td>2. theoretically </td> + </tr> + + + <tr> + <td>padding-after</td> + <td>padding-width | length-conditional | inherit</td> + <td>Basic</td> + <td>1. implemented crudely </td> + </tr> + + + <tr> + <td>padding-before</td> + <td>padding-width | length-conditional | inherit</td> + <td>Basic</td> + <td>1. implemented crudely </td> + </tr> + + + <tr> + <td>padding-bottom</td> + <td>padding-width | inherit</td> + <td>Basic</td> + <td>1. implemented crudely </td> + </tr> + + + <tr> + <td>padding-end</td> + <td>padding-width | inherit</td> + <td>Basic</td> + <td>1. implemented crudely </td> + </tr> + + + <tr> + <td>padding-left</td> + <td>padding-width | inherit</td> + <td>Basic</td> + <td>1. implemented crudely </td> + </tr> + + + <tr> + <td>padding-right</td> + <td>padding-width | inherit</td> + <td>Basic</td> + <td>1. implemented crudely </td> + </tr> + + + <tr> + <td>padding-start</td> + <td>padding-width | inherit</td> + <td>Basic</td> + <td>1. implemented crudely </td> + </tr> + + + <tr> + <td>padding-top</td> + <td>padding-width | inherit</td> + <td>Basic</td> + <td>1. implemented crudely </td> + </tr> + + + <tr> + <td>page-break-after</td> + <td>auto | always | avoid | left | right | inherit</td> + <td>Basic</td> + <td>1. Mostly implemented </td> + </tr> + + + <tr> + <td>page-break-before</td> + <td>auto | always | avoid | left | right | inherit</td> + <td>Basic</td> + <td>1. Mostly implemented </td> + </tr> + + + <tr> + <td>page-height</td> + <td>auto | indefinite | length | inherit</td> + <td>Basic</td> + <td>1. not all possibilities</td> + </tr> + + + <tr> + <td>page-width</td> + <td>auto | indefinite | length | inherit</td> + <td>Basic</td> + <td>1. not all possibilities</td> + </tr> + + + <tr> + <td>pause-after</td> + <td>time | percentage | inherit</td> + <td>Basic</td> + <td>4. N/A </td> + </tr> + + + <tr> + <td>pause-before</td> + <td>time | percentage | inherit</td> + <td>Basic</td> + <td>4. N/A </td> + </tr> + + + <tr> + <td>pitch</td> + <td>frequency | x-low | low | medium | high | x-high | inherit</td> + <td>Basic</td> + + <td>4. N/A </td> + </tr> + + + <tr> + <td>pitch-range</td> + <td>number | inherit</td> + <td>Basic</td> + <td>4. N/A </td> + </tr> + + + <tr> + <td>play-during</td> + <td>uri mix? repeat? | auto | none | inherit </td> + <td>Basic</td> + <td>4. N/A </td> + </tr> + + + <tr> + <td>precedence</td> + <td>true | false | inherit</td> + <td>Basic</td> + <td>3. do not know where to start </td> + </tr> + + + <tr> + <td>provisional-distance-between-starts</td> + <td>length | inherit</td> + <td>Basic</td> + <td>1. does something, probably wrong </td> + </tr> + + + <tr> + <td>provisional-label-separation</td> + <td>length | inherit</td> + <td>Basic</td> + <td>1. does something, probably wrong </td> + </tr> + + + <tr> + <td>ref-id</td> + <td>idref | inherit</td> + <td>Basic</td> + <td>0. used in pagenumber </td> + </tr> + + + <tr> + <td>reference-orientation</td> + <td> 0 | 90 | 180 | 270 | -90 | -180 | -270 | inherit</td> + <td>Basic</td> + <td>2. doable for most objects </td> + </tr> + + + <tr> + <td>region-name</td> + <td>xsl-region-body | xsl-region-start | xsl-region-end | xsl-region-before | xsl-region-after | xsl-before-float-separator + | xsl-footnote-separator | name + </td> + <td>Basic</td> + + <td>0. done </td> + </tr> + + + <tr> + <td>relative-align</td> + <td>before | baseline | inherit</td> + <td>Basic</td> + + <td>3. have not got to grips with this </td> + </tr> + + + <tr> + <td>richness</td> + <td>number | inherit</td> + <td>Basic</td> + <td>4. N/A </td> + </tr> + + + <tr> + <td>role</td> + <td>string | none | inherit</td> + <td>Basic</td> + <td>4. N/A what should I do with it?</td> + </tr> + + + <tr> + <td>rule-style</td> + <td>none | dotted | dashed | solid | double | groove | ridge | inherit</td> + <td>Basic</td> + + <td>1. done as far as possible </td> + </tr> + + + <tr> + <td>rule-thickness</td> + <td>length</td> + <td>Basic</td> + <td>0. done </td> + </tr> + + + <tr> + <td>source-document</td> + <td>uri+ | none | inherit</td> + <td>Basic</td> + <td>4. N/A not sure what to do with it</td> + </tr> + + + <tr> + <td>space-after</td> + <td>space | inherit</td> + <td>Basic</td> + <td>1. working more or less </td> + </tr> + + + <tr> + <td>space-before</td> + <td>space | inherit</td> + <td>Basic</td> + <td>1. working more or less </td> + </tr> + + + <tr> + <td>space-end</td> + <td>space | inherit</td> + <td>Basic</td> + <td>1. working more or less </td> + </tr> + + + <tr> + <td>space-start</td> + <td>space | inherit</td> + <td>Basic</td> + <td>1. working more or less </td> + </tr> + + + <tr> + <td>speak</td> + <td>normal | none | spell-out | inherit</td> + <td>Basic</td> + <td>4. N/A </td> + </tr> + + + <tr> + <td>speak-header</td> + <td>once | always | inherit</td> + <td>Basic</td> + <td>4. N/A </td> + </tr> + + + <tr> + <td>speak-numeral</td> + <td>digits | continuous | inherit</td> + <td>Basic</td> + <td>4. N/A </td> + </tr> + + + <tr> + <td>speak-punctuation</td> + <td>code | none | inherit</td> + <td>Basic</td> + <td>4. N/A </td> + </tr> + + + <tr> + <td>speech-rate</td> + <td>number | x-slow | slow | medium | fast | x-fast | faster | slower | inherit</td> + <td>Basic</td> + + <td>4. N/A </td> + </tr> + + + <tr> + <td>src</td> + <td> uri | inherit</td> + <td>Basic</td> + <td>0. implemented </td> + </tr> + + + <tr> + <td>start-indent</td> + <td>length | inherit</td> + <td>Basic</td> + <td>0. done </td> + </tr> + + + <tr> + <td>stress</td> + <td>number | inherit</td> + <td>Basic</td> + <td>4. N/A </td> + </tr> + + + <tr> + <td>text-align</td> + <td>start | center | end | justify | inside | outside | left | right | string | inherit</td> + <td>Basic</td> + + <td>0. done </td> + </tr> + + + <tr> + <td>text-indent</td> + <td>length | percentage | inherit</td> + <td>Basic</td> + <td>0. done </td> + </tr> + + + <tr> + <td>visibility</td> + <td>visible | hidden | collapse | inherit</td> + <td>Basic</td> + <td>2. I think can do this </td> + </tr> + + + <tr> + <td>voice-family</td> + <td>[[specific-voice | generic-voice ],]* [specific-voice | generic-voice ] | inherit</td> + <td>Basic</td> + + <td>4. N/A </td> + </tr> + + + <tr> + <td>volume</td> + <td>number | percentage | silent | x-soft | soft | medium | loud | x-loud | inherit</td> + <td>Basic</td> + + <td>4. N/A </td> + </tr> + + + <tr> + <td>widows</td> + <td>integer | inherit</td> + <td>Basic</td> + <td>2. should be doable </td> + </tr> + + + <tr> + <td>width</td> + <td>length | percentage | auto | inherit</td> + <td>Basic</td> + <td>2. should be OK, waiting for a need </td> + </tr> + + + <tr> + <td>wrap-option</td> + <td>no-wrap | wrap | inherit</td> + <td>Basic</td> + <td>0. should be working </td> + </tr> + + + <tr> + <td>writing-mode</td> + <td>lr-tb | rl-tb | tb-rl | lr | rl | tb | inherit</td> + <td>Basic</td> + <td>3. will need an extended TeX </td> + </tr> + + + <tr> + <td>z-index</td> + <td>auto | integer | inherit</td> + <td>Basic</td> + <td>3. dont know where to start </td> + </tr> + + </table> + </div> + + </p> + + </div> + + + + <div class="teidiv"> + <h3><a name="index-div-c16ab3b3b9c11"></a>5.2. Properties needed for full conformance + </h3> + + <p><a name="c16ab3b3b9c11b2"></a> + + <div align="center"> + <table rules="all" border="1"> + + <tr> + <td>absolute-position</td> + <td>auto | absolute | fixed | inherit</td> + <td>Complete</td> + <td>2. should be doable </td> + </tr> + + + <tr> + <td>background</td> + <td>[background-color || background-image + || background-repeat || background-attachment || background-position + | ]]inherit + </td> + <td>Complete</td> + + <td>1. implemented but very fragile </td> + </tr> + + + <tr> + <td>background-position</td> + <td>[ [percentage | length ]{1,2} | [ [top | center | bottom] || [left | center | right] ] ] | inherit</td> + <td>Complete</td> + + <td> </td> + </tr> + + + <tr> + <td>border</td> + <td>[ border-width || border-style || color ] | inherit</td> + <td>Complete</td> + + <td> </td> + </tr> + + + <tr> + <td>border-bottom</td> + <td>[ border-top-width || border-style || color ] | inherit</td> + <td>Complete</td> + + <td> </td> + </tr> + + + <tr> + <td>border-color</td> + <td>color{1,4} | transparent | inherit</td> + <td>Complete</td> + <td> </td> + </tr> + + + <tr> + <td>border-left</td> + <td>[ border-top-width || border-style || color ] | inherit</td> + <td>Complete</td> + + <td> </td> + </tr> + + + <tr> + <td>border-right</td> + <td>[ border-top-width || border-style || color ] | inherit</td> + <td>Complete</td> + + <td> </td> + </tr> + + + <tr> + <td>border-spacing</td> + <td>length length? | inherit</td> + <td>Complete</td> + <td> </td> + </tr> + + + <tr> + <td>border-style</td> + <td>border-style{1,4} | inherit</td> + <td>Complete</td> + <td> </td> + </tr> + + + <tr> + <td>border-top</td> + <td>[ border-top-width || border-style || color ] | inherit</td> + <td>Complete</td> + + <td> </td> + </tr> + + + <tr> + <td>border-width</td> + <td>border-width{1,4} | inherit</td> + <td>Complete</td> + <td> </td> + </tr> + + + <tr> + <td>caption-side</td> + <td>before | after | start | end | top | bottom | left | right | inherit</td> + <td>Complete</td> + <td> </td> + </tr> + + + <tr> + <td>cue</td> + <td>cue-before || cue-after | inherit</td> + <td>Complete</td> + <td> </td> + </tr> + + + <tr> + <td>font</td> + <td>[ [ font-style || font-variant || font-weight ]? font-size [ / line-height]? font-family + ] | caption | icon | menu | message-box | small-caption | status-bar + | inherit + </td> + <td>Complete</td> + + <td> </td> + </tr> + + + <tr> + <td>margin</td> + <td>margin-width{1,4} | inherit </td> + <td>Complete</td> + <td> </td> + </tr> + + + <tr> + <td>padding</td> + <td>padding-width{1,4} | inherit</td> + <td>Complete</td> + <td> </td> + </tr> + + + <tr> + <td>page-break-inside</td> + <td>avoid | auto | inherit</td> + <td>Complete</td> + <td> </td> + </tr> + + + <tr> + <td>pause</td> + <td>[time | percentage]{1,2} | inherit</td> + <td>Complete</td> + <td> </td> + </tr> + + + <tr> + <td>position</td> + <td>static | relative | absolute | fixed | inherit</td> + <td>Complete</td> + <td> </td> + </tr> + + + <tr> + <td>size</td> + <td>length{1,2} | auto | landscape | portrait | inherit</td> + <td>Complete</td> + + <td> </td> + </tr> + + + <tr> + <td>vertical-align</td> + <td>baseline | middle | sub | super | text-top | text-bottom | percentage | length | top | bottom | inherit</td> + <td>Complete</td> + + <td> </td> + </tr> + + + <tr> + <td>white-space</td> + <td>normal | pre | nowrap | inherit</td> + <td>Complete</td> + <td> </td> + </tr> + + + <tr> + <td>xml:lang</td> + <td>country-language | inherit</td> + <td>Complete</td> + <td>2. not done yet, but will be </td> + </tr> + + </table> + </div> + + </p> + + </div> + + + <div class="teidiv"> + <h3><a name="index-div-c16ab3b3b9c13"></a>5.3. Properties needed for extended conformance + </h3> + + <p><a name="c16ab3b3b9c13b2"></a> + + <div align="center"> + <table rules="all" border="1"> + + <tr> + <td>table-layout</td> + <td>auto | fixed | inherit</td> + <td>Extended.Fallback: fixed</td> + <td> </td> + </tr> + + + <tr> + <td>background-attachment</td> + <td>scroll | fixed | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>2. I can see where I might start </td> + </tr> + + + <tr> + <td>background-image</td> + <td>uri | none | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>2. I can see where I might start </td> + </tr> + + + <tr> + <td>background-position-horizontal</td> + <td>percentage | length | left | center | right | inherit</td> + <td>Extended.Fallback: Initial value</td> + + <td>2. I can see where I might start </td> + </tr> + + + <tr> + <td>background-position-vertical</td> + <td>percentage | length | top | center | bottom | inherit</td> + <td>Extended.Fallback: Initial value</td> + + <td>2. I can see where I might start </td> + </tr> + + + <tr> + <td>border-collapse</td> + <td>collapse | separate | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td> </td> + </tr> + + + <tr> + <td>border-separation</td> + <td>length-bp-ip-direction | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td> </td> + </tr> + + + <tr> + <td>column-count</td> + <td>number | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>0. implemented </td> + </tr> + + + <tr> + <td>content-height</td> + <td>auto | length | percentage | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>1. done for graphics </td> + </tr> + + + <tr> + <td>content-width</td> + <td>auto | length | percentage | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>1. done for graphics </td> + </tr> + + + <tr> + <td>country</td> + <td>none | country | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>2. waiting to find a use for it </td> + </tr> + + + <tr> + <td>empty-cells</td> + <td>show | hide | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td> </td> + </tr> + + + <tr> + <td>ends-row</td> + <td>yes | no</td> + <td>Extended.Fallback: Initial value</td> + <td> </td> + </tr> + + + <tr> + <td>font-height-override-after</td> + <td>use-font-metrics | length | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>3. need extended TeX </td> + </tr> + + + <tr> + <td>font-height-override-before</td> + <td>use-font-metrics | length | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>3. need extended TeX </td> + </tr> + + + <tr> + <td>font-size-adjust</td> + <td>number | none | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>2. doable, I think </td> + </tr> + + + <tr> + <td>font-stretch</td> + <td>normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | + expanded | extra-expanded | ultra-expanded |inherit + </td> + <td>Extended.Fallback: Initial value</td> + + <td>0. should be OK </td> + </tr> + + + <tr> + <td>glyph-orientation-horizontal</td> + <td>angle | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>3. need extended TeX </td> + </tr> + + + <tr> + <td>glyph-orientation-vertical</td> + <td>auto | angle | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>3. need extended TeX </td> + </tr> + + + <tr> + <td>hyphenate</td> + <td>false | true | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>0. done </td> + </tr> + + + <tr> + <td>keep-together</td> + <td>keep | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td> </td> + </tr> + + + <tr> + <td>language</td> + <td>none | language | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>0. done, if underlying TeX system OK </td> + </tr> + + + <tr> + <td>last-line-end-indent</td> + <td>length | percentage | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td> </td> + </tr> + + + <tr> + <td>leader-alignment</td> + <td>none | reference-area | page | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td> </td> + </tr> + + + <tr> + <td>leader-pattern-width</td> + <td>use-font-metrics | length | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td> </td> + </tr> + + + <tr> + <td>letter-spacing</td> + <td>normal | length | space | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>2. doable in limited circumstances </td> + </tr> + + + <tr> + <td>line-height-shift-adjustment</td> + <td>consider-shifts | disregard-shifts | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td> </td> + </tr> + + + <tr> + <td>linefeed-treatment</td> + <td>ignore | preserve | treat-as-space | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>2. doable, if tiresome </td> + </tr> + + + <tr> + <td>relative-position</td> + <td>auto | static | relative | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td> </td> + </tr> + + + <tr> + <td>scaling</td> + <td>uniform | non-uniform | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>0. ok </td> + </tr> + + + <tr> + <td>scaling-method</td> + <td>auto | integer-pixels | resample-any-method | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>4. N/A, I think </td> + </tr> + + + <tr> + <td>score-spaces</td> + <td>true | false | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>3. dont think I can do this </td> + </tr> + + + <tr> + <td>space-treatment</td> + <td>ignore | preserve | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>0. seems to work </td> + </tr> + + + <tr> + <td>span</td> + <td>none | all | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>3. proving hard </td> + </tr> + + + <tr> + <td>starts-row</td> + <td>yes | + no + </td> + <td>Extended.Fallback: Initial value</td> + + <td>0. works</td> + </tr> + + + <tr> + <td>suppress-at-line-break</td> + <td>auto | suppress | retain | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td> </td> + </tr> + + + <tr> + <td>table-omit-footer-at-break</td> + <td>yes | no</td> + <td>Extended.Fallback: Initial value</td> + <td> </td> + </tr> + + + <tr> + <td>table-omit-header-at-break</td> + <td>yes | no</td> + <td>Extended.Fallback: Initial value</td> + <td> </td> + </tr> + + + <tr> + <td>text-align-last</td> + <td>relative | start | center | end | justify | inside | outside | left | right | string | inherit</td> + <td>Extended.Fallback: Initial value</td> + + <td>1. works, usually </td> + </tr> + + + <tr> + <td>text-decoration</td> + <td>none | [ [ underline | no-underline] || [ overline | no-overline ] || [ line-through | no-line-through ] || [ blink | no-blink + ] ] + + | inherit + </td> + <td>Extended.Fallback: Initial value</td> + + <td>1. done for some possibilities, not all </td> + </tr> + + + <tr> + <td>text-shadow</td> + <td>none | [color || length length length? ,]* [color || length length length?] | inherit</td> + <td>Extended.Fallback: Initial value</td> + + <td> </td> + </tr> + + + <tr> + <td>text-transform</td> + <td>capitalize | uppercase | lowercase | none | </td> + <td>Extended.Fallback: Initial value</td> + <td>2. doable </td> + </tr> + + + <tr> + <td>treat-as-word-space</td> + <td>auto | yes | no | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td> </td> + </tr> + + + <tr> + <td>white-space-collapse</td> + <td>false | true | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td>0. Done </td> + </tr> + + + <tr> + <td>word-spacing</td> + <td>normal | length | space | inherit</td> + <td>Extended.Fallback: Initial value</td> + <td> </td> + </tr> + + + <tr> + <td>bottom</td> + <td>length | percentage | auto | inherit</td> + <td>Extended.Fallback: N/A due to fallback for absolute-position, relative-position</td> + <td>2. doable, I think </td> + </tr> + + + <tr> + <td>left</td> + <td>length | percentage | auto | inherit</td> + <td>Extended.Fallback: N/A due to fallback for absolute-position, relative-position</td> + <td>2. doable, I think </td> + </tr> + + + <tr> + <td>right</td> + <td>length | percentage | auto | inherit</td> + <td>Extended.Fallback: N/A due to fallback for absolute-position, relative-position</td> + <td>2. doable, I think </td> + </tr> + + + <tr> + <td>top</td> + <td>length | percentage | auto | inherit</td> + <td>Extended.Fallback: N/A due to fallback for absolute-position, relative-position</td> + <td>2. doable, I think </td> + </tr> + + + <tr> + <td>column-gap</td> + <td>length | percentage | inherit</td> + <td>Extended.Fallback: N/A due to fallback for column-count</td> + <td>1. implemented (not for all value types) </td> + </tr> + + + <tr> + <td>hyphenation-character</td> + <td>character | inherit</td> + <td>Extended.Fallback: N/A due to fallback for hyphenate</td> + <td>3. need to think about how to do this </td> + </tr> + + + <tr> + <td>hyphenation-keep</td> + <td>auto | column | page | inherit</td> + <td>Extended.Fallback: N/A due to fallback for hyphenate</td> + <td>3. not sure how to do this </td> + </tr> + + + <tr> + <td>hyphenation-ladder-count</td> + <td>no-limit | number | inherit</td> + <td>Extended.Fallback: N/A due to fallback for hyphenate</td> + <td>3. I dont see how to do this </td> + </tr> + + + <tr> + <td>hyphenation-push-character-count</td> + <td>number | inherit</td> + <td>Extended.Fallback: N/A due to fallback for hyphenate</td> + <td>2. I think this maps in TeX </td> + </tr> + + + <tr> + <td>hyphenation-remain-character-count</td> + <td>number | inherit</td> + <td>Extended.Fallback: N/A due to fallback for hyphenate</td> + <td>2. I think this maps in TeX </td> + </tr> + + + <tr> + <td>color-profile-name</td> + <td>name | inherit</td> + <td>Extended.Fallback: N/A use fallback for fo:color-profile</td> + <td>3. would need a lot of thought </td> + </tr> + + + <tr> + <td>rendering-intent</td> + <td>auto | perceptual | relative-colorimetric | saturation | absolute-colorimetric | inherit</td> + <td>Extended.Fallback: N/A use fallback for fo:color-profile</td> + <td>3. not sure how to do this </td> + </tr> + + + <tr> + <td>clear</td> + <td>start | end | left | right | both | none | inherit</td> + <td>Extended.Fallback: N/A use fallback for fo:float</td> + <td> </td> + </tr> + + + <tr> + <td>float</td> + <td>before | start | end | left | right | none | inherit</td> + <td>Extended.Fallback: N/A use fallback for fo:float</td> + <td> </td> + </tr> + + + <tr> + <td>marker-class-name</td> + <td>name</td> + <td>Extended.Fallback: N/A use fallback for fo:marker</td> + <td> </td> + </tr> + + + <tr> + <td>active-state</td> + <td>link | visited | active | hover | focus</td> + <td>Extended.Fallback: N/A use fallback for fo:multi-properties</td> + <td> </td> + </tr> + + + <tr> + <td>auto-restore</td> + <td>yes | no</td> + <td>Extended.Fallback: N/A use fallback for fo:multi-switch</td> + <td> </td> + </tr> + + + <tr> + <td>case-name</td> + <td>name</td> + <td>Extended.Fallback: N/A use fallback for fo:multi-switch</td> + <td> </td> + </tr> + + + <tr> + <td>case-title</td> + <td>string</td> + <td>Extended.Fallback: N/A use fallback for fo:multi-switch</td> + <td> </td> + </tr> + + + <tr> + <td>starting-state</td> + <td>show | hide</td> + <td>Extended.Fallback: N/A use fallback for fo:multi-switch</td> + <td> </td> + </tr> + + + <tr> + <td>switch-to</td> + <td>xsl-preceding | xsl-following | xsl-any | name[ name]*</td> + <td>Extended.Fallback: N/A use fallback for fo:multi-switch</td> + <td> </td> + </tr> + + + <tr> + <td>extent</td> + <td>length | percentage | inherit</td> + <td>Extended.Fallback: N/A use fallback for fo:region-before, fo:region-after, fo:region-start, and fo:region-end</td> + <td> </td> + </tr> + + + <tr> + <td>blank-or-not-blank</td> + <td>blank | not-blank | any | inherit</td> + <td>Extended.Fallback: N/A use fallback for fo:repeatable-page-master-alternatives</td> + <td>3. dont want to think about it </td> + </tr> + + + <tr> + <td>odd-or-even</td> + <td>odd | even | any | inherit</td> + <td>Extended.Fallback: N/A use fallback for fo:repeatable-page-master-alternatives</td> + <td> </td> + </tr> + + + <tr> + <td>page-position</td> + <td>first | last | rest | any | inherit</td> + <td>Extended.Fallback: N/A use fallback for fo:repeatable-page-master-alternatives</td> + <td> </td> + </tr> + + + <tr> + <td>maximum-repeats</td> + <td>number | no-limit | inherit</td> + <td>Extended.Fallback: N/A use fallback for fo:repeatable-page-master-reference and fo:repeatable-page-master-alternatives</td> + <td> </td> + </tr> + + + <tr> + <td>retrieve-boundary</td> + <td>page | page-sequence | document</td> + <td>Extended.Fallback: N/A use fallback for fo:retrieve-marker</td> + <td> </td> + </tr> + + + <tr> + <td>retrieve-class-name</td> + <td>name</td> + <td>Extended.Fallback: + N/A use fallback for fo:retrieve-marker + </td> + <td>1. works usually </td> + </tr> + + + <tr> + <td>retrieve-position</td> + <td>first-starting-within-page | first-including-carryover | last-starting-within-page | last-ending-within-page</td> + <td>Extended.Fallback: N/A use fallback for fo:retrieve-marker</td> + + <td> </td> + </tr> + + + <tr> + <td>destination-placement-offset</td> + <td>length</td> + <td>Extended.Fallback: N/A use fallback for fo:simple-link</td> + <td> </td> + </tr> + + + <tr> + <td>external-destination</td> + <td>uri-reference</td> + <td>Extended.Fallback: + N/A use fallback for fo:simple-link + </td> + <td>0. works ok </td> + </tr> + + + <tr> + <td>indicate-destination</td> + <td>yes | + no + </td> + <td>Extended.Fallback: N/A use fallback for + fo:simple-link + </td> + <td>1. should work </td> + </tr> + + + <tr> + <td>internal-destination</td> + <td>null string | + idref + </td> + <td>Extended.Fallback: N/A use fallback for + fo:simple-link + </td> + <td>0. works </td> + </tr> + + + <tr> + <td>show-destination</td> + <td>replace | new</td> + <td>Extended.Fallback: N/A use fallback for fo:simple-link</td> + <td> </td> + </tr> + + + <tr> + <td>force-page-count</td> + <td>auto | even | odd | end-on-even | end-on-odd | no-force | inherit</td> + <td>Extended.Fallback: no-force</td> + + <td> </td> + </tr> + + + <tr> + <td>background-repeat</td> + <td>repeat | repeat-x | repeat-y | no-repeat | inherit</td> + <td>Extended.Fallback: no-repeat</td> + <td> </td> + </tr> + + + <tr> + <td>script</td> + <td>none | auto | script | inherit</td> + <td>Extended.Fallback: none</td> + <td>4. dont know what to do with it </td> + </tr> + + + <tr> + <td>unicode-bidi</td> + <td>normal | embed | bidi-override | inherit</td> + <td>Extended.Fallback: See prose</td> + <td> </td> + + </tr> + + </table> + </div> + + </p> + + </div> + + + </div> + + + <div class="teidiv"> + <h2><a name="index-div-c16ab3b3c11"></a>6. Sample files + </h2> + + + <p><a name="c16ab3b3c11b3"></a> + + <ul> + <li><a name="c16ab3b3c11b3b1b1"></a> The TEI Lite description (<a href="test/teiu5.xml" target="_top">teiu5.xml</a>) converted PDF as <a href="test/teiu5.pdf" target="_top">teiu5.pdf</a></li> + <li><a name="c16ab3b3c11b3b1b3"></a> A TEI test file (<a href="test/exercise.xml" target="_top">exercise.xml</a>) + converted to PDF as <a href="test/exercise.pdf" target="_top">exercise.pdf</a></li> + <li><a name="c16ab3b3c11b3b1b5"></a> A physics paper (<a href="test/latextei.xml" target="_top">latextei.xml</a>) containing a fair + amount of MathML markup, originally + translated from LaTeX into XML. + It is used extensively as an example in the + <a href="http://cseng.awl.com/bookpage.taf?ISBN=0-201-43311-7&ptype=0&catid=&navmin=&ctype=author&catpage=&seriesid=" target="_top">LaTeX Web Companion</a>. + Here we see it + converted to <a href="test/latextei.pdf" target="_top">latextei.pdf</a> using + <a href="test/latextei.xsl" target="_top">test/latextei.xsl</a></li> + <li><a name="c16ab3b3c11b3b1b7"></a> James Tauber prepared a simple XSL spec (<a href="test/darkness.xsl" target="_top">darkness.xsl</a>) for Joseph Conrad's + <a href="test/darkness.xml" target="_top"><em>Heart of + Darkness</em></a>, which I ran to PDF as <a href="test/darkness.pdf" target="_top">darkness.pdf</a></li> + </ul> + + </p> + + </div> + + + <div class="teidiv"> + <h2><a name="index-div-c16ab3b3c13"></a>7. Concerns and problems + </h2> + + + <p><a name="c16ab3b3c13b3"></a> + Some points to bear in mind + + <ol> + <li><a name="c16ab3b3c13b3b1b1"></a> Obviously, the XSL FO spec is still a draft. + And this system is not conforming + precisely to the current draft. + </li> + <li><a name="c16ab3b3c13b3b1b3"></a> This is an experiment system to check whether the + idea works. Expect something more polished eventually. + </li> + <li><a name="c16ab3b3c13b3b1b5"></a> You need a modern TeX setup (like + <a href="http://www.tug.org/teTeX/" target="_top">teTeX</a> or + <a href="http://www.tug.org/texlive/" target="_top">TeX Live</a>) + to get to grips with it. + </li> + <li><a name="c16ab3b3c13b3b1b7"></a> Quite a few flow objects and characteristics are not dealt with yet. + I will add support for more things as needed or requested. + </li> + <li><a name="c16ab3b3c13b3b1b9"></a> I do not have any objective check that what I think XSL FOs are + supposed to do is actually right :-} + </li> + <li><a name="c16ab3b3c13b3b1c11"></a> I have only worked so far with the TEI Lite (XML version) and + Docbook DTDs, and probably misinterpreted half of what they say. + </li> + </ol> + + </p> + + </div> + + + <div class="teidiv"> + <h2><a name="index-div-c16ab3b3c15"></a>8. Things for LaTeX users to remember + </h2> + + + <p><a name="c16ab3b3c15b3"></a> + + <ul> + <li><a name="c16ab3b3c15b3b1b1"></a> No use is made of LaTeX high-level constructs. No sections, + no lists, no cross-refs, no bibliographies; on the other hand, + some extensions in the <tt>fotex:</tt> namespace are supported + (eg to get Acrobat bookmarks) + + </li> + <li><a name="c16ab3b3c15b3b1b3"></a> XSL FO's underlying character set is Unicode; by default, + entities are mapped to their Unicode position; + + </li> + <li><a name="c16ab3b3c15b3b1b5"></a> All vertical and horizontal space is explicit in the + specification + + </li> + <li><a name="c16ab3b3c15b3b1b7"></a> Page and line breaking is left to TeX: the rest is up to you. + + </li> + </ul> + + </p> + + </div> + + + <div class="teidiv"> + <h2><a name="index-div-c16ab3b3c17"></a>9. Future directions + </h2> + + + <p><a name="c16ab3b3c17b3"></a> + + <ul> + <li><a name="c16ab3b3c17b3b1b1"></a>Complete the MathML handling + </li> + <li><a name="c16ab3b3c17b3b1b3"></a>Handle more variety in property values (eg colors, fonts) + </li> + <li><a name="c16ab3b3c17b3b1b5"></a>Deal with more complex tables + </li> + <li><a name="c16ab3b3c17b3b1b7"></a>Support SVG. How? + + <ul> + <li><a name="c16ab3b3c17b3b1b7b1b1"></a>By direct intepretation and mapping to raw PDF + </li> + <li><a name="c16ab3b3c17b3b1b7b1b3"></a>By translation to MetaPost, and spawning a MetaPost process + </li> + <li><a name="c16ab3b3c17b3b1b7b1b5"></a>By pre-processing to existing TeX graphics languages + </li> + </ul> + In any case, SVG fragments need to be recognized directly to perform in-line + graphical functions (setting text at an angle?) + + </li> + <li><a name="c16ab3b3c17b3b1b9"></a>Use Unicode-based TeX variant (Omega) to handle non-Latin material + more naturally + </li> + </ul> + + </p> + + <p><a name="c16ab3b3c17b5"></a> + I will be very glad to discuss details with anyone. Contact me (Sebastian Rahtz) as + <a href="mailto:sebastian.rahtz@oucs.ox.ac.uk" target="_top">sebastian.rahtz@oucs.ox.ac.uk</a> + + </p> + + </div> + + <hr> + <div class="footer"><a target="_top" class="plain" href="http://www.ox.ac.uk/">Oxford University</a> + | <a target="_top" class="plain" href="http://www.oucs.ox.ac.uk/">OUCS</a> + | <a target="_top" class="plain" href="http://wwwsearch.ox.ac.uk/cgi-bin/oxunit?oucs">Search</a> + | <a target="_top" class="plain" href="mailto:feedback@oucs.ox.ac.uk">Feedback</a></div> + <hr> + <address>Date: November 2000 + (revised 2000/12/11) + Author: . + <br><a href="/documentation/copyright.html">©</a> Oxford + University Computing Services. + <!--Generated + using an XSLT version 1 stylesheet + based on http://www.oucs.ox.ac.uk/stylesheets/teihtml.xsl + processed using: + `SAXON 5.5.1 from Michael Kay of ICL' + +--> + </address> + </body> +</html>
\ No newline at end of file |