summaryrefslogtreecommitdiff
path: root/macros/optex/doc/mte-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/optex/doc/mte-doc.tex')
-rw-r--r--macros/optex/doc/mte-doc.tex26
1 files changed, 26 insertions, 0 deletions
diff --git a/macros/optex/doc/mte-doc.tex b/macros/optex/doc/mte-doc.tex
new file mode 100644
index 0000000000..030f023d3f
--- /dev/null
+++ b/macros/optex/doc/mte-doc.tex
@@ -0,0 +1,26 @@
+% This is part of mte.opm macro package for OpTeX
+
+% Run optex mte-doc
+% (two times) to generate documentation including references and the index.
+
+\load [doc]
+
+\def\elink[#1]#2{%
+ \ulink[http://petr.olsak.net/ftp/olsak/optex/tex-nutshell.pdf\#cs:#1]%
+ {\tt\string#2}%
+}
+\def\olink[#1]#2{%
+ \ulink[http://petr.olsak.net/ftp/olsak/optex/optex-doc.pdf\#cs:#1]%
+ {\tt\string#2}%
+}
+\let\_urllinkcolor=\Cyan
+
+\printdoctail mte.opm
+\printdoc mte.opm
+
+\nonum\sec Index
+\begmulti 3
+\tt \makeindex
+\endmulti
+
+\bye