summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-web-companion/latex2xml/l2xmath.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-web-companion/latex2xml/l2xmath.cfg')
-rw-r--r--Master/texmf-dist/doc/latex/latex-web-companion/latex2xml/l2xmath.cfg31
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/latex2xml/l2xmath.cfg b/Master/texmf-dist/doc/latex/latex-web-companion/latex2xml/l2xmath.cfg
new file mode 100644
index 00000000000..389a4509ee5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-web-companion/latex2xml/l2xmath.cfg
@@ -0,0 +1,31 @@
+\Preamble{html,0.0,ref-,fonts,math}
+\Configure{$$}{\DviMath}{\EndDviMath}{}
+\Configure{eqnarray}
+ {\GetLabel \Tg<eqnarray \PutLabel>}
+ {\GetLabel \Tg</eqnarray>}
+ {\GetLabel \Tg<subeqn \PutLabel>\Tg<math>}
+ {\Tg</math>\Tg</subeqn>}
+ {\ifnum \Col=4 \Tg<mtext>\PauseMathClass \fi}
+ {\ifnum \Col=4 \EndPauseMathClass\Tg</mtext>\fi}
+\Configure{label}{id="#1"}{\Tg<pagelabel id="#1"/>}
+\Configure{SUBSUP}
+ {\Send{BACK}{<msubsup>}\Tg<mrow>}
+ {\Tg</mrow>\Tg<mrow>}
+ {\Tg</mrow>\TG</msubsup>}
+\Configure{frac}
+ {\Tg<mfrac>\Tg<mrow>} {\Tg</mrow>\HCode{<!--}}
+ {\HCode{-->}\Tg<mrow>}{\Tg</mrow>\Tg</mfrac>}
+\Configure{mathrm}{\Tg<mi>\PauseMathClass}
+ {\EndPauseMathClass\Tg</mi>}
+\Configure{accent}\=\bar{{}{}}
+ {}{\Tg<mover accent="true">#2\Tg<mo>\HCode{&OverBar;}\Tg</mo>\Tg</mover>}
+\Configure{MathClass}{0}{*}{<mi>}{</mi>}{}
+\Configure{MathClass}{1}{*}{<mo>}{</mo>}{}
+\Configure{MathClass}{2}{*}{<mo>}{</mo>}{}
+\Configure{MathClass}{3}{*}{<mo>}{</mo>}{}
+\Configure{MathClass}{4}{*}{<mrow><mo>}{</mo>}{}
+\Configure{MathClass}{5}{*}{<mo>}{</mo></mrow>}{}
+\Configure{MathClass}{6}{*}{<mo>}{</mo>}{}
+\Configure{MathClass}{7}{*}{<mn>}{</mn>}{0123456789}
+\begin{document}
+\EndPreamble