summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/stex/example
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-07-19 23:16:46 +0000
committerKarl Berry <karl@freefriends.org>2010-07-19 23:16:46 +0000
commit277ca449c86a187fe858defdcd6aa1830d3b2d0d (patch)
treea804dd4e397504655fc225e6f582554780c4115d /Master/texmf-dist/doc/latex/stex/example
parentd515f1120311798486a522c56170bd519d9c6a7a (diff)
reinstate stex via new .tds.zip
git-svn-id: svn://tug.org/texlive/trunk@19538 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/stex/example')
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/Makefile4
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/README18
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/Makefile8
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/all.aux28
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/all.idx3
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/all.ilg6
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/all.ind15
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/all.log309
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/all.omdoc155
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/all.out2
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/all.pdfbin0 -> 63185 bytes
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/all.tex12
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/all.tex.xml240
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/all.tex.xml.log49
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/all.thm3
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/all.xml285
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/all.xml.log0
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/auto/all.el12
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/functions.omdoc85
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/functions.omdoc.log0
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/functions.sms5
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/functions.tex15
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/functions.tex.xml138
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/functions.tex.xml.log27
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/functions.xml165
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/functions.xml.log0
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/paper.tex.xml.log146
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/post.tex1
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/pre.tex6
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/reals.omdoc74
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/reals.omdoc.log0
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/reals.sms5
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/reals.tex20
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/reals.tex.xml104
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/reals.tex.xml.log12
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/reals.xml122
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/background/reals.xml.log0
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/Makefile7
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/all.tex.xml.log133
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/auto/paper.el14
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/continuous.omdoc53
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/continuous.omdoc.log0
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/continuous.sms6
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/continuous.tex17
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/continuous.tex.xml59
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/continuous.tex.xml.log203
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/continuous.xml75
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/continuous.xml.log0
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/differentiable.omdoc53
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/differentiable.omdoc.log0
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/differentiable.sms5
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/differentiable.tex16
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/differentiable.tex.xml58
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/differentiable.tex.xml.log17
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/differentiable.xml74
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/differentiable.xml.log0
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/paper.aux41
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/paper.bbl35
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/paper.blg47
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/paper.idx6
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/paper.ilg6
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/paper.ind23
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/paper.log376
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/paper.omdoc399
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/paper.out8
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/paper.pdfbin0 -> 190417 bytes
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/paper.tex132
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/paper.tex.xml423
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/paper.tex.xml.log146
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/paper.thm2
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/paper.xml455
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/paper/paper.xml.log0
-rw-r--r--Master/texmf-dist/doc/latex/stex/example/test/Makefile7
73 files changed, 4970 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/stex/example/Makefile b/Master/texmf-dist/doc/latex/stex/example/Makefile
new file mode 100644
index 00000000000..df87da1fbee
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/Makefile
@@ -0,0 +1,4 @@
+STEXDIR = ..
+MAKEDIRS = background paper
+CLEANDIRS = $(MAKEDIRS)
+include $(STEXDIR)/make/Makefile.subdirs
diff --git a/Master/texmf-dist/doc/latex/stex/example/README b/Master/texmf-dist/doc/latex/stex/example/README
new file mode 100644
index 00000000000..7424d68ebca
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/README
@@ -0,0 +1,18 @@
+This directory contains a typical (if minimal) example of a sTeX
+collection, and a Makefile-based conversion workflow. It is intended
+to test the sTeX distribution and serve as an example for sTeX users
+to set up their system. It contains
+
+README: this file
+Makefile: this contains rules to automate the PDF formatting and
+ XML conversion process.
+background: a directory with background modules, this is assumed to
+ exist before starting work on the paper, in real life this
+ would probably be a subversion external.
+paper: a directory with a paper based on two modules and the
+ background modules.
+test: a directory that has the makefiles to accomodate your tests;
+ just copy your files there adjust TARGET and type make.
+
+For an explanation of the design of the example see paper/example.pdf or
+https://trac.kwarc.info/sTeX/wiki/sTeXCollections
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/Makefile b/Master/texmf-dist/doc/latex/stex/example/background/Makefile
new file mode 100644
index 00000000000..af7cc21e5eb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/Makefile
@@ -0,0 +1,8 @@
+STEXDIR = ../..
+TARGET = all.tex
+BUTFILES = pre.tex post.tex
+MODSLIBDIR = .
+
+include $(STEXDIR)/make/Makefile.vars
+all: omdoc mods pdf
+include $(STEXDIR)/make/Makefile.in
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/all.aux b/Master/texmf-dist/doc/latex/stex/example/background/all.aux
new file mode 100644
index 00000000000..dc50aac6bd6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/all.aux
@@ -0,0 +1,28 @@
+\relax
+\ifx\hyper@anchor\@undefined
+\global \let \oldcontentsline\contentsline
+\gdef \contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}}
+\global \let \oldnewlabel\newlabel
+\gdef \newlabel#1#2{\newlabelxx{#1}#2}
+\gdef \newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}}
+\AtEndDocument{\let \contentsline\oldcontentsline
+\let \newlabel\oldnewlabel}
+\else
+\global \let \hyper@last\relax
+\fi
+
+\@writefile{toc}{\contentsline {section}{\numberline {1}Functions}{1}{section.1}}
+\@sref@def{sec.functions}{page}{1}
+\@sref@def{sec.functions}{label}{Section 1}
+\@writefile{thm}{\contentsline {STdefinitionEnv}{{\st@definition@kw }{1}{}}{1}{STtheoremAssEnv.1}}
+\@sref@def{functions.def}{page}{1}
+\@sref@def{functions.def}{label}{Definition\nobreakspace {}1}
+\@writefile{toc}{\contentsline {section}{\numberline {2}Real Numbers}{1}{section.2}}
+\@sref@def{sec.reals}{page}{1}
+\@sref@def{sec.reals}{label}{Section 2}
+\@writefile{thm}{\contentsline {STdefinitionEnv}{{\st@definition@kw }{2}{}}{1}{STtheoremAssEnv.2}}
+\@sref@def{reals.def}{page}{1}
+\@sref@def{reals.def}{label}{Definition\nobreakspace {}2}
+\@writefile{thm}{\contentsline {STdefinitionEnv}{{\st@definition@kw }{3}{}}{1}{STtheoremAssEnv.3}}
+\@sref@def{absval.def}{page}{1}
+\@sref@def{absval.def}{label}{Definition\nobreakspace {}3}
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/all.idx b/Master/texmf-dist/doc/latex/stex/example/background/all.idx
new file mode 100644
index 00000000000..0189e693a90
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/all.idx
@@ -0,0 +1,3 @@
+\indexentry{function|hyperpage}{1}
+\indexentry{real!numbers|hyperpage}{1}
+\indexentry{numbers!real|hyperpage}{1}
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/all.ilg b/Master/texmf-dist/doc/latex/stex/example/background/all.ilg
new file mode 100644
index 00000000000..9a97b1089c1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/all.ilg
@@ -0,0 +1,6 @@
+This is makeindex, version 2.15 [TeX Live 2009] (kpathsea + Thai support).
+Scanning input file all.idx....done (3 entries accepted, 0 rejected).
+Sorting entries....done (5 comparisons).
+Generating output file all.ind....done (15 lines written, 0 warnings).
+Output written in all.ind.
+Transcript written in all.ilg.
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/all.ind b/Master/texmf-dist/doc/latex/stex/example/background/all.ind
new file mode 100644
index 00000000000..b19d7a0f072
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/all.ind
@@ -0,0 +1,15 @@
+\begin{theindex}
+
+ \item function, \hyperpage{1}
+
+ \indexspace
+
+ \item numbers
+ \subitem real, \hyperpage{1}
+
+ \indexspace
+
+ \item real
+ \subitem numbers, \hyperpage{1}
+
+\end{theindex}
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/all.log b/Master/texmf-dist/doc/latex/stex/example/background/all.log
new file mode 100644
index 00000000000..76f13f0dfac
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/all.log
@@ -0,0 +1,309 @@
+This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=pdflatex 2009.11.16) 25 JUN 2010 12:12
+entering extended mode
+ file:line:error style messages enabled.
+ %&-line parsing enabled.
+**all.tex
+(./all.tex
+LaTeX2e <2009/09/24>
+Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
+yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, ar
+abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc
+h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono
+greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, ku
+rmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, po
+lish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, span
+ish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded.
+(/Users/kohlhase/stc/stex/sty/omdoc/omdoc.cls
+Document Class: omdoc 2010/06/25 v1.0 OMDoc Documents
+(/usr/local/texlive/2009/texmf-dist/tex/latex/base/article.cls
+Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
+(/usr/local/texlive/2009/texmf-dist/tex/latex/base/size10.clo
+File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
+)
+\c@part=\count79
+\c@section=\count80
+\c@subsection=\count81
+\c@subsubsection=\count82
+\c@paragraph=\count83
+\c@subparagraph=\count84
+\c@figure=\count85
+\c@table=\count86
+\abovecaptionskip=\skip41
+\belowcaptionskip=\skip42
+\bibindent=\dimen102
+)
+(/Users/kohlhase/stc/stex/sty/omdoc/omdoc.sty
+Package: omdoc 2010/06/25 v1.0 OMDoc document Structure
+\section@level=\count87
+
+(/Users/kohlhase/stc/stex/sty/sref/sref.sty
+Package: sref 2010/06/25 v0.9 Semantic Cross-References
+
+(/Users/kohlhase/stc/stex/sty/omd/omd.sty
+Package: omd 2010/06/25 v0.9 OMDoc Metadata Framework
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/graphics/keyval.sty
+Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
+\KV@toks@=\toks14
+)))
+(/usr/local/texlive/2009/texmf-dist/tex/latex/comment/comment.sty
+\CommentStream=\write3
+
+Excluding comment 'comment') Excluding comment 'ignore'))
+(/Users/kohlhase/stc/stex/sty/stex.sty
+Package: stex 2010/02/04 v0.9b Semantic Markup
+
+(/Users/kohlhase/stc/stex/sty/stex-logo.sty
+Package: stex-logo 2009/08/07 v1.0 sTeX Logo
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/tools/xspace.sty
+Package: xspace 2006/05/08 v1.12 Space after command names (DPC,MH)
+))
+(/Users/kohlhase/stc/stex/sty/modules/modules.sty
+Package: modules 2010/06/25 v1.0 Semantic Markup
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/seminar/xcomment.sty
+Style-Option: `xcomment' v1.2 <93/02/12> (tvz)
+\tokout=\write4
+\tokin=\read1
+)) (/Users/kohlhase/stc/stex/sty/omtext/omtext.sty
+Package: omtext 2010/06/25 v1.0 OMDoc Text Fragments
+\@indexfile=\write5
+\openout5 = `all.idx'.
+
+
+Writing index file all.idx
+) (/Users/kohlhase/stc/stex/sty/statements/statements.sty
+Package: statements 2010/06/25 v1.0 Semantic Markup for Statements
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/ntheorem/ntheorem.sty
+Style `ntheorem', Version 1.25 <2005/07/07>
+Package: ntheorem 2005/07/07 1.25
+\theorem@style=\toks15
+\theorem@@style=\toks16
+\theorembodyfont=\toks17
+\theoremnumbering=\toks18
+\theorempreskipamount=\skip43
+\theorempostskipamount=\skip44
+\theoremindent=\dimen103
+\theorem@indent=\dimen104
+\theoremheaderfont=\toks19
+\theoremseparator=\toks20
+\theoremprework=\toks21
+\theorempostwork=\toks22
+\theoremsymbol=\toks23
+\qedsymbol=\toks24
+\theoremkeyword=\toks25
+\qedsymbol=\toks26
+\thm@topsepadd=\skip45
+)
+\c@STtheoremAssEnv=\count88
+) (/Users/kohlhase/stc/stex/sty/sproof/sproof.sty
+Package: sproof 2010/06/25 v0.9f Semantic Markup for Proofs
+)
+(/Users/kohlhase/stc/stex/sty/presentation/presentation.sty
+Package: presentation 2010/06/25 v1.0 presentation for semantic macros
+)
+(/Users/kohlhase/stc/stex/sty/dcm/dcm.sty
+Package: dcm 2010/06/25 v0.3 Dublin Core Metadata
+))
+(/usr/local/texlive/2009/texmf-dist/tex/latex/hyperref/hyperref.sty
+Package: hyperref 2009/10/09 v6.79a Hypertext links for LaTeX
+
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ifpdf.sty
+Package: ifpdf 2009/04/10 v2.0 Provides the ifpdf switch (HO)
+Package ifpdf Info: pdfTeX in pdf mode detected.
+)
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ifvtex.sty
+Package: ifvtex 2008/11/04 v1.4 Switches for detecting VTeX and its modes (HO)
+Package ifvtex Info: VTeX not detected.
+)
+(/usr/local/texlive/2009/texmf-dist/tex/generic/ifxetex/ifxetex.sty
+Package: ifxetex 2009/01/23 v0.5 Provides ifxetex conditional
+)
+(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/hycolor.sty
+Package: hycolor 2009/10/02 v1.5 Code for color options of hyperref/bookmark (H
+O)
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/xcolor-patch.sty
+Package: xcolor-patch 2009/10/02 xcolor patch
+))
+\@linkdim=\dimen105
+\Hy@linkcounter=\count89
+\Hy@pagecounter=\count90
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/hyperref/pd1enc.def
+File: pd1enc.def 2009/10/09 v6.79a Hyperref: PDFDocEncoding definition (HO)
+)
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/etexcmds.sty
+Package: etexcmds 2007/12/12 v1.2 Prefix for e-TeX command names (HO)
+
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/infwarerr.sty
+Package: infwarerr 2007/09/09 v1.2 Providing info/warning/message (HO)
+)
+Package etexcmds Info: Could not find \expanded.
+(etexcmds) That can mean that you are not using pdfTeX 1.50 or
+(etexcmds) that some package has redefined \expanded.
+(etexcmds) In the latter case, load this package earlier.
+)
+(/usr/local/texlive/2009/texmf-dist/tex/latex/latexconfig/hyperref.cfg
+File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
+)
+(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/kvoptions.sty
+Package: kvoptions 2009/08/13 v3.4 Keyval support for LaTeX options (HO)
+
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
+Package: kvsetkeys 2009/07/30 v1.5 Key value parser with default handler suppor
+t (HO)
+))
+Package hyperref Info: Hyper figures OFF on input line 2975.
+Package hyperref Info: Link nesting OFF on input line 2980.
+Package hyperref Info: Hyper index ON on input line 2983.
+Package hyperref Info: Plain pages OFF on input line 2990.
+Package hyperref Info: Backreferencing OFF on input line 2995.
+
+Implicit mode ON; LaTeX internals redefined
+Package hyperref Info: Bookmarks ON on input line 3191.
+(/usr/local/texlive/2009/texmf-dist/tex/latex/ltxmisc/url.sty
+\Urlmuskip=\muskip10
+Package: url 2006/04/12 ver 3.3 Verb mode for urls, etc.
+)
+LaTeX Info: Redefining \url on input line 3428.
+
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/bitset.sty
+Package: bitset 2007/09/28 v1.0 Data type bit set (HO)
+
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/intcalc.sty
+Package: intcalc 2007/09/27 v1.1 Expandable integer calculations (HO)
+)
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/bigintcalc.sty
+Package: bigintcalc 2007/11/11 v1.1 Expandable big integer calculations (HO)
+
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
+Package: pdftexcmds 2009/09/23 v0.6 LuaTeX support for pdfTeX utility functions
+ (HO)
+
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ifluatex.sty
+Package: ifluatex 2009/04/17 v1.2 Provides the ifluatex switch (HO)
+Package ifluatex Info: LuaTeX not detected.
+)
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
+Package: ltxcmds 2009/08/05 v1.0 Some LaTeX kernel commands for general use (HO
+)
+)
+Package pdftexcmds Info: LuaTeX not detected.
+Package pdftexcmds Info: \pdf@primitive is available.
+Package pdftexcmds Info: \pdf@ifprimitive is available.
+)))
+\Fld@menulength=\count91
+\Field@Width=\dimen106
+\Fld@charsize=\dimen107
+\Field@toks=\toks27
+Package hyperref Info: Hyper figures OFF on input line 4377.
+Package hyperref Info: Link nesting OFF on input line 4382.
+Package hyperref Info: Hyper index ON on input line 4385.
+Package hyperref Info: backreferencing OFF on input line 4392.
+Package hyperref Info: Link coloring OFF on input line 4397.
+Package hyperref Info: Link coloring with OCG OFF on input line 4402.
+Package hyperref Info: PDF/A mode OFF on input line 4407.
+
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/atbegshi.sty
+Package: atbegshi 2008/07/31 v1.9 At begin shipout hook (HO)
+)
+\Hy@abspage=\count92
+\c@Item=\count93
+\c@Hfootnote=\count94
+)
+*hyperref using default driver hpdftex*
+(/usr/local/texlive/2009/texmf-dist/tex/latex/hyperref/hpdftex.def
+File: hpdftex.def 2009/10/09 v6.79a Hyperref driver for pdfTeX
+\Fld@listcount=\count95
+)
+(/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/amssymb.sty
+Package: amssymb 2009/06/22 v3.00
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/amsfonts.sty
+Package: amsfonts 2009/06/22 v3.00 Basic AMSFonts support
+\@emptytoks=\toks28
+\symAMSa=\mathgroup4
+\symAMSb=\mathgroup5
+LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold'
+(Font) U/euf/m/n --> U/euf/b/n on input line 96.
+))
+(./all.aux)
+\openout1 = `all.aux'.
+
+LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 6.
+LaTeX Font Info: ... okay on input line 6.
+LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 6.
+LaTeX Font Info: ... okay on input line 6.
+LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 6.
+LaTeX Font Info: ... okay on input line 6.
+LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 6.
+LaTeX Font Info: ... okay on input line 6.
+LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 6.
+LaTeX Font Info: ... okay on input line 6.
+LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 6.
+LaTeX Font Info: ... okay on input line 6.
+LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 6.
+LaTeX Font Info: ... okay on input line 6.
+Package hyperref Info: Link coloring OFF on input line 6.
+ (/usr/local/texlive/2009/texmf-dist/tex/latex/hyperref/nameref.sty
+Package: nameref 2007/05/29 v2.31 Cross-referencing by name of section
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/refcount.sty
+Package: refcount 2008/08/11 v3.1 Data extraction from references (HO)
+)
+\c@section@level=\count96
+)
+LaTeX Info: Redefining \ref on input line 6.
+LaTeX Info: Redefining \pageref on input line 6.
+
+(./all.out) (./all.out)
+\@outlinefile=\write6
+\openout6 = `all.out'.
+
+\AtBeginShipoutBox=\box26
+ (./functions.tex
+LaTeX Font Info: Try loading font information for U+msa on input line 7.
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/umsa.fd
+File: umsa.fd 2009/06/22 v3.00 AMS symbols A
+)
+LaTeX Font Info: Try loading font information for U+msb on input line 7.
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/umsb.fd
+File: umsb.fd 2009/06/22 v3.00 AMS symbols B
+)
+Package hyperref Info: bookmark level for unknown STdefinitionEnv defaults to 0
+ on input line 7.
+) (./reals.tex)
+\tf@thm=\write7
+\openout7 = `all.thm'.
+
+
+[1
+
+{/usr/local/texlive/2009/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
+(./all.aux) )
+Here is how much of TeX's memory you used:
+ 5197 strings out of 493848
+ 77932 string characters out of 3149206
+ 138119 words of memory out of 3000000
+ 8372 multiletter control sequences out of 15000+200000
+ 6252 words of font info for 25 fonts, out of 3000000 for 9000
+ 714 hyphenation exceptions out of 8191
+ 43i,4n,40p,281b,320s stack positions out of 5000i,500n,10000p,200000b,50000s
+</usr/local/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm
+/cmbx10.pfb></usr/local/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/
+cmbx12.pfb></usr/local/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/c
+mmi10.pfb></usr/local/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cm
+r10.pfb></usr/local/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy
+10.pfb></usr/local/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/symbols/
+msbm10.pfb>
+Output written on all.pdf (1 page, 63185 bytes).
+PDF statistics:
+ 57 PDF objects out of 1000 (max. 8388607)
+ 14 named destinations out of 1000 (max. 500000)
+ 17 words of extra memory for PDF output out of 10000 (max. 10000000)
+
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/all.omdoc b/Master/texmf-dist/doc/latex/stex/example/background/all.omdoc
new file mode 100644
index 00000000000..45c2c612b05
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/all.omdoc
@@ -0,0 +1,155 @@
+<?xml version="1.0"?>
+<!--This OMDoc document is generated from an sTeX-encoded one via LaTeXML, you may want to reconsider editing it.-->
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:omdoc="http://omdoc.org/ns" stex:srcref="all.tex#textrange(from=5;1,to=5;17)" xml:id="all.omdoc">
+ <omgroup layout="sectioning" xml:id="sec.functions" about="#sec.functions" stex:srcref="functions.tex#textrange(from=1;0,to=11;13)">
+ <metadata xml:id="sec.functions.p1" about="#sec.functions.p1" stex:srcref="functions.tex#textrange(from=1;0,to=10;12)">
+ <dc:title stex:srcref="functions.tex#textrange(from=1;0,to=11;13)" xml:id="sec.functions.p1.p1" about="#sec.functions.p1.p1">
+ <p xml:id="sec.functions.p1.p1.p1" about="#sec.functions.p1.p1.p1" stex:srcref="functions.tex#textrange(from=1;0,to=11;13)">Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xmlns:mcd="http://www.w3.org/ns/mathml-cd" xml:id="functions" about="#functions" stex:srcref="functions.tex#textrange(from=2;0,to=10;12)">
+ <imports from="../../../slides/extcds/omstd/arith1.omdoc#arith1"/>
+ <symbol name="cart" xml:id="cart.sym" about="#cart.sym" stex:srcref="functions.tex#textrange(from=3;0,to=3;55)"/>
+ <notation cd="functions" name="cart">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="cart"/>
+ <exprlist name="args">
+ <expr name="arg"/>
+ </exprlist>
+ </om:OMA>
+ </prototype>
+ <rendering precedence="500">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <iterate name="args">
+ <separator>
+ <m:mo cr="fun">×</m:mo>
+ </separator>
+ <render name="arg"/>
+ </iterate>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="fun" xml:id="fun.sym" about="#fun.sym" stex:srcref="functions.tex#textrange(from=4;1,to=4;72)"/>
+ <notation cd="functions" name="fun">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="fun"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ <expr name="arg3"/>
+ </om:OMA>
+ </prototype>
+ <rendering precedence="200">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <render name="arg1" precedence="200"/>
+ <m:mo cr="fun">:</m:mo>
+ <render name="arg2" precedence="200"/>
+ <m:mo cr="fun">→</m:mo>
+ <render name="arg3" precedence="200"/>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="inset" xml:id="inset.sym" about="#inset.sym" stex:srcref="functions.tex#textrange(from=5;1,to=5;46)"/>
+ <notation cd="functions" name="inset">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="inset"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering precedence="650">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <render name="arg1" precedence="650"/>
+ <m:mo cr="fun">∈</m:mo>
+ <render name="arg2" precedence="650"/>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="function" xml:id="function.def.sym" about="#function.def.sym" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)"/>
+ <definition for="function" xml:id="functions.def" about="#functions.def" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+ <CMP xml:id="functions.def.p1" about="#functions.def.p1" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+ <p xml:id="functions.def.p1.p1" about="#functions.def.p1.p1" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+A <idx xml:id="functions.def.p1.p1.p1" about="#functions.def.p1.p1.p1" stex:srcref="functions.tex#textrange(from=7;68,to=8;21)"><idt><term cd="functions" name="function" role="definiendum" xml:id="functions.def.p1.p1.p1.p1" about="#functions.def.p1.p1.p1.p1" stex:srcref="functions.tex#textrange(from=7;68,to=8;21)">function</term></idt><ide index="default"><idp><phrase>function</phrase></idp></ide></idx><om:OMOBJ><om:OMA><om:OMS cd="functions" name="fun"/><om:OMV name="f"/><om:OMV name="A"/><om:OMV name="B"/></om:OMA></om:OMOBJ> is a left-total, right-unique relation in <om:OMOBJ><om:OMA><om:OMS cd="functions" name="cart"/><om:OMV name="A"/><om:OMV name="B"/></om:OMA></om:OMOBJ></p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <omgroup layout="sectioning" xml:id="sec.reals" about="#sec.reals" stex:srcref="reals.tex#textrange(from=1;0,to=16;13)">
+ <metadata xml:id="sec.reals.p1" about="#sec.reals.p1" stex:srcref="reals.tex#textrange(from=1;0,to=15;12)">
+ <dc:title stex:srcref="reals.tex#textrange(from=1;0,to=16;13)" xml:id="sec.reals.p1.p1" about="#sec.reals.p1.p1">
+ <p xml:id="sec.reals.p1.p1.p1" about="#sec.reals.p1.p1.p1" stex:srcref="reals.tex#textrange(from=1;0,to=16;13)">Real Numbers</p>
+ </dc:title>
+ </metadata>
+ <theory xmlns:mcd="http://www.w3.org/ns/mathml-cd" xml:id="reals" about="#reals" stex:srcref="reals.tex#textrange(from=2;0,to=15;12)">
+ <imports from="../../../slides/extcds/omstd/arith1.omdoc#arith1"/>
+ <symbol name="RealNumbers" xml:id="RealNumbers.sym" about="#RealNumbers.sym" stex:srcref="reals.tex#textrange(from=3;1,to=3;33)"/>
+ <notation cd="reals" name="RealNumbers">
+ <prototype>
+ <om:OMS cd="reals" name="RealNumbers"/>
+ </prototype>
+ <rendering>
+ <m:mi mathvariant="double-struck">R</m:mi>
+ </rendering>
+ </notation>
+ <symbol name="absval" xml:id="absval.sym" about="#absval.sym" stex:srcref="reals.tex#textrange(from=4;1,to=4;43)"/>
+ <notation cd="reals" name="absval">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="reals" cr="fun" name="absval"/>
+ <expr name="arg1"/>
+ </om:OMA>
+ </prototype>
+ <rendering precedence="2000">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <m:mo cr="fun">|</m:mo>
+ <render name="arg1" precedence="2000"/>
+ <m:mo cr="fun">|</m:mo>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="rfrac" xml:id="rfrac.sym" about="#rfrac.sym" stex:srcref="reals.tex#textrange(from=5;1,to=5;33)"/>
+ <notation cd="reals" name="rfrac">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="reals" cr="fun" name="rfrac"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering>
+ <m:mfrac>
+ <render name="arg1"/>
+ <render name="arg2"/>
+ </m:mfrac>
+ </rendering>
+ </notation>
+ <symbol name="real-numbers" xml:id="real-numbers.def.sym" about="#real-numbers.def.sym" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)"/>
+ <definition for="real-numbers" xml:id="reals.def" about="#reals.def" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)">
+ <CMP xml:id="reals.def.p1" about="#reals.def.p1" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)">
+ <p xml:id="reals.def.p1.p1" about="#reals.def.p1.p1" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)">
+We denote the set of <idx xml:id="reals.def.p1.p1.p1" about="#reals.def.p1.p1.p1" stex:srcref="reals.tex#textrange(from=7;27,to=8;47)"><idt><term cd="reals" name="real-numbers" role="definiendum" xml:id="reals.def.p1.p1.p1.p1" about="#reals.def.p1.p1.p1.p1" stex:srcref="reals.tex#textrange(from=7;27,to=8;47)">real numbers</term></idt><ide index="default"><idp><phrase>real</phrase></idp><idp><phrase>numbers</phrase></idp></ide></idx> we all know and love with
+<om:OMOBJ><om:OMS cd="reals" name="RealNumbers"/></om:OMOBJ>.
+</p>
+ </CMP>
+ </definition>
+ <definition xml:id="absval.def" about="#absval.def" stex:srcref="reals.tex#textrange(from=12;0,to=14;16)">
+ <CMP xml:id="absval.def.p1" about="#absval.def.p1" stex:srcref="reals.tex#textrange(from=12;0,to=14;16)">
+ <p xml:id="absval.def.p1.p1" about="#absval.def.p1.p1" stex:srcref="reals.tex#textrange(from=12;0,to=14;16)">
+The absolute value <om:OMOBJ><om:OMA><om:OMS cd="reals" name="absval"/><om:OMV name="r"/></om:OMA></om:OMOBJ> of a real number <om:OMOBJ><om:OMV name="r"/></om:OMOBJ>.
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!--The data elements-->
+</omdoc>
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/all.out b/Master/texmf-dist/doc/latex/stex/example/background/all.out
new file mode 100644
index 00000000000..80902fd57c3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/all.out
@@ -0,0 +1,2 @@
+\BOOKMARK [1][-]{section.1}{Functions}{}
+\BOOKMARK [1][-]{section.2}{Real Numbers}{}
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/all.pdf b/Master/texmf-dist/doc/latex/stex/example/background/all.pdf
new file mode 100644
index 00000000000..92075edc5ea
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/all.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/all.tex b/Master/texmf-dist/doc/latex/stex/example/background/all.tex
new file mode 100644
index 00000000000..27df61d1e61
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/all.tex
@@ -0,0 +1,12 @@
+\documentclass{omdoc}
+\usepackage{stex}
+\usepackage{hyperref,amssymb}
+\defpath{backmods}{../background}
+\begin{document}
+\input{functions}
+\input{reals}
+\end{document}
+%%% Local Variables:
+%%% mode: LaTeX
+%%% TeX-master: t
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/all.tex.xml b/Master/texmf-dist/doc/latex/stex/example/background/all.tex.xml
new file mode 100644
index 00000000000..37ce2d0241e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/all.tex.xml
@@ -0,0 +1,240 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?latexml searchpaths=".,../../sty,../../rnc,../../rnc/omdoc,../../sty/modules,../../sty/statements,../../sty/sproof,../../sty/omtext,../../sty/omdoc,../../sty/sref,../../sty/presentation,../../sty/dcm,../../sty/reqdoc,../../sty/omd,../../sty/mikoslides,../../sty/problem,../../sty/assignment,../../sty/etc,/Users/kohlhase/stc/stex/example/background,../../sty,../../rnc,../../rnc/omdoc,../../sty/modules,../../sty/statements,../../sty/sproof,../../sty/omtext,../../sty/omdoc,../../sty/sref,../../sty/presentation,../../sty/dcm,../../sty/reqdoc,../../sty/omd,../../sty/mikoslides,../../sty/problem,../../sty/assignment,../../sty/etc,/Users/kohlhase/stc/stex/example/background"?>
+<?latexml class="omdoc"?>
+<?latexml package="stex"?>
+<?latexml package="hyperref,amssymb"?>
+<?latexml RelaxNGSchema="omdoc+ltxml"?>
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:omdoc="http://omdoc.org/ns" stex:srcref="all.tex#textrange(from=5;1,to=5;17)" xml:id="all.omdoc">
+ <omgroup layout="sectioning" xml:id="sec.functions" about="#sec.functions" stex:srcref="functions.tex#textrange(from=1;0,to=11;13)">
+ <metadata xml:id="sec.functions.p1" about="#sec.functions.p1" stex:srcref="functions.tex#textrange(from=1;0,to=10;12)">
+ <dc:title stex:srcref="functions.tex#textrange(from=1;0,to=11;13)" xml:id="sec.functions.p1.p1" about="#sec.functions.p1.p1">
+ <p xml:id="sec.functions.p1.p1.p1" about="#sec.functions.p1.p1.p1" stex:srcref="functions.tex#textrange(from=1;0,to=11;13)">Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="functions" about="#functions" stex:srcref="functions.tex#textrange(from=2;0,to=10;12)">
+ <symbol name="cart" xml:id="cart.sym" about="#cart.sym" stex:srcref="functions.tex#textrange(from=3;0,to=3;55)"/>
+ <notation cd="functions" name="cart">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="cart"/>
+ <exprlist name="args">
+ <expr name="arg"/>
+ </exprlist>
+ </om:OMA>
+ </prototype>
+ <rendering precedence="500">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <iterate name="args">
+ <separator>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\times}" xml:id="functions.m2" text="CROSSREFOP@(*)">
+ <XMath>
+ <XMApp role="CROSSREFOP">
+ <XMTok cr="fun" role="CROSSREFOP"/>
+ <XMTok meaning="times" role="MULOP">×</XMTok>
+ </XMApp>
+ </XMath>
+ </Math>
+ </separator>
+ <render name="arg"/>
+ </iterate>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="fun" xml:id="fun.sym" about="#fun.sym" stex:srcref="functions.tex#textrange(from=4;1,to=4;72)"/>
+ <notation cd="functions" name="fun">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="fun"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ <expr name="arg3"/>
+ </om:OMA>
+ </prototype>
+ <rendering argprec=" " precedence="200">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:1" xml:id="functions.m5" text="arg:1">
+ <XMath>
+ <XMTok role="ID">arg:1</XMTok>
+ </XMath>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\colon}" xml:id="functions.m6" text="CROSSREFOP@(colon)">
+ <XMath>
+ <XMApp role="CROSSREFOP">
+ <XMTok cr="fun" role="CROSSREFOP"/>
+ <XMTok name="colon" role="METARELOP">:</XMTok>
+ </XMApp>
+ </XMath>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:2" xml:id="functions.m7" text="arg:2">
+ <XMath>
+ <XMTok role="ID">arg:2</XMTok>
+ </XMath>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\rightarrow}" xml:id="functions.m8" text="CROSSREFOP@(rightarrow)">
+ <XMath>
+ <XMApp role="CROSSREFOP">
+ <XMTok cr="fun" role="CROSSREFOP"/>
+ <XMTok name="rightarrow" role="ARROW">→</XMTok>
+ </XMApp>
+ </XMath>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:3" xml:id="functions.m9" text="arg:3">
+ <XMath>
+ <XMTok role="ID">arg:3</XMTok>
+ </XMath>
+ </Math>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="inset" xml:id="inset.sym" about="#inset.sym" stex:srcref="functions.tex#textrange(from=5;1,to=5;46)"/>
+ <notation cd="functions" name="inset">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="inset"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering argprec=" " precedence="650">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:1" xml:id="functions.m12" text="arg:1">
+ <XMath>
+ <XMTok role="ID">arg:1</XMTok>
+ </XMath>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\in}" xml:id="functions.m13" text="CROSSREFOP@(element-of)">
+ <XMath>
+ <XMApp role="CROSSREFOP">
+ <XMTok cr="fun" role="CROSSREFOP"/>
+ <XMTok meaning="element-of" name="in" role="RELOP">∈</XMTok>
+ </XMApp>
+ </XMath>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:2" xml:id="functions.m14" text="arg:2">
+ <XMath>
+ <XMTok role="ID">arg:2</XMTok>
+ </XMath>
+ </Math>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="function" xml:id="function.def.sym" about="#function.def.sym" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)"/>
+ <definition for="function" xml:id="functions.def" about="#functions.def" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+ <CMP xml:id="functions.def.p1" about="#functions.def.p1" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+ <p xml:id="functions.def.p1.p1" about="#functions.def.p1.p1" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+A <idx xml:id="functions.def.p1.p1.p1" about="#functions.def.p1.p1.p1" stex:srcref="functions.tex#textrange(from=7;68,to=8;21)"><idt><term cd="functions" name="function" role="definiendum" xml:id="functions.def.p1.p1.p1.p1" about="#functions.def.p1.p1.p1.p1" stex:srcref="functions.tex#textrange(from=7;68,to=8;21)">function</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">function</text></idp></ide></idx> <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\fun{f}{A}{B}" xml:id="functions.def.p1.p1.m1" text="fun@(f, A, B)"><XMath><XMApp><XMTok meaning="fun" name="fun" omcd="functions"/><XMTok role="UNKNOWN" font="italic">f</XMTok><XMTok role="UNKNOWN" font="italic">A</XMTok><XMTok role="UNKNOWN" font="italic">B</XMTok></XMApp></XMath></Math> is a left-total, right-unique relation in <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\cart{A,B}" xml:id="functions.def.p1.p1.m2" text="cart@(list@(A, B))"><XMath><XMApp><XMTok meaning="cart" name="cart" omcd="functions"/><XMApp><XMTok meaning="list" role="FENCED" separators=","/><XMTok role="UNKNOWN" font="italic">A</XMTok><XMTok role="UNKNOWN" font="italic">B</XMTok></XMApp></XMApp></XMath></Math>
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!-- %%% Local Variables:
+ %%% mode: LaTeX
+ %%% TeX-master: "all"
+ %%% End:-->
+ <omgroup layout="sectioning" xml:id="sec.reals" about="#sec.reals" stex:srcref="reals.tex#textrange(from=1;0,to=16;13)">
+ <metadata xml:id="sec.reals.p1" about="#sec.reals.p1" stex:srcref="reals.tex#textrange(from=1;0,to=15;12)">
+ <dc:title stex:srcref="reals.tex#textrange(from=1;0,to=16;13)" xml:id="sec.reals.p1.p1" about="#sec.reals.p1.p1">
+ <p xml:id="sec.reals.p1.p1.p1" about="#sec.reals.p1.p1.p1" stex:srcref="reals.tex#textrange(from=1;0,to=16;13)">Real Numbers</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="reals" about="#reals" stex:srcref="reals.tex#textrange(from=2;0,to=15;12)">
+ <symbol name="RealNumbers" xml:id="RealNumbers.sym" about="#RealNumbers.sym" stex:srcref="reals.tex#textrange(from=3;1,to=3;33)"/>
+ <notation cd="reals" name="RealNumbers">
+ <prototype>
+ <om:OMS cd="reals" name="RealNumbers"/>
+ </prototype>
+ <rendering>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" xml:id="reals.m1" text="R">
+ <XMath>
+ <XMTok role="UNKNOWN" font="blackboard">R</XMTok>
+ </XMath>
+ </Math>
+ </rendering>
+ </notation>
+ <symbol name="absval" xml:id="absval.sym" about="#absval.sym" stex:srcref="reals.tex#textrange(from=4;1,to=4;43)"/>
+ <notation cd="reals" name="absval">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="reals" cr="fun" name="absval"/>
+ <expr name="arg1"/>
+ </om:OMA>
+ </prototype>
+ <rendering argprec=" " precedence="2000">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{|}" xml:id="reals.m2" text="CROSSREFOP@(|)">
+ <XMath>
+ <XMApp role="CROSSREFOP">
+ <XMTok cr="fun" role="CROSSREFOP"/>
+ <XMTok role="VERTBAR">|</XMTok>
+ </XMApp>
+ </XMath>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:1" xml:id="reals.m3" text="arg:1">
+ <XMath>
+ <XMTok role="ID">arg:1</XMTok>
+ </XMath>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{|}" xml:id="reals.m4" text="CROSSREFOP@(|)">
+ <XMath>
+ <XMApp role="CROSSREFOP">
+ <XMTok cr="fun" role="CROSSREFOP"/>
+ <XMTok role="VERTBAR">|</XMTok>
+ </XMApp>
+ </XMath>
+ </Math>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="rfrac" xml:id="rfrac.sym" about="#rfrac.sym" stex:srcref="reals.tex#textrange(from=5;1,to=5;33)"/>
+ <notation cd="reals" name="rfrac">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="reals" cr="fun" name="rfrac"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" xml:id="reals.m5" text="arg:1 / arg:2">
+ <XMath>
+ <XMApp>
+ <XMTok meaning="divide" role="MULOP" style="text"/>
+ <XMTok role="ID">arg:1</XMTok>
+ <XMTok role="ID">arg:2</XMTok>
+ </XMApp>
+ </XMath>
+ </Math>
+ </rendering>
+ </notation>
+ <symbol name="real-numbers" xml:id="real-numbers.def.sym" about="#real-numbers.def.sym" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)"/>
+ <definition for="real-numbers" xml:id="reals.def" about="#reals.def" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)">
+ <CMP xml:id="reals.def.p1" about="#reals.def.p1" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)">
+ <p xml:id="reals.def.p1.p1" about="#reals.def.p1.p1" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)">
+We denote the set of <idx xml:id="reals.def.p1.p1.p1" about="#reals.def.p1.p1.p1" stex:srcref="reals.tex#textrange(from=7;27,to=8;47)"><idt><term cd="reals" name="real-numbers" role="definiendum" xml:id="reals.def.p1.p1.p1.p1" about="#reals.def.p1.p1.p1.p1" stex:srcref="reals.tex#textrange(from=7;27,to=8;47)">real numbers</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">real</text></idp><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">numbers</text></idp></ide></idx> we all know and love with
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\RealNumbers" xml:id="reals.def.p1.p1.m1" text="RealNumbers"><XMath><XMTok meaning="RealNumbers" name="RealNumbers" omcd="reals"/></XMath></Math>.
+</p>
+ </CMP>
+ </definition>
+ <definition xml:id="absval.def" about="#absval.def" stex:srcref="reals.tex#textrange(from=12;0,to=14;16)">
+ <CMP xml:id="absval.def.p1" about="#absval.def.p1" stex:srcref="reals.tex#textrange(from=12;0,to=14;16)">
+ <p xml:id="absval.def.p1.p1" about="#absval.def.p1.p1" stex:srcref="reals.tex#textrange(from=12;0,to=14;16)">
+The absolute value <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\absval{r}" xml:id="absval.def.p1.p1.m1" text="absval@(r)"><XMath><XMApp><XMTok meaning="absval" name="absval" omcd="reals"/><XMTok role="UNKNOWN" font="italic">r</XMTok></XMApp></XMath></Math> of a real number <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="r" xml:id="absval.def.p1.p1.m2" text="r"><XMath><XMTok role="UNKNOWN" font="italic">r</XMTok></XMath></Math>.
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!-- %%% Local Variables:
+ %%% mode: LaTeX
+ %%% TeX-master: "all"
+ %%% End:-->
+</omdoc>
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/all.tex.xml.log b/Master/texmf-dist/doc/latex/stex/example/background/all.tex.xml.log
new file mode 100644
index 00000000000..416640aa334
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/all.tex.xml.log
@@ -0,0 +1,49 @@
+
+(Loading ../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/TeX.pool.ltxml... 0.15 sec)
+
+(Digesting /Users/kohlhase/stc/stex/example/background/all...
+(Processing all.tex...
+(Loading ../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/LaTeX.pool.ltxml... 0.12 sec)
+(Loading ../../sty/omdoc/omdoc.cls.ltxml...
+(Loading ../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/article.cls.ltxml... 0.02 sec)
+(Loading ../../sty/sref/sref.sty.ltxml...
+(Loading ../../sty/omd/omd.sty.ltxml... 0.10 sec) 0.14 sec)
+(Loading ../../sty/omdoc/omdoc.sty.ltxml...
+(Loading ../../sty/omtext/omtext.sty.ltxml... 0.06 sec) 0.11 sec) 0.37 sec)
+(Loading ../../sty/stex.sty.ltxml...
+(Loading ../../sty/stex-logo.sty.ltxml... 0.02 sec)
+(Loading ../../sty/modules/modules.sty.ltxml... 0.04 sec)
+(Loading ../../sty/statements/statements.sty.ltxml... 0.04 sec)
+(Loading ../../sty/sproof/sproof.sty.ltxml... 0.03 sec)
+(Loading ../../sty/presentation/presentation.sty.ltxml... 0.02 sec)
+(Loading ../../sty/dcm/dcm.sty.ltxml... 0.05 sec) 0.35 sec)
+(Loading ../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/hyperref.sty.ltxml...
+(Loading ../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/url.sty.ltxml... 0.01 sec) 0.03 sec)
+(Loading ../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/amssymb.sty.ltxml...
+(Loading ../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/amsfonts.sty.ltxml... 0.01 sec) 0.05 sec)
+(Processing functions.tex... 0.49 sec)
+(Processing reals.tex... 0.03 sec) 1.60 sec) 1.64 sec)
+(Building...
+(Loading RelaxNG omdoc+ltxml...
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.openmath.org/OpenMath"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311. 1.70 sec)......... 1.96 sec)
+(Rewriting... 0.00 sec)
+(Math Parsing...19 formulae ...[1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][17][18][19]
+Math parsing succeeded:
+ ltx:XMArg: 7/7
+ ltx:XMath: 19/19
+Symbols assumed as simple identifiers (with # of occurences):
+ 'A{italic}' (1), 'B{italic}' (1)
+ 0.02 sec)
+(Finalizing... 0.01 sec)
+Conversion complete: 12 warnings.
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/all.thm b/Master/texmf-dist/doc/latex/stex/example/background/all.thm
new file mode 100644
index 00000000000..094040394df
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/all.thm
@@ -0,0 +1,3 @@
+\contentsline {STdefinitionEnv}{{\st@definition@kw }{1}{}}{1}{STtheoremAssEnv.1}
+\contentsline {STdefinitionEnv}{{\st@definition@kw }{2}{}}{1}{STtheoremAssEnv.2}
+\contentsline {STdefinitionEnv}{{\st@definition@kw }{3}{}}{1}{STtheoremAssEnv.3}
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/all.xml b/Master/texmf-dist/doc/latex/stex/example/background/all.xml
new file mode 100644
index 00000000000..cd9d3e6ae76
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/all.xml
@@ -0,0 +1,285 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?latexml searchpaths=".,../../sty,../../rnc,../../rnc/omdoc,../../sty/modules,../../sty/statements,../../sty/sproof,../../sty/omtext,../../sty/omdoc,../../sty/sref,../../sty/presentation,../../sty/dcm,../../sty/reqdoc,../../sty/omd,../../sty/mikoslides,../../sty/problem,../../sty/assignment,../../sty/etc,/Users/kohlhase/stc/stex/example/background,../../sty,../../rnc,../../rnc/omdoc,../../sty/modules,../../sty/statements,../../sty/sproof,../../sty/omtext,../../sty/omdoc,../../sty/sref,../../sty/presentation,../../sty/dcm,../../sty/reqdoc,../../sty/omd,../../sty/mikoslides,../../sty/problem,../../sty/assignment,../../sty/etc,/Users/kohlhase/stc/stex/example/background"?>
+<?latexml class="omdoc"?>
+<?latexml package="stex"?>
+<?latexml package="hyperref,amssymb"?>
+<?latexml RelaxNGSchema="omdoc+ltxml"?>
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:omdoc="http://omdoc.org/ns" stex:srcref="all.tex#textrange(from=5;1,to=5;17)" xml:id="all.omdoc">
+ <omgroup layout="sectioning" xml:id="sec.functions" about="#sec.functions" stex:srcref="functions.tex#textrange(from=1;0,to=11;13)">
+ <metadata xml:id="sec.functions.p1" about="#sec.functions.p1" stex:srcref="functions.tex#textrange(from=1;0,to=10;12)">
+ <dc:title stex:srcref="functions.tex#textrange(from=1;0,to=11;13)" xml:id="sec.functions.p1.p1" about="#sec.functions.p1.p1">
+ <p xml:id="sec.functions.p1.p1.p1" about="#sec.functions.p1.p1.p1" stex:srcref="functions.tex#textrange(from=1;0,to=11;13)">Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="functions" about="#functions" stex:srcref="functions.tex#textrange(from=2;0,to=10;12)">
+ <symbol name="cart" xml:id="cart.sym" about="#cart.sym" stex:srcref="functions.tex#textrange(from=3;0,to=3;55)"/>
+ <notation cd="functions" name="cart">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="cart"/>
+ <exprlist name="args">
+ <expr name="arg"/>
+ </exprlist>
+ </om:OMA>
+ </prototype>
+ <rendering precedence="500">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <iterate name="args">
+ <separator>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\times}" xml:id="functions.m2" text="CROSSREFOP@(*)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMV name=""/>
+ <om:OMS cd="arith1" name="times"/>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mo cr="fun">×</m:mo>
+ </m:math>
+ </Math>
+ </separator>
+ <render name="arg"/>
+ </iterate>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="fun" xml:id="fun.sym" about="#fun.sym" stex:srcref="functions.tex#textrange(from=4;1,to=4;72)"/>
+ <notation cd="functions" name="fun">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="fun"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ <expr name="arg3"/>
+ </om:OMA>
+ </prototype>
+ <rendering argprec=" " precedence="200">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:1" xml:id="functions.m5" text="arg:1">
+ <om:OMOBJ>
+ <om:OMV name="arg:1"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi>arg:1</m:mi>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\colon}" xml:id="functions.m6" text="CROSSREFOP@(colon)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMV name=""/>
+ <om:OMV name=":"/>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mo cr="fun">:</m:mo>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:2" xml:id="functions.m7" text="arg:2">
+ <om:OMOBJ>
+ <om:OMV name="arg:2"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi>arg:2</m:mi>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\rightarrow}" xml:id="functions.m8" text="CROSSREFOP@(rightarrow)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMV name=""/>
+ <om:OMV name="rightarrow"/>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mo cr="fun">→</m:mo>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:3" xml:id="functions.m9" text="arg:3">
+ <om:OMOBJ>
+ <om:OMV name="arg:3"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi>arg:3</m:mi>
+ </m:math>
+ </Math>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="inset" xml:id="inset.sym" about="#inset.sym" stex:srcref="functions.tex#textrange(from=5;1,to=5;46)"/>
+ <notation cd="functions" name="inset">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="inset"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering argprec=" " precedence="650">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:1" xml:id="functions.m12" text="arg:1">
+ <om:OMOBJ>
+ <om:OMV name="arg:1"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi>arg:1</m:mi>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\in}" xml:id="functions.m13" text="CROSSREFOP@(element-of)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMV name=""/>
+ <om:OMS cd="latexml" name="element-of"/>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mo cr="fun">∈</m:mo>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:2" xml:id="functions.m14" text="arg:2">
+ <om:OMOBJ>
+ <om:OMV name="arg:2"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi>arg:2</m:mi>
+ </m:math>
+ </Math>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="function" xml:id="function.def.sym" about="#function.def.sym" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)"/>
+ <definition for="function" xml:id="functions.def" about="#functions.def" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+ <CMP xml:id="functions.def.p1" about="#functions.def.p1" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+ <p xml:id="functions.def.p1.p1" about="#functions.def.p1.p1" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+A <idx xml:id="functions.def.p1.p1.p1" about="#functions.def.p1.p1.p1" stex:srcref="functions.tex#textrange(from=7;68,to=8;21)"><idt><term cd="functions" name="function" role="definiendum" xml:id="functions.def.p1.p1.p1.p1" about="#functions.def.p1.p1.p1.p1" stex:srcref="functions.tex#textrange(from=7;68,to=8;21)">function</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">function</text></idp></ide></idx> <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\fun{f}{A}{B}" xml:id="functions.def.p1.p1.m1" text="fun@(f, A, B)"><om:OMOBJ><om:OMA><om:OMS cd="functions" name="fun"/><om:OMV name="f"/><om:OMV name="A"/><om:OMV name="B"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi mathcolor="red">fun</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>f</m:mi><m:mo>, </m:mo><m:mi>A</m:mi><m:mo>, </m:mo><m:mi>B</m:mi></m:mrow></m:mrow></m:math></Math> is a left-total, right-unique relation in <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\cart{A,B}" xml:id="functions.def.p1.p1.m2" text="cart@(list@(A, B))"><om:OMOBJ><om:OMA><om:OMS cd="functions" name="cart"/><om:OMA><om:OMS cd="latexml" name="list"/><om:OMV name="A"/><om:OMV name="B"/></om:OMA></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi mathcolor="red">cart</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>A</m:mi><m:mo>,</m:mo><m:mi>B</m:mi></m:mrow></m:mrow></m:math></Math>
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!-- %%% Local Variables:
+ %%% mode: LaTeX
+ %%% TeX-master: "all"
+ %%% End:-->
+ <omgroup layout="sectioning" xml:id="sec.reals" about="#sec.reals" stex:srcref="reals.tex#textrange(from=1;0,to=16;13)">
+ <metadata xml:id="sec.reals.p1" about="#sec.reals.p1" stex:srcref="reals.tex#textrange(from=1;0,to=15;12)">
+ <dc:title stex:srcref="reals.tex#textrange(from=1;0,to=16;13)" xml:id="sec.reals.p1.p1" about="#sec.reals.p1.p1">
+ <p xml:id="sec.reals.p1.p1.p1" about="#sec.reals.p1.p1.p1" stex:srcref="reals.tex#textrange(from=1;0,to=16;13)">Real Numbers</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="reals" about="#reals" stex:srcref="reals.tex#textrange(from=2;0,to=15;12)">
+ <symbol name="RealNumbers" xml:id="RealNumbers.sym" about="#RealNumbers.sym" stex:srcref="reals.tex#textrange(from=3;1,to=3;33)"/>
+ <notation cd="reals" name="RealNumbers">
+ <prototype>
+ <om:OMS cd="reals" name="RealNumbers"/>
+ </prototype>
+ <rendering>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" xml:id="reals.m1" text="R">
+ <om:OMOBJ>
+ <om:OMV name="R"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi mathvariant="double-struck">R</m:mi>
+ </m:math>
+ </Math>
+ </rendering>
+ </notation>
+ <symbol name="absval" xml:id="absval.sym" about="#absval.sym" stex:srcref="reals.tex#textrange(from=4;1,to=4;43)"/>
+ <notation cd="reals" name="absval">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="reals" cr="fun" name="absval"/>
+ <expr name="arg1"/>
+ </om:OMA>
+ </prototype>
+ <rendering argprec=" " precedence="2000">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{|}" xml:id="reals.m2" text="CROSSREFOP@(|)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMV name=""/>
+ <om:OMV name="|"/>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mo cr="fun">|</m:mo>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:1" xml:id="reals.m3" text="arg:1">
+ <om:OMOBJ>
+ <om:OMV name="arg:1"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi>arg:1</m:mi>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{|}" xml:id="reals.m4" text="CROSSREFOP@(|)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMV name=""/>
+ <om:OMV name="|"/>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mo cr="fun">|</m:mo>
+ </m:math>
+ </Math>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="rfrac" xml:id="rfrac.sym" about="#rfrac.sym" stex:srcref="reals.tex#textrange(from=5;1,to=5;33)"/>
+ <notation cd="reals" name="rfrac">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="reals" cr="fun" name="rfrac"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" xml:id="reals.m5" text="arg:1 / arg:2">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMS cd="latexml" name="divide"/>
+ <om:OMV name="arg:1"/>
+ <om:OMV name="arg:2"/>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mfrac>
+ <m:mi>arg:1</m:mi>
+ <m:mi>arg:2</m:mi>
+ </m:mfrac>
+ </m:math>
+ </Math>
+ </rendering>
+ </notation>
+ <symbol name="real-numbers" xml:id="real-numbers.def.sym" about="#real-numbers.def.sym" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)"/>
+ <definition for="real-numbers" xml:id="reals.def" about="#reals.def" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)">
+ <CMP xml:id="reals.def.p1" about="#reals.def.p1" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)">
+ <p xml:id="reals.def.p1.p1" about="#reals.def.p1.p1" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)">
+We denote the set of <idx xml:id="reals.def.p1.p1.p1" about="#reals.def.p1.p1.p1" stex:srcref="reals.tex#textrange(from=7;27,to=8;47)"><idt><term cd="reals" name="real-numbers" role="definiendum" xml:id="reals.def.p1.p1.p1.p1" about="#reals.def.p1.p1.p1.p1" stex:srcref="reals.tex#textrange(from=7;27,to=8;47)">real numbers</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">real</text></idp><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">numbers</text></idp></ide></idx> we all know and love with
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\RealNumbers" xml:id="reals.def.p1.p1.m1" text="RealNumbers"><om:OMOBJ><om:OMS cd="reals" name="RealNumbers"/></om:OMOBJ><m:math display="inline"><m:mi mathcolor="red">RealNumbers</m:mi></m:math></Math>.
+</p>
+ </CMP>
+ </definition>
+ <definition xml:id="absval.def" about="#absval.def" stex:srcref="reals.tex#textrange(from=12;0,to=14;16)">
+ <CMP xml:id="absval.def.p1" about="#absval.def.p1" stex:srcref="reals.tex#textrange(from=12;0,to=14;16)">
+ <p xml:id="absval.def.p1.p1" about="#absval.def.p1.p1" stex:srcref="reals.tex#textrange(from=12;0,to=14;16)">
+The absolute value <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\absval{r}" xml:id="absval.def.p1.p1.m1" text="absval@(r)"><om:OMOBJ><om:OMA><om:OMS cd="reals" name="absval"/><om:OMV name="r"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi mathcolor="red">absval</m:mi><m:mo>⁡</m:mo><m:mi>r</m:mi></m:mrow></m:math></Math> of a real number <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="r" xml:id="absval.def.p1.p1.m2" text="r"><om:OMOBJ><om:OMV name="r"/></om:OMOBJ><m:math display="inline"><m:mi>r</m:mi></m:math></Math>.
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!-- %%% Local Variables:
+ %%% mode: LaTeX
+ %%% TeX-master: "all"
+ %%% End:-->
+</omdoc>
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/all.xml.log b/Master/texmf-dist/doc/latex/stex/example/background/all.xml.log
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/all.xml.log
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/auto/all.el b/Master/texmf-dist/doc/latex/stex/example/background/auto/all.el
new file mode 100644
index 00000000000..00c090b4ab9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/auto/all.el
@@ -0,0 +1,12 @@
+(TeX-add-style-hook "all"
+ (lambda ()
+ (TeX-run-style-hooks
+ "amssymb"
+ "hyperref"
+ "stex"
+ "latex2e"
+ "omdoc10"
+ "omdoc"
+ "functions"
+ "reals")))
+
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/functions.omdoc b/Master/texmf-dist/doc/latex/stex/example/background/functions.omdoc
new file mode 100644
index 00000000000..819908cf05d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/functions.omdoc
@@ -0,0 +1,85 @@
+<?xml version="1.0"?>
+<!--This OMDoc document is generated from an sTeX-encoded one via LaTeXML, you may want to reconsider editing it.-->
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:omdoc="http://omdoc.org/ns" stex:srcref="Anonymous String#textrange(from=1;1,to=1;17)" xml:id="functions.omdoc">
+ <omgroup layout="sectioning" xml:id="sec.functions" about="#sec.functions" stex:srcref="functions.tex#textrange(from=1;0,to=11;13)">
+ <metadata xml:id="sec.functions.p1" about="#sec.functions.p1" stex:srcref="functions.tex#textrange(from=1;0,to=10;12)">
+ <dc:title stex:srcref="functions.tex#textrange(from=1;0,to=11;13)" xml:id="sec.functions.p1.p1" about="#sec.functions.p1.p1">
+ <p xml:id="sec.functions.p1.p1.p1" about="#sec.functions.p1.p1.p1" stex:srcref="functions.tex#textrange(from=1;0,to=11;13)">Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xmlns:mcd="http://www.w3.org/ns/mathml-cd" xml:id="functions" about="#functions" stex:srcref="functions.tex#textrange(from=2;0,to=10;12)">
+ <symbol name="cart" xml:id="cart.sym" about="#cart.sym" stex:srcref="functions.tex#textrange(from=3;0,to=3;55)"/>
+ <notation cd="functions" name="cart">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="cart"/>
+ <exprlist name="args">
+ <expr name="arg"/>
+ </exprlist>
+ </om:OMA>
+ </prototype>
+ <rendering precedence="500">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <iterate name="args">
+ <separator>
+ <m:mo cr="fun">×</m:mo>
+ </separator>
+ <render name="arg"/>
+ </iterate>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="fun" xml:id="fun.sym" about="#fun.sym" stex:srcref="functions.tex#textrange(from=4;1,to=4;72)"/>
+ <notation cd="functions" name="fun">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="fun"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ <expr name="arg3"/>
+ </om:OMA>
+ </prototype>
+ <rendering precedence="200">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <render name="arg1" precedence="200"/>
+ <m:mo cr="fun">:</m:mo>
+ <render name="arg2" precedence="200"/>
+ <m:mo cr="fun">→</m:mo>
+ <render name="arg3" precedence="200"/>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="inset" xml:id="inset.sym" about="#inset.sym" stex:srcref="functions.tex#textrange(from=5;1,to=5;46)"/>
+ <notation cd="functions" name="inset">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="inset"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering precedence="650">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <render name="arg1" precedence="650"/>
+ <m:mo cr="fun">∈</m:mo>
+ <render name="arg2" precedence="650"/>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="function" xml:id="function.def.sym" about="#function.def.sym" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)"/>
+ <definition for="function" xml:id="functions.def" about="#functions.def" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+ <CMP xml:id="functions.def.p1" about="#functions.def.p1" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+ <p xml:id="functions.def.p1.p1" about="#functions.def.p1.p1" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+A <idx xml:id="functions.def.p1.p1.p1" about="#functions.def.p1.p1.p1" stex:srcref="functions.tex#textrange(from=7;68,to=8;21)"><idt><term cd="functions" name="function" role="definiendum" xml:id="functions.def.p1.p1.p1.p1" about="#functions.def.p1.p1.p1.p1" stex:srcref="functions.tex#textrange(from=7;68,to=8;21)">function</term></idt><ide index="default"><idp><phrase>function</phrase></idp></ide></idx><om:OMOBJ><om:OMA><om:OMS cd="functions" name="fun"/><om:OMV name="f"/><om:OMV name="A"/><om:OMV name="B"/></om:OMA></om:OMOBJ> is a left-total, right-unique relation in <om:OMOBJ><om:OMA><om:OMS cd="functions" name="cart"/><om:OMV name="A"/><om:OMV name="B"/></om:OMA></om:OMOBJ></p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!--The data elements-->
+</omdoc>
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/functions.omdoc.log b/Master/texmf-dist/doc/latex/stex/example/background/functions.omdoc.log
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/functions.omdoc.log
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/functions.sms b/Master/texmf-dist/doc/latex/stex/example/background/functions.sms
new file mode 100644
index 00000000000..9c7f4c79211
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/functions.sms
@@ -0,0 +1,5 @@
+\begin{module}[id=functions]%
+\symdef[assocarg=1]{cart}[1]{\assoc[p=500]{\times}{#1}}%
+\symdef{fun}[3]{\mixfixiii[p=200]{}{#1}{\colon}{#2}{\rightarrow}{#3}{}}%
+\symdef{inset}[2]{\infix[p=650]{\in}{#1}{#2}}%
+\end{module}%
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/functions.tex b/Master/texmf-dist/doc/latex/stex/example/background/functions.tex
new file mode 100644
index 00000000000..d71ee13a25b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/functions.tex
@@ -0,0 +1,15 @@
+\begin{omgroup}[id=sec.functions,creators=miko]{Functions}
+\begin{module}[id=functions]
+\symdef[assocarg=1]{cart}[1]{\assoc[p=500]{\times}{#1}}
+\symdef{fun}[3]{\mixfixiii[p=200]{}{#1}{\colon}{#2}{\rightarrow}{#3}{}}
+\symdef{inset}[2]{\infix[p=650]{\in}{#1}{#2}}
+
+\begin{definition}[id=functions.def]
+ A {\defin{function}} $\fun{f}AB$ is a left-total, right-unique relation in $\cart{A,B}$
+\end{definition}
+\end{module}
+\end{omgroup}
+%%% Local Variables:
+%%% mode: LaTeX
+%%% TeX-master: "all"
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/functions.tex.xml b/Master/texmf-dist/doc/latex/stex/example/background/functions.tex.xml
new file mode 100644
index 00000000000..3c3dc0a3bbe
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/functions.tex.xml
@@ -0,0 +1,138 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?latexml searchpaths=".,../../sty,../../rnc,../../rnc/omdoc,../../sty/modules,../../sty/statements,../../sty/sproof,../../sty/omtext,../../sty/omdoc,../../sty/sref,../../sty/presentation,../../sty/dcm,../../sty/reqdoc,../../sty/omd,../../sty/mikoslides,../../sty/problem,../../sty/assignment,../../sty/etc,/Users/kohlhase/stc/stex/example/background"?>
+<?latexml RelaxNGSchema="omdoc+ltxml"?>
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:omdoc="http://omdoc.org/ns" stex:srcref="Anonymous String#textrange(from=1;1,to=1;17)" xml:id="functions.omdoc">
+ <omgroup layout="sectioning" xml:id="sec.functions" about="#sec.functions" stex:srcref="functions.tex#textrange(from=1;0,to=11;13)">
+ <metadata xml:id="sec.functions.p1" about="#sec.functions.p1" stex:srcref="functions.tex#textrange(from=1;0,to=10;12)">
+ <dc:title stex:srcref="functions.tex#textrange(from=1;0,to=11;13)" xml:id="sec.functions.p1.p1" about="#sec.functions.p1.p1">
+ <p xml:id="sec.functions.p1.p1.p1" about="#sec.functions.p1.p1.p1" stex:srcref="functions.tex#textrange(from=1;0,to=11;13)">Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="functions" about="#functions" stex:srcref="functions.tex#textrange(from=2;0,to=10;12)">
+ <symbol name="cart" xml:id="cart.sym" about="#cart.sym" stex:srcref="functions.tex#textrange(from=3;0,to=3;55)"/>
+ <notation cd="functions" name="cart">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="cart"/>
+ <exprlist name="args">
+ <expr name="arg"/>
+ </exprlist>
+ </om:OMA>
+ </prototype>
+ <rendering precedence="500">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <iterate name="args">
+ <separator>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\times}" xml:id="functions.m2" text="CROSSREFOP@(*)">
+ <XMath>
+ <XMApp role="CROSSREFOP">
+ <XMTok cr="fun" role="CROSSREFOP"/>
+ <XMTok meaning="times" role="MULOP">×</XMTok>
+ </XMApp>
+ </XMath>
+ </Math>
+ </separator>
+ <render name="arg"/>
+ </iterate>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="fun" xml:id="fun.sym" about="#fun.sym" stex:srcref="functions.tex#textrange(from=4;1,to=4;72)"/>
+ <notation cd="functions" name="fun">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="fun"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ <expr name="arg3"/>
+ </om:OMA>
+ </prototype>
+ <rendering argprec=" " precedence="200">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:1" xml:id="functions.m5" text="arg:1">
+ <XMath>
+ <XMTok role="ID">arg:1</XMTok>
+ </XMath>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\colon}" xml:id="functions.m6" text="CROSSREFOP@(colon)">
+ <XMath>
+ <XMApp role="CROSSREFOP">
+ <XMTok cr="fun" role="CROSSREFOP"/>
+ <XMTok name="colon" role="METARELOP">:</XMTok>
+ </XMApp>
+ </XMath>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:2" xml:id="functions.m7" text="arg:2">
+ <XMath>
+ <XMTok role="ID">arg:2</XMTok>
+ </XMath>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\rightarrow}" xml:id="functions.m8" text="CROSSREFOP@(rightarrow)">
+ <XMath>
+ <XMApp role="CROSSREFOP">
+ <XMTok cr="fun" role="CROSSREFOP"/>
+ <XMTok name="rightarrow" role="ARROW">→</XMTok>
+ </XMApp>
+ </XMath>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:3" xml:id="functions.m9" text="arg:3">
+ <XMath>
+ <XMTok role="ID">arg:3</XMTok>
+ </XMath>
+ </Math>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="inset" xml:id="inset.sym" about="#inset.sym" stex:srcref="functions.tex#textrange(from=5;1,to=5;46)"/>
+ <notation cd="functions" name="inset">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="inset"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering argprec=" " precedence="650">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:1" xml:id="functions.m12" text="arg:1">
+ <XMath>
+ <XMTok role="ID">arg:1</XMTok>
+ </XMath>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\in}" xml:id="functions.m13" text="CROSSREFOP@(element-of)">
+ <XMath>
+ <XMApp role="CROSSREFOP">
+ <XMTok cr="fun" role="CROSSREFOP"/>
+ <XMTok meaning="element-of" name="in" role="RELOP">∈</XMTok>
+ </XMApp>
+ </XMath>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:2" xml:id="functions.m14" text="arg:2">
+ <XMath>
+ <XMTok role="ID">arg:2</XMTok>
+ </XMath>
+ </Math>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="function" xml:id="function.def.sym" about="#function.def.sym" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)"/>
+ <definition for="function" xml:id="functions.def" about="#functions.def" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+ <CMP xml:id="functions.def.p1" about="#functions.def.p1" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+ <p xml:id="functions.def.p1.p1" about="#functions.def.p1.p1" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+A <idx xml:id="functions.def.p1.p1.p1" about="#functions.def.p1.p1.p1" stex:srcref="functions.tex#textrange(from=7;68,to=8;21)"><idt><term cd="functions" name="function" role="definiendum" xml:id="functions.def.p1.p1.p1.p1" about="#functions.def.p1.p1.p1.p1" stex:srcref="functions.tex#textrange(from=7;68,to=8;21)">function</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">function</text></idp></ide></idx> <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\fun{f}{A}{B}" xml:id="functions.def.p1.p1.m1" text="fun@(f, A, B)"><XMath><XMApp><XMTok meaning="fun" name="fun" omcd="functions"/><XMTok role="UNKNOWN" font="italic">f</XMTok><XMTok role="UNKNOWN" font="italic">A</XMTok><XMTok role="UNKNOWN" font="italic">B</XMTok></XMApp></XMath></Math> is a left-total, right-unique relation in <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\cart{A,B}" xml:id="functions.def.p1.p1.m2" text="cart@(list@(A, B))"><XMath><XMApp><XMTok meaning="cart" name="cart" omcd="functions"/><XMApp><XMTok meaning="list" role="FENCED" separators=","/><XMTok role="UNKNOWN" font="italic">A</XMTok><XMTok role="UNKNOWN" font="italic">B</XMTok></XMApp></XMApp></XMath></Math>
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!-- %%% Local Variables:
+ %%% mode: LaTeX
+ %%% TeX-master: "all"
+ %%% End:-->
+</omdoc>
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/functions.tex.xml.log b/Master/texmf-dist/doc/latex/stex/example/background/functions.tex.xml.log
new file mode 100644
index 00000000000..dd838c7b779
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/functions.tex.xml.log
@@ -0,0 +1,27 @@
+
+(Digesting /Users/kohlhase/stc/stex/example/background/functions...
+(Processing functions.tex... 0.06 sec) 0.06 sec)
+(Building...
+(Loading RelaxNG omdoc+ltxml...
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.openmath.org/OpenMath"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311. 1.40 sec)...... 1.51 sec)
+(Rewriting... 0.00 sec)
+(Math Parsing...11 formulae ...[1][2][3][4][5][6][7][8][9][10][11]
+Math parsing succeeded:
+ ltx:XMArg: 4/4
+ ltx:XMath: 11/11
+Symbols assumed as simple identifiers (with # of occurences):
+ 'A{italic}' (1), 'B{italic}' (1)
+ 0.02 sec)
+(Finalizing... 0.01 sec)
+Conversion complete: 12 warnings.
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/functions.xml b/Master/texmf-dist/doc/latex/stex/example/background/functions.xml
new file mode 100644
index 00000000000..631a76a0318
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/functions.xml
@@ -0,0 +1,165 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?latexml searchpaths=".,../../sty,../../rnc,../../rnc/omdoc,../../sty/modules,../../sty/statements,../../sty/sproof,../../sty/omtext,../../sty/omdoc,../../sty/sref,../../sty/presentation,../../sty/dcm,../../sty/reqdoc,../../sty/omd,../../sty/mikoslides,../../sty/problem,../../sty/assignment,../../sty/etc,/Users/kohlhase/stc/stex/example/background"?>
+<?latexml RelaxNGSchema="omdoc+ltxml"?>
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:omdoc="http://omdoc.org/ns" stex:srcref="Anonymous String#textrange(from=1;1,to=1;17)" xml:id="functions.omdoc">
+ <omgroup layout="sectioning" xml:id="sec.functions" about="#sec.functions" stex:srcref="functions.tex#textrange(from=1;0,to=11;13)">
+ <metadata xml:id="sec.functions.p1" about="#sec.functions.p1" stex:srcref="functions.tex#textrange(from=1;0,to=10;12)">
+ <dc:title stex:srcref="functions.tex#textrange(from=1;0,to=11;13)" xml:id="sec.functions.p1.p1" about="#sec.functions.p1.p1">
+ <p xml:id="sec.functions.p1.p1.p1" about="#sec.functions.p1.p1.p1" stex:srcref="functions.tex#textrange(from=1;0,to=11;13)">Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="functions" about="#functions" stex:srcref="functions.tex#textrange(from=2;0,to=10;12)">
+ <symbol name="cart" xml:id="cart.sym" about="#cart.sym" stex:srcref="functions.tex#textrange(from=3;0,to=3;55)"/>
+ <notation cd="functions" name="cart">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="cart"/>
+ <exprlist name="args">
+ <expr name="arg"/>
+ </exprlist>
+ </om:OMA>
+ </prototype>
+ <rendering precedence="500">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <iterate name="args">
+ <separator>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\times}" xml:id="functions.m2" text="CROSSREFOP@(*)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMV name=""/>
+ <om:OMS cd="arith1" name="times"/>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mo cr="fun">×</m:mo>
+ </m:math>
+ </Math>
+ </separator>
+ <render name="arg"/>
+ </iterate>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="fun" xml:id="fun.sym" about="#fun.sym" stex:srcref="functions.tex#textrange(from=4;1,to=4;72)"/>
+ <notation cd="functions" name="fun">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="fun"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ <expr name="arg3"/>
+ </om:OMA>
+ </prototype>
+ <rendering argprec=" " precedence="200">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:1" xml:id="functions.m5" text="arg:1">
+ <om:OMOBJ>
+ <om:OMV name="arg:1"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi>arg:1</m:mi>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\colon}" xml:id="functions.m6" text="CROSSREFOP@(colon)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMV name=""/>
+ <om:OMV name=":"/>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mo cr="fun">:</m:mo>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:2" xml:id="functions.m7" text="arg:2">
+ <om:OMOBJ>
+ <om:OMV name="arg:2"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi>arg:2</m:mi>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\rightarrow}" xml:id="functions.m8" text="CROSSREFOP@(rightarrow)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMV name=""/>
+ <om:OMV name="rightarrow"/>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mo cr="fun">→</m:mo>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:3" xml:id="functions.m9" text="arg:3">
+ <om:OMOBJ>
+ <om:OMV name="arg:3"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi>arg:3</m:mi>
+ </m:math>
+ </Math>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="inset" xml:id="inset.sym" about="#inset.sym" stex:srcref="functions.tex#textrange(from=5;1,to=5;46)"/>
+ <notation cd="functions" name="inset">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="functions" cr="fun" name="inset"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering argprec=" " precedence="650">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:1" xml:id="functions.m12" text="arg:1">
+ <om:OMOBJ>
+ <om:OMV name="arg:1"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi>arg:1</m:mi>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{\in}" xml:id="functions.m13" text="CROSSREFOP@(element-of)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMV name=""/>
+ <om:OMS cd="latexml" name="element-of"/>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mo cr="fun">∈</m:mo>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:2" xml:id="functions.m14" text="arg:2">
+ <om:OMOBJ>
+ <om:OMV name="arg:2"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi>arg:2</m:mi>
+ </m:math>
+ </Math>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="function" xml:id="function.def.sym" about="#function.def.sym" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)"/>
+ <definition for="function" xml:id="functions.def" about="#functions.def" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+ <CMP xml:id="functions.def.p1" about="#functions.def.p1" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+ <p xml:id="functions.def.p1.p1" about="#functions.def.p1.p1" stex:srcref="functions.tex#textrange(from=7;0,to=9;16)">
+A <idx xml:id="functions.def.p1.p1.p1" about="#functions.def.p1.p1.p1" stex:srcref="functions.tex#textrange(from=7;68,to=8;21)"><idt><term cd="functions" name="function" role="definiendum" xml:id="functions.def.p1.p1.p1.p1" about="#functions.def.p1.p1.p1.p1" stex:srcref="functions.tex#textrange(from=7;68,to=8;21)">function</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">function</text></idp></ide></idx> <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\fun{f}{A}{B}" xml:id="functions.def.p1.p1.m1" text="fun@(f, A, B)"><om:OMOBJ><om:OMA><om:OMS cd="functions" name="fun"/><om:OMV name="f"/><om:OMV name="A"/><om:OMV name="B"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi mathcolor="red">fun</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>f</m:mi><m:mo>, </m:mo><m:mi>A</m:mi><m:mo>, </m:mo><m:mi>B</m:mi></m:mrow></m:mrow></m:math></Math> is a left-total, right-unique relation in <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\cart{A,B}" xml:id="functions.def.p1.p1.m2" text="cart@(list@(A, B))"><om:OMOBJ><om:OMA><om:OMS cd="functions" name="cart"/><om:OMA><om:OMS cd="latexml" name="list"/><om:OMV name="A"/><om:OMV name="B"/></om:OMA></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi mathcolor="red">cart</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>A</m:mi><m:mo>,</m:mo><m:mi>B</m:mi></m:mrow></m:mrow></m:math></Math>
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!-- %%% Local Variables:
+ %%% mode: LaTeX
+ %%% TeX-master: "all"
+ %%% End:-->
+</omdoc>
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/functions.xml.log b/Master/texmf-dist/doc/latex/stex/example/background/functions.xml.log
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/functions.xml.log
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/paper.tex.xml.log b/Master/texmf-dist/doc/latex/stex/example/background/paper.tex.xml.log
new file mode 100644
index 00000000000..8e6af5e626f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/paper.tex.xml.log
@@ -0,0 +1,146 @@
+
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/TeX.pool.ltxml... 0.17 sec)
+
+(Digesting /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/example/paper/paper...
+(Processing paper.tex...
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/LaTeX.pool.ltxml... 0.14 sec)
+(Loading ../../sty/omdoc/omdoc.cls.ltxml...
+Warning:perl:warn Subroutine xmlBase redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.cls.ltxml line 33.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.cls.ltxml line 33
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.cls.ltxml line 33
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/article.cls.ltxml... 0.06 sec)
+(Loading ../../sty/sref/sref.sty.ltxml...
+(Loading ../../sty/omd/omd.sty.ltxml... 0.00 sec) 0.03 sec)
+(Loading ../../sty/omdoc/omdoc.sty.ltxml...
+Warning:perl:warn Subroutine omdocColorMacro redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.sty.ltxml line 90.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.sty.ltxml line 90
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.sty.ltxml line 90
+(Loading ../../sty/omtext/omtext.sty.ltxml...
+Warning:perl:warn Subroutine useCMPItemizations redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 30.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 30
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 30
+Warning:perl:warn Subroutine DefCMPEnvironment redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 58.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 58
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 58
+Warning:perl:warn Subroutine DefCMPConstructor redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 65.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 65
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 65
+Warning:perl:warn Subroutine numberIt redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 218.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 218
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 218
+Warning:perl:warn Subroutine locateIt redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 233.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 233
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 233 0.04 sec) 0.09 sec) 0.25 sec)
+(Loading ../../sty/stex.sty.ltxml...
+(Loading ../../sty/stex-logo.sty.ltxml... 0.01 sec)
+(Loading ../../sty/modules/modules.sty.ltxml...
+Warning:perl:warn Subroutine use_module redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 48.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 48
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 48
+Warning:perl:warn Subroutine omext redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 63.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 63
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 63
+Warning:perl:warn Subroutine importmoduleI redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 74.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 74
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 74
+Warning:perl:warn Subroutine symdef_presentation_pmml redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 375.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 375
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 375
+Warning:perl:warn Subroutine getSymmdefProperties redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 389.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 389
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 389
+Warning:perl:warn Subroutine get_cd redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 412.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 412
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 412
+Warning:perl:warn Subroutine symdef_presentation_TeX redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 463.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 463
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 463 0.02 sec)
+(Loading ../../sty/statements/statements.sty.ltxml...
+Warning:perl:warn Subroutine lowcase redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 7.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 7
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 7
+Warning:perl:warn Subroutine dashed redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 8.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 8
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 8
+Warning:perl:warn Subroutine makeNCName redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 9.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 9
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 9
+Warning:perl:warn Subroutine simple_wrapper redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 17.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 17
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 17
+Warning:perl:warn Subroutine hash_wrapper redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 25.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 25
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 25
+Warning:perl:warn Subroutine declareFunctions redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 33.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 33
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 33
+Warning:perl:warn Subroutine definitionBody redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 75.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 75
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 75 0.05 sec)
+(Loading ../../sty/sproof/sproof.sty.ltxml...
+Warning:perl:warn Subroutine extractBodyText redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/sproof/sproof.sty.ltxml line 65.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/sproof/sproof.sty.ltxml line 65
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/sproof/sproof.sty.ltxml line 65 0.03 sec)
+(Loading ../../sty/presentation/presentation.sty.ltxml...
+Warning:perl:warn Subroutine argument_precedence redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 57.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 57
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 57
+Warning:perl:warn Subroutine applyPrecedencePreferences redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 71.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 71
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 71
+Warning:perl:warn Subroutine cvar_id redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 303.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 303
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 303 0.02 sec)
+(Loading ../../sty/dcm/dcm.sty.ltxml...
+Warning:perl:warn Subroutine getKeyValue_noDelim redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 7.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 7
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 7
+Warning:perl:warn Subroutine ExportMetadata redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 13.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 13
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 13
+Warning:perl:warn Subroutine FishOutMetadata redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 52.
+In Gullet[@0x102619a50] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 52
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 52 0.03 sec) 0.34 sec)
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/amssymb.sty.ltxml...
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/amsfonts.sty.ltxml... 0.01 sec) 0.07 sec)
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/alltt.sty.ltxml... 0.04 sec)
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/hyperref.sty.ltxml...
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/url.sty.ltxml... 0.01 sec) 0.03 sec)
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/listings.sty.ltxml...
+(Style ../../../../../../../../../usr/local/texlive/2009/texmf-dist/tex/latex/listings/listings.cfg...[#25] 0.05 sec)
+Info: expected:lstlang0.sty Couldn't find config file lstlang0.sty
+In Gullet[@0x102619a50] /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/listings.sty.ltxml line 1178
+/opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/listings.sty.ltxml line 1178
+(Style ../../../../../../../../../usr/local/texlive/2009/texmf-dist/tex/latex/listings/lstlang1.sty...[#25][#50][#75][#100][#125][#150][#175][#200][#225][#250][#275][#300][#325][#350][#375][#400][#425][#450][#475][#500][#525][#550][#575][#600][#625][#650][#675][#700][#725][#750][#775][#800][#825][#850][#875][#900][#925][#950][#975][#1000][#1025][#1050][#1075][#1100][#1125][#1150][#1175][#1200][#1225][#1250][#1275][#1300][#1325][#1350][#1375][#1400][#1425][#1450][#1475][#1500][#1525] 1.34 sec)
+(Style ../../../../../../../../../usr/local/texlive/2009/texmf-dist/tex/latex/listings/lstlang2.sty...[#25][#50][#75][#100][#125][#150][#175][#200][#225][#250][#275][#300][#325][#350][#375][#400][#425][#450][#475][#500][#525][#550][#575][#600][#625][#650][#675][#700][#725][#750][#775][#800][#825][#850][#875][#900][#925][#950][#975][#1000][#1025][#1050][#1075][#1100][#1125][#1150][#1175][#1200][#1225][#1250][#1275][#1300][#1325][#1350][#1375][#1400][#1425][#1450][#1475][#1500][#1525] 1.29 sec)
+(Style ../../../../../../../../../usr/local/texlive/2009/texmf-dist/tex/latex/listings/lstlang3.sty...[#25][#50][#75][#100][#125][#150][#175][#200][#225][#250][#275][#300][#325][#350][#375][#400][#425][#450][#475][#500][#525][#550][#575][#600][#625][#650][#675][#700][#725][#750][#775][#800][#825][#850][#875][#900][#925][#950][#975][#1000][#1025][#1050][#1075][#1100][#1125][#1150][#1175][#1200][#1225][#1250][#1275][#1300][#1325][#1350][#1375][#1400][#1425][#1450][#1475][#1500][#1525][#1550] 1.25 sec) 5.31 sec)[#25][#50][#75][#100]
+(Processing continuous.tex...
+(Processing ../background/functions.sms... 0.01 sec)
+(Processing ../background/reals.sms... 0.01 sec) 0.10 sec)
+(Processing differentiable.tex... 0.04 sec) 7.08 sec) 7.10 sec)
+(Building...
+(Loading RelaxNG omdoc+ltxml...
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.openmath.org/OpenMath"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311. 2.51 sec)................. 3.12 sec)
+(Rewriting... 0.00 sec)
+(Math Parsing...14 formulae ...[1][2][3][4][5][6][7][8][9][10][11][12][13][14]
+Math parsing succeeded:
+ ltx:XMArg: 19/19
+ ltx:XMath: 14/14
+Symbols assumed as simple identifiers (with # of occurences):
+ 'C{caligraphic}' (2), 'delta' (4), 'epsilon' (4), 'f{italic}' (4), 'x{italic}' (5), 'y{italic}' (5)
+Possibly used as functions?
+ 'C{caligraphic}' (2/2 usages), 'f{italic}' (4/4 usages)
+ 0.29 sec)
+(Finalizing... 0.02 sec)
+Conversion complete: 40 warnings.
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/post.tex b/Master/texmf-dist/doc/latex/stex/example/background/post.tex
new file mode 100644
index 00000000000..6b47932f52b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/post.tex
@@ -0,0 +1 @@
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/pre.tex b/Master/texmf-dist/doc/latex/stex/example/background/pre.tex
new file mode 100644
index 00000000000..38faacc82b0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/pre.tex
@@ -0,0 +1,6 @@
+\documentclass{omdoc}
+\usepackage{stex,amssymb}
+\usepackage{hyperref}
+\defpath{backmods}{../background}
+% \baseURI[\backmods{}]{http://linkeddata.tntbase.org/stex}
+% \coolurion
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/reals.omdoc b/Master/texmf-dist/doc/latex/stex/example/background/reals.omdoc
new file mode 100644
index 00000000000..96455425373
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/reals.omdoc
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>
+<!--This OMDoc document is generated from an sTeX-encoded one via LaTeXML, you may want to reconsider editing it.-->
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:omdoc="http://omdoc.org/ns" stex:srcref="Anonymous String#textrange(from=1;1,to=1;17)" xml:id="reals.omdoc">
+ <omgroup layout="sectioning" xml:id="sec.reals" about="#sec.reals" stex:srcref="reals.tex#textrange(from=1;0,to=16;13)">
+ <metadata xml:id="sec.reals.p1" about="#sec.reals.p1" stex:srcref="reals.tex#textrange(from=1;0,to=15;12)">
+ <dc:title stex:srcref="reals.tex#textrange(from=1;0,to=16;13)" xml:id="sec.reals.p1.p1" about="#sec.reals.p1.p1">
+ <p xml:id="sec.reals.p1.p1.p1" about="#sec.reals.p1.p1.p1" stex:srcref="reals.tex#textrange(from=1;0,to=16;13)">Real Numbers</p>
+ </dc:title>
+ </metadata>
+ <theory xmlns:mcd="http://www.w3.org/ns/mathml-cd" xml:id="reals" about="#reals" stex:srcref="reals.tex#textrange(from=2;0,to=15;12)">
+ <imports from="../../../slides/extcds/omstd/arith1.omdoc#arith1"/>
+ <symbol name="RealNumbers" xml:id="RealNumbers.sym" about="#RealNumbers.sym" stex:srcref="reals.tex#textrange(from=3;1,to=3;33)"/>
+ <notation cd="reals" name="RealNumbers">
+ <prototype>
+ <om:OMS cd="reals" name="RealNumbers"/>
+ </prototype>
+ <rendering>
+ <m:mi mathvariant="double-struck">R</m:mi>
+ </rendering>
+ </notation>
+ <symbol name="absval" xml:id="absval.sym" about="#absval.sym" stex:srcref="reals.tex#textrange(from=4;1,to=4;43)"/>
+ <notation cd="reals" name="absval">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="reals" cr="fun" name="absval"/>
+ <expr name="arg1"/>
+ </om:OMA>
+ </prototype>
+ <rendering precedence="2000">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <m:mo cr="fun">|</m:mo>
+ <render name="arg1" precedence="2000"/>
+ <m:mo cr="fun">|</m:mo>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="rfrac" xml:id="rfrac.sym" about="#rfrac.sym" stex:srcref="reals.tex#textrange(from=5;1,to=5;33)"/>
+ <notation cd="reals" name="rfrac">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="reals" cr="fun" name="rfrac"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering>
+ <m:mfrac>
+ <render name="arg1"/>
+ <render name="arg2"/>
+ </m:mfrac>
+ </rendering>
+ </notation>
+ <symbol name="real-numbers" xml:id="real-numbers.def.sym" about="#real-numbers.def.sym" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)"/>
+ <definition for="real-numbers" xml:id="reals.def" about="#reals.def" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)">
+ <CMP xml:id="reals.def.p1" about="#reals.def.p1" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)">
+ <p xml:id="reals.def.p1.p1" about="#reals.def.p1.p1" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)">
+We denote the set of <idx xml:id="reals.def.p1.p1.p1" about="#reals.def.p1.p1.p1" stex:srcref="reals.tex#textrange(from=7;27,to=8;47)"><idt><term cd="reals" name="real-numbers" role="definiendum" xml:id="reals.def.p1.p1.p1.p1" about="#reals.def.p1.p1.p1.p1" stex:srcref="reals.tex#textrange(from=7;27,to=8;47)">real numbers</term></idt><ide index="default"><idp><phrase>real</phrase></idp><idp><phrase>numbers</phrase></idp></ide></idx> we all know and love with
+<om:OMOBJ><om:OMS cd="reals" name="RealNumbers"/></om:OMOBJ>.
+</p>
+ </CMP>
+ </definition>
+ <definition xml:id="absval.def" about="#absval.def" stex:srcref="reals.tex#textrange(from=12;0,to=14;16)">
+ <CMP xml:id="absval.def.p1" about="#absval.def.p1" stex:srcref="reals.tex#textrange(from=12;0,to=14;16)">
+ <p xml:id="absval.def.p1.p1" about="#absval.def.p1.p1" stex:srcref="reals.tex#textrange(from=12;0,to=14;16)">
+The absolute value <om:OMOBJ><om:OMA><om:OMS cd="reals" name="absval"/><om:OMV name="r"/></om:OMA></om:OMOBJ> of a real number <om:OMOBJ><om:OMV name="r"/></om:OMOBJ>.
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!--The data elements-->
+</omdoc>
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/reals.omdoc.log b/Master/texmf-dist/doc/latex/stex/example/background/reals.omdoc.log
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/reals.omdoc.log
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/reals.sms b/Master/texmf-dist/doc/latex/stex/example/background/reals.sms
new file mode 100644
index 00000000000..437865ee78c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/reals.sms
@@ -0,0 +1,5 @@
+\begin{module}[id=reals]%
+\symdef{RealNumbers}{\mathbb{R}}%
+\symdef{absval}[1]{\mixfixi[p=2000]|{#1}|}%
+\symdef{rfrac}[2]{\frac{#1}{#2}}%
+\end{module}%
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/reals.tex b/Master/texmf-dist/doc/latex/stex/example/background/reals.tex
new file mode 100644
index 00000000000..6acdee48cbe
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/reals.tex
@@ -0,0 +1,20 @@
+\begin{omgroup}[id=sec.reals]{Real Numbers}
+\begin{module}[id=reals]
+\symdef{RealNumbers}{\mathbb{R}}
+\symdef{absval}[1]{\mixfixi[p=2000]|{#1}|}
+\symdef{rfrac}[2]{\frac{#1}{#2}}
+
+\begin{definition}[id=reals.def]
+ We denote the set of {\twindef{real}{numbers}} we all know and love with
+ $\RealNumbers$.
+\end{definition}
+
+\begin{definition}[id=absval.def]
+ The absolute value $\absval{r}$ of a real number $r$.
+\end{definition}
+\end{module}
+\end{omgroup}
+%%% Local Variables:
+%%% mode: LaTeX
+%%% TeX-master: "all"
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/reals.tex.xml b/Master/texmf-dist/doc/latex/stex/example/background/reals.tex.xml
new file mode 100644
index 00000000000..30fd3d46171
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/reals.tex.xml
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?latexml searchpaths=".,../../sty,../../rnc,../../rnc/omdoc,../../sty/modules,../../sty/statements,../../sty/sproof,../../sty/omtext,../../sty/omdoc,../../sty/sref,../../sty/presentation,../../sty/dcm,../../sty/reqdoc,../../sty/omd,../../sty/mikoslides,../../sty/problem,../../sty/assignment,../../sty/etc,/Users/kohlhase/stc/stex/example/background"?>
+<?latexml RelaxNGSchema="omdoc+ltxml"?>
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:omdoc="http://omdoc.org/ns" stex:srcref="Anonymous String#textrange(from=1;1,to=1;17)" xml:id="reals.omdoc">
+ <omgroup layout="sectioning" xml:id="sec.reals" about="#sec.reals" stex:srcref="reals.tex#textrange(from=1;0,to=16;13)">
+ <metadata xml:id="sec.reals.p1" about="#sec.reals.p1" stex:srcref="reals.tex#textrange(from=1;0,to=15;12)">
+ <dc:title stex:srcref="reals.tex#textrange(from=1;0,to=16;13)" xml:id="sec.reals.p1.p1" about="#sec.reals.p1.p1">
+ <p xml:id="sec.reals.p1.p1.p1" about="#sec.reals.p1.p1.p1" stex:srcref="reals.tex#textrange(from=1;0,to=16;13)">Real Numbers</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="reals" about="#reals" stex:srcref="reals.tex#textrange(from=2;0,to=15;12)">
+ <symbol name="RealNumbers" xml:id="RealNumbers.sym" about="#RealNumbers.sym" stex:srcref="reals.tex#textrange(from=3;1,to=3;33)"/>
+ <notation cd="reals" name="RealNumbers">
+ <prototype>
+ <om:OMS cd="reals" name="RealNumbers"/>
+ </prototype>
+ <rendering>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" xml:id="reals.m1" text="R">
+ <XMath>
+ <XMTok role="UNKNOWN" font="blackboard">R</XMTok>
+ </XMath>
+ </Math>
+ </rendering>
+ </notation>
+ <symbol name="absval" xml:id="absval.sym" about="#absval.sym" stex:srcref="reals.tex#textrange(from=4;1,to=4;43)"/>
+ <notation cd="reals" name="absval">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="reals" cr="fun" name="absval"/>
+ <expr name="arg1"/>
+ </om:OMA>
+ </prototype>
+ <rendering argprec=" " precedence="2000">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{|}" xml:id="reals.m2" text="CROSSREFOP@(|)">
+ <XMath>
+ <XMApp role="CROSSREFOP">
+ <XMTok cr="fun" role="CROSSREFOP"/>
+ <XMTok role="VERTBAR">|</XMTok>
+ </XMApp>
+ </XMath>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:1" xml:id="reals.m3" text="arg:1">
+ <XMath>
+ <XMTok role="ID">arg:1</XMTok>
+ </XMath>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{|}" xml:id="reals.m4" text="CROSSREFOP@(|)">
+ <XMath>
+ <XMApp role="CROSSREFOP">
+ <XMTok cr="fun" role="CROSSREFOP"/>
+ <XMTok role="VERTBAR">|</XMTok>
+ </XMApp>
+ </XMath>
+ </Math>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="rfrac" xml:id="rfrac.sym" about="#rfrac.sym" stex:srcref="reals.tex#textrange(from=5;1,to=5;33)"/>
+ <notation cd="reals" name="rfrac">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="reals" cr="fun" name="rfrac"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" xml:id="reals.m5" text="arg:1 / arg:2">
+ <XMath>
+ <XMApp>
+ <XMTok meaning="divide" role="MULOP" style="text"/>
+ <XMTok role="ID">arg:1</XMTok>
+ <XMTok role="ID">arg:2</XMTok>
+ </XMApp>
+ </XMath>
+ </Math>
+ </rendering>
+ </notation>
+ <symbol name="real-numbers" xml:id="real-numbers.def.sym" about="#real-numbers.def.sym" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)"/>
+ <definition for="real-numbers" xml:id="reals.def" about="#reals.def" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)">
+ <CMP xml:id="reals.def.p1" about="#reals.def.p1" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)">
+ <p xml:id="reals.def.p1.p1" about="#reals.def.p1.p1" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)">
+We denote the set of <idx xml:id="reals.def.p1.p1.p1" about="#reals.def.p1.p1.p1" stex:srcref="reals.tex#textrange(from=7;27,to=8;47)"><idt><term cd="reals" name="real-numbers" role="definiendum" xml:id="reals.def.p1.p1.p1.p1" about="#reals.def.p1.p1.p1.p1" stex:srcref="reals.tex#textrange(from=7;27,to=8;47)">real numbers</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">real</text></idp><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">numbers</text></idp></ide></idx> we all know and love with
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\RealNumbers" xml:id="reals.def.p1.p1.m1" text="RealNumbers"><XMath><XMTok meaning="RealNumbers" name="RealNumbers" omcd="reals"/></XMath></Math>.
+</p>
+ </CMP>
+ </definition>
+ <definition xml:id="absval.def" about="#absval.def" stex:srcref="reals.tex#textrange(from=12;0,to=14;16)">
+ <CMP xml:id="absval.def.p1" about="#absval.def.p1" stex:srcref="reals.tex#textrange(from=12;0,to=14;16)">
+ <p xml:id="absval.def.p1.p1" about="#absval.def.p1.p1" stex:srcref="reals.tex#textrange(from=12;0,to=14;16)">
+The absolute value <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\absval{r}" xml:id="absval.def.p1.p1.m1" text="absval@(r)"><XMath><XMApp><XMTok meaning="absval" name="absval" omcd="reals"/><XMTok role="UNKNOWN" font="italic">r</XMTok></XMApp></XMath></Math> of a real number <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="r" xml:id="absval.def.p1.p1.m2" text="r"><XMath><XMTok role="UNKNOWN" font="italic">r</XMTok></XMath></Math>.
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!-- %%% Local Variables:
+ %%% mode: LaTeX
+ %%% TeX-master: "all"
+ %%% End:-->
+</omdoc>
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/reals.tex.xml.log b/Master/texmf-dist/doc/latex/stex/example/background/reals.tex.xml.log
new file mode 100644
index 00000000000..aae799e00aa
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/reals.tex.xml.log
@@ -0,0 +1,12 @@
+
+(Digesting /Users/kohlhase/stc/stex/example/background/reals...
+(Processing reals.tex... 0.03 sec) 0.04 sec)
+(Building....... 0.03 sec)
+(Rewriting... 0.00 sec)
+(Math Parsing...8 formulae ...[1][2][3][4][5][6][7][8]
+Math parsing succeeded:
+ ltx:XMArg: 3/3
+ ltx:XMath: 8/8
+ 0.00 sec)
+(Finalizing... 0.00 sec)
+Conversion complete: No obvious problems.
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/reals.xml b/Master/texmf-dist/doc/latex/stex/example/background/reals.xml
new file mode 100644
index 00000000000..3e5069c314e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/reals.xml
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?latexml searchpaths=".,../../sty,../../rnc,../../rnc/omdoc,../../sty/modules,../../sty/statements,../../sty/sproof,../../sty/omtext,../../sty/omdoc,../../sty/sref,../../sty/presentation,../../sty/dcm,../../sty/reqdoc,../../sty/omd,../../sty/mikoslides,../../sty/problem,../../sty/assignment,../../sty/etc,/Users/kohlhase/stc/stex/example/background"?>
+<?latexml RelaxNGSchema="omdoc+ltxml"?>
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:omdoc="http://omdoc.org/ns" stex:srcref="Anonymous String#textrange(from=1;1,to=1;17)" xml:id="reals.omdoc">
+ <omgroup layout="sectioning" xml:id="sec.reals" about="#sec.reals" stex:srcref="reals.tex#textrange(from=1;0,to=16;13)">
+ <metadata xml:id="sec.reals.p1" about="#sec.reals.p1" stex:srcref="reals.tex#textrange(from=1;0,to=15;12)">
+ <dc:title stex:srcref="reals.tex#textrange(from=1;0,to=16;13)" xml:id="sec.reals.p1.p1" about="#sec.reals.p1.p1">
+ <p xml:id="sec.reals.p1.p1.p1" about="#sec.reals.p1.p1.p1" stex:srcref="reals.tex#textrange(from=1;0,to=16;13)">Real Numbers</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="reals" about="#reals" stex:srcref="reals.tex#textrange(from=2;0,to=15;12)">
+ <symbol name="RealNumbers" xml:id="RealNumbers.sym" about="#RealNumbers.sym" stex:srcref="reals.tex#textrange(from=3;1,to=3;33)"/>
+ <notation cd="reals" name="RealNumbers">
+ <prototype>
+ <om:OMS cd="reals" name="RealNumbers"/>
+ </prototype>
+ <rendering>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" xml:id="reals.m1" text="R">
+ <om:OMOBJ>
+ <om:OMV name="R"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi mathvariant="double-struck">R</m:mi>
+ </m:math>
+ </Math>
+ </rendering>
+ </notation>
+ <symbol name="absval" xml:id="absval.sym" about="#absval.sym" stex:srcref="reals.tex#textrange(from=4;1,to=4;43)"/>
+ <notation cd="reals" name="absval">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="reals" cr="fun" name="absval"/>
+ <expr name="arg1"/>
+ </om:OMA>
+ </prototype>
+ <rendering argprec=" " precedence="2000">
+ <m:mrow>
+ <m:mo egroup="fence" fence="true">(</m:mo>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{|}" xml:id="reals.m2" text="CROSSREFOP@(|)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMV name=""/>
+ <om:OMV name="|"/>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mo cr="fun">|</m:mo>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="arg:1" xml:id="reals.m3" text="arg:1">
+ <om:OMOBJ>
+ <om:OMV name="arg:1"/>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mi>arg:1</m:mi>
+ </m:math>
+ </Math>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\crossrefOp[fun]{|}" xml:id="reals.m4" text="CROSSREFOP@(|)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMV name=""/>
+ <om:OMV name="|"/>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mo cr="fun">|</m:mo>
+ </m:math>
+ </Math>
+ <m:mo egroup="fence" fence="true">)</m:mo>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="rfrac" xml:id="rfrac.sym" about="#rfrac.sym" stex:srcref="reals.tex#textrange(from=5;1,to=5;33)"/>
+ <notation cd="reals" name="rfrac">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="reals" cr="fun" name="rfrac"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" xml:id="reals.m5" text="arg:1 / arg:2">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMS cd="latexml" name="divide"/>
+ <om:OMV name="arg:1"/>
+ <om:OMV name="arg:2"/>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mfrac>
+ <m:mi>arg:1</m:mi>
+ <m:mi>arg:2</m:mi>
+ </m:mfrac>
+ </m:math>
+ </Math>
+ </rendering>
+ </notation>
+ <symbol name="real-numbers" xml:id="real-numbers.def.sym" about="#real-numbers.def.sym" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)"/>
+ <definition for="real-numbers" xml:id="reals.def" about="#reals.def" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)">
+ <CMP xml:id="reals.def.p1" about="#reals.def.p1" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)">
+ <p xml:id="reals.def.p1.p1" about="#reals.def.p1.p1" stex:srcref="reals.tex#textrange(from=7;0,to=10;16)">
+We denote the set of <idx xml:id="reals.def.p1.p1.p1" about="#reals.def.p1.p1.p1" stex:srcref="reals.tex#textrange(from=7;27,to=8;47)"><idt><term cd="reals" name="real-numbers" role="definiendum" xml:id="reals.def.p1.p1.p1.p1" about="#reals.def.p1.p1.p1.p1" stex:srcref="reals.tex#textrange(from=7;27,to=8;47)">real numbers</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">real</text></idp><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">numbers</text></idp></ide></idx> we all know and love with
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\RealNumbers" xml:id="reals.def.p1.p1.m1" text="RealNumbers"><om:OMOBJ><om:OMS cd="reals" name="RealNumbers"/></om:OMOBJ><m:math display="inline"><m:mi mathcolor="red">RealNumbers</m:mi></m:math></Math>.
+</p>
+ </CMP>
+ </definition>
+ <definition xml:id="absval.def" about="#absval.def" stex:srcref="reals.tex#textrange(from=12;0,to=14;16)">
+ <CMP xml:id="absval.def.p1" about="#absval.def.p1" stex:srcref="reals.tex#textrange(from=12;0,to=14;16)">
+ <p xml:id="absval.def.p1.p1" about="#absval.def.p1.p1" stex:srcref="reals.tex#textrange(from=12;0,to=14;16)">
+The absolute value <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\absval{r}" xml:id="absval.def.p1.p1.m1" text="absval@(r)"><om:OMOBJ><om:OMA><om:OMS cd="reals" name="absval"/><om:OMV name="r"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi mathcolor="red">absval</m:mi><m:mo>⁡</m:mo><m:mi>r</m:mi></m:mrow></m:math></Math> of a real number <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="r" xml:id="absval.def.p1.p1.m2" text="r"><om:OMOBJ><om:OMV name="r"/></om:OMOBJ><m:math display="inline"><m:mi>r</m:mi></m:math></Math>.
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!-- %%% Local Variables:
+ %%% mode: LaTeX
+ %%% TeX-master: "all"
+ %%% End:-->
+</omdoc>
diff --git a/Master/texmf-dist/doc/latex/stex/example/background/reals.xml.log b/Master/texmf-dist/doc/latex/stex/example/background/reals.xml.log
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/background/reals.xml.log
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/Makefile b/Master/texmf-dist/doc/latex/stex/example/paper/Makefile
new file mode 100644
index 00000000000..1b71727ec2f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/Makefile
@@ -0,0 +1,7 @@
+STEXDIR = ../..
+TARGET = paper.tex
+MODSLIBDIR = ../background
+
+include $(STEXDIR)/make/Makefile.vars
+all: omdoc mods pdf
+include $(STEXDIR)/make/Makefile.in
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/all.tex.xml.log b/Master/texmf-dist/doc/latex/stex/example/paper/all.tex.xml.log
new file mode 100644
index 00000000000..5d8b6c3a0fe
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/all.tex.xml.log
@@ -0,0 +1,133 @@
+
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/TeX.pool.ltxml... 0.18 sec)
+
+(Digesting /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/example/background/all...
+(Processing all.tex...
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/LaTeX.pool.ltxml... 0.15 sec)
+(Loading ../../sty/omdoc/omdoc.cls.ltxml...
+Warning:perl:warn Subroutine xmlBase redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.cls.ltxml line 33.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.cls.ltxml line 33
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.cls.ltxml line 33
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/article.cls.ltxml... 0.03 sec)
+(Loading ../../sty/sref/sref.sty.ltxml...
+(Loading ../../sty/omd/omd.sty.ltxml... 0.00 sec) 0.05 sec)
+(Loading ../../sty/omdoc/omdoc.sty.ltxml...
+Warning:perl:warn Subroutine omdocColorMacro redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.sty.ltxml line 90.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.sty.ltxml line 90
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.sty.ltxml line 90
+(Loading ../../sty/omtext/omtext.sty.ltxml...
+Warning:perl:warn Subroutine useCMPItemizations redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 30.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 30
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 30
+Warning:perl:warn Subroutine DefCMPEnvironment redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 58.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 58
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 58
+Warning:perl:warn Subroutine DefCMPConstructor redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 65.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 65
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 65
+Warning:perl:warn Subroutine numberIt redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 218.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 218
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 218
+Warning:perl:warn Subroutine locateIt redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 233.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 233
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 233 0.06 sec) 0.14 sec) 0.35 sec)
+(Loading ../../sty/stex.sty.ltxml...
+(Loading ../../sty/stex-logo.sty.ltxml... 0.01 sec)
+(Loading ../../sty/modules/modules.sty.ltxml...
+Warning:perl:warn Subroutine use_module redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 48.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 48
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 48
+Warning:perl:warn Subroutine omext redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 63.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 63
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 63
+Warning:perl:warn Subroutine importmoduleI redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 74.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 74
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 74
+Warning:perl:warn Subroutine symdef_presentation_pmml redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 375.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 375
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 375
+Warning:perl:warn Subroutine getSymmdefProperties redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 389.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 389
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 389
+Warning:perl:warn Subroutine get_cd redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 412.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 412
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 412
+Warning:perl:warn Subroutine symdef_presentation_TeX redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 463.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 463
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 463 0.02 sec)
+(Loading ../../sty/statements/statements.sty.ltxml...
+Warning:perl:warn Subroutine lowcase redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 7.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 7
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 7
+Warning:perl:warn Subroutine dashed redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 8.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 8
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 8
+Warning:perl:warn Subroutine makeNCName redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 9.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 9
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 9
+Warning:perl:warn Subroutine simple_wrapper redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 17.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 17
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 17
+Warning:perl:warn Subroutine hash_wrapper redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 25.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 25
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 25
+Warning:perl:warn Subroutine declareFunctions redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 33.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 33
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 33
+Warning:perl:warn Subroutine definitionBody redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 75.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 75
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 75 0.06 sec)
+(Loading ../../sty/sproof/sproof.sty.ltxml...
+Warning:perl:warn Subroutine extractBodyText redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/sproof/sproof.sty.ltxml line 65.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/sproof/sproof.sty.ltxml line 65
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/sproof/sproof.sty.ltxml line 65 0.04 sec)
+(Loading ../../sty/presentation/presentation.sty.ltxml...
+Warning:perl:warn Subroutine argument_precedence redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 57.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 57
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 57
+Warning:perl:warn Subroutine applyPrecedencePreferences redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 71.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 71
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 71
+Warning:perl:warn Subroutine cvar_id redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 303.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 303
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 303 0.03 sec)
+(Loading ../../sty/dcm/dcm.sty.ltxml...
+Warning:perl:warn Subroutine getKeyValue_noDelim redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 7.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 7
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 7
+Warning:perl:warn Subroutine ExportMetadata redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 13.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 13
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 13
+Warning:perl:warn Subroutine FishOutMetadata redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 52.
+In Gullet[@0x103940350] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 52
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 52 0.04 sec) 0.41 sec)
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/hyperref.sty.ltxml...
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/url.sty.ltxml... 0.01 sec) 0.05 sec)
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/amssymb.sty.ltxml...
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/amsfonts.sty.ltxml... 0.01 sec) 0.09 sec)
+(Processing functions.tex... 0.05 sec)
+(Processing reals.tex... 0.04 sec) 1.43 sec) 1.45 sec)
+(Building...
+(Loading RelaxNG omdoc+ltxml...
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.openmath.org/OpenMath"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311. 1.98 sec)......... 2.11 sec)
+(Rewriting... 0.00 sec)
+(Math Parsing...19 formulae ...[1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][17][18][19]
+Math parsing succeeded:
+ ltx:XMArg: 7/7
+ ltx:XMath: 19/19
+Symbols assumed as simple identifiers (with # of occurences):
+ 'A{italic}' (1), 'B{italic}' (1)
+ 0.02 sec)
+(Finalizing... 0.01 sec)
+Conversion complete: 40 warnings.
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/auto/paper.el b/Master/texmf-dist/doc/latex/stex/example/paper/auto/paper.el
new file mode 100644
index 00000000000..e98cfe03405
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/auto/paper.el
@@ -0,0 +1,14 @@
+(TeX-add-style-hook "paper"
+ (lambda ()
+ (LaTeX-add-bibliographies
+ "kwarc")
+ (TeX-run-style-hooks
+ "hyperref"
+ "alltt"
+ "amssymb"
+ "stex"
+ "latex2e"
+ "omdoc10"
+ "omdoc"
+ "Makefile")))
+
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/continuous.omdoc b/Master/texmf-dist/doc/latex/stex/example/paper/continuous.omdoc
new file mode 100644
index 00000000000..d02a6d216e7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/continuous.omdoc
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<!--This OMDoc document is generated from an sTeX-encoded one via LaTeXML, you may want to reconsider editing it.-->
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:omdoc="http://omdoc.org/ns" xmlns:m="http://www.w3.org/1998/Math/MathML" stex:srcref="Anonymous String#textrange(from=1;1,to=1;17)" xml:id="continuous.omdoc">
+ <omgroup layout="sectioning" xml:id="sec.contfuncs" about="#sec.contfuncs" stex:srcref="continuous.tex#textrange(from=1;0,to=13;13)">
+ <metadata xml:id="sec.contfuncs.p1" about="#sec.contfuncs.p1" stex:srcref="continuous.tex#textrange(from=1;0,to=12;12)">
+ <dc:title stex:srcref="continuous.tex#textrange(from=1;0,to=13;13)" xml:id="sec.contfuncs.p1.p1" about="#sec.contfuncs.p1.p1">
+ <p xml:id="sec.contfuncs.p1.p1.p1" about="#sec.contfuncs.p1.p1.p1" stex:srcref="continuous.tex#textrange(from=1;0,to=13;13)">Continuous Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xmlns:mcd="http://www.w3.org/ns/mathml-cd" xml:id="continuous" about="#continuous" stex:srcref="continuous.tex#textrange(from=2;0,to=12;12)">
+ <imports from="../../../slides/extcds/omstd/arith1.omdoc#arith1"/>
+ <imports from="../../../slides/extcds/omstd/relation1.omdoc#relation1"/>
+ <imports from="../background/functions.omdoc#functions" xml:id="continuous.p1" about="#continuous.p1" stex:srcref="continuous.tex#textrange(from=3;0,to=3;46)"/>
+ <imports from="../background/reals.omdoc#reals" xml:id="continuous.p2" about="#continuous.p2" stex:srcref="continuous.tex#textrange(from=4;0,to=4;38)"/>
+ <symbol name="continuousfunctions" xml:id="continuousfunctions.sym" about="#continuousfunctions.sym" stex:srcref="continuous.tex#textrange(from=5;1,to=5;54)"/>
+ <notation cd="continuous" name="continuousfunctions">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="continuous" cr="fun" name="continuousfunctions"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering>
+ <m:mrow>
+ <m:msup>
+ <m:mi mathvariant="script">C</m:mi>
+ <m:mn>0</m:mn>
+ </m:msup>
+ <m:mo>⁢</m:mo>
+ <m:mfenced open="(" close=")">
+ <m:mrow>
+ <render name="arg1"/>
+ <m:mo>,</m:mo>
+ <render name="arg2"/>
+ </m:mrow>
+ </m:mfenced>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="continuous" xml:id="continuous.def.sym" about="#continuous.def.sym" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)"/>
+ <definition for="continuous" xml:id="continuous.p5" about="#continuous.p5" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)">
+ <CMP xml:id="continuous.p5.p1" about="#continuous.p5.p1" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)">
+ <p xml:id="continuous.p5.p1.p1" about="#continuous.p5.p1.p1" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)">
+A function <om:OMOBJ><om:OMA><om:OMS cd="functions" name="fun"/><om:OMV name="f"/><om:OMS cd="reals" name="RealNumbers"/><om:OMS cd="reals" name="RealNumbers"/></om:OMA></om:OMOBJ> is called <idx xml:id="continuous.p5.p1.p1.p2" about="#continuous.p5.p1.p1.p2" stex:srcref="continuous.tex#textrange(from=7;4,to=8;76)"><idt><term cd="continuous" name="continuous" role="definiendum" xml:id="continuous.p5.p1.p1.p2.p1" about="#continuous.p5.p1.p1.p2.p1" stex:srcref="continuous.tex#textrange(from=7;4,to=8;76)">continuous</term></idt><ide index="default"><idp><phrase>continuous</phrase></idp></ide></idx> at
+<om:OMOBJ><om:OMA><om:OMS cd="functions" name="inset"/><om:OMV name="x"/><om:OMS cd="reals" name="RealNumbers"/></om:OMA></om:OMOBJ>, iff for all <om:OMOBJ><om:OMA><om:OMS cd="relation1" name="gt"/><om:OMV name="&#x3F5;"/><om:OMI>0</om:OMI></om:OMA></om:OMOBJ> there is a <om:OMOBJ><om:OMA><om:OMS cd="relation1" name="gt"/><om:OMV name="&#x3B4;"/><om:OMI>0</om:OMI></om:OMA></om:OMOBJ>, such that
+<om:OMOBJ><om:OMA><om:OMS cd="relation1" name="lt"/><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="arith1" name="minus"/><om:OMA><om:OMS cd="arith1" name="times"/><om:OMV name="f"/><om:OMV name="x"/></om:OMA><om:OMA><om:OMS cd="arith1" name="times"/><om:OMV name="f"/><om:OMV name="y"/></om:OMA></om:OMA></om:OMA><om:OMV name="&#x3F5;"/></om:OMA></om:OMOBJ> for all <om:OMOBJ><om:OMA><om:OMS cd="relation1" name="lt"/><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="arith1" name="minus"/><om:OMV name="x"/><om:OMV name="y"/></om:OMA></om:OMA><om:OMV name="&#x3B4;"/></om:OMA></om:OMOBJ></p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!--The data elements-->
+</omdoc>
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/continuous.omdoc.log b/Master/texmf-dist/doc/latex/stex/example/paper/continuous.omdoc.log
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/continuous.omdoc.log
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/continuous.sms b/Master/texmf-dist/doc/latex/stex/example/paper/continuous.sms
new file mode 100644
index 00000000000..6d42d0f52a6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/continuous.sms
@@ -0,0 +1,6 @@
+\begin{module}[id=continuous]%
+\importmodule[\backmods{functions}]{functions}%
+\importmodule[\backmods{reals}]{reals}%
+\symdef{continuousfunctions}[2]{\mathcal{C}^0(#1,#2)}%
+\abbrdef{ContRR}[2]{\continuousfunctions\RealNumbers\RealNumbers}%
+\end{module}%
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/continuous.tex b/Master/texmf-dist/doc/latex/stex/example/paper/continuous.tex
new file mode 100644
index 00000000000..65b6f832eae
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/continuous.tex
@@ -0,0 +1,17 @@
+\begin{omgroup}[id=sec.contfuncs]{Continuous Functions}
+\begin{module}[id=continuous]
+\importmodule[\backmods{functions}]{functions}
+\importmodule[\backmods{reals}]{reals}
+\symdef{continuousfunctions}[2]{\mathcal{C}^0(#1,#2)}
+\abbrdef{ContRR}[2]{\continuousfunctions\RealNumbers\RealNumbers}
+\begin{definition}
+ A function $\fun{f}\RealNumbers\RealNumbers$ is called {\defin{continuous}} at
+ $\inset{x}\RealNumbers$, iff for all $\epsilon>0$ there is a $\delta>0$, such that
+ $\absval{f(x)-f(y)}<\epsilon$ for all $\absval{x-y}<\delta$
+\end{definition}
+\end{module}
+\end{omgroup}
+%%% Local Variables:
+%%% mode: LaTeX
+%%% TeX-master: "paper"
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/continuous.tex.xml b/Master/texmf-dist/doc/latex/stex/example/paper/continuous.tex.xml
new file mode 100644
index 00000000000..1e8d3ae1c98
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/continuous.tex.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?latexml searchpaths=".,../../sty,../../rnc,../../rnc/omdoc,../../sty/modules,../../sty/statements,../../sty/sproof,../../sty/omtext,../../sty/omdoc,../../sty/sref,../../sty/presentation,../../sty/dcm,../../sty/reqdoc,../../sty/omd,../../sty/mikoslides,../../sty/problem,../../sty/assignment,../../sty/etc,/Users/kohlhase/stc/stex/example/background"?>
+<?latexml RelaxNGSchema="omdoc+ltxml"?>
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:omdoc="http://omdoc.org/ns" stex:srcref="Anonymous String#textrange(from=1;1,to=1;17)" xml:id="continuous.omdoc">
+ <omgroup layout="sectioning" xml:id="sec.contfuncs" about="#sec.contfuncs" stex:srcref="continuous.tex#textrange(from=1;0,to=13;13)">
+ <metadata xml:id="sec.contfuncs.p1" about="#sec.contfuncs.p1" stex:srcref="continuous.tex#textrange(from=1;0,to=12;12)">
+ <dc:title stex:srcref="continuous.tex#textrange(from=1;0,to=13;13)" xml:id="sec.contfuncs.p1.p1" about="#sec.contfuncs.p1.p1">
+ <p xml:id="sec.contfuncs.p1.p1.p1" about="#sec.contfuncs.p1.p1.p1" stex:srcref="continuous.tex#textrange(from=1;0,to=13;13)">Continuous Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="continuous" about="#continuous" stex:srcref="continuous.tex#textrange(from=2;0,to=12;12)">
+ <imports from="../background/functions.omdoc#functions" xml:id="continuous.p1" about="#continuous.p1" stex:srcref="continuous.tex#textrange(from=3;0,to=3;46)"/>
+ <imports from="../background/reals.omdoc#reals" xml:id="continuous.p2" about="#continuous.p2" stex:srcref="continuous.tex#textrange(from=4;0,to=4;38)"/>
+ <symbol name="continuousfunctions" xml:id="continuousfunctions.sym" about="#continuousfunctions.sym" stex:srcref="continuous.tex#textrange(from=5;1,to=5;54)"/>
+ <notation cd="continuous" name="continuousfunctions">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="continuous" cr="fun" name="continuousfunctions"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" xml:id="continuous.m1" text="C ^ 0 * open-interval@(arg:1, arg:2)">
+ <XMath>
+ <XMApp>
+ <XMTok meaning="times" role="MULOP">⁢</XMTok>
+ <XMApp>
+ <XMTok role="SUPERSCRIPTOP" scriptpos="post4"/>
+ <XMTok role="UNKNOWN" possibleFunction="yes" font="caligraphic">C</XMTok>
+ <XMTok meaning="0" role="NUMBER">0</XMTok>
+ </XMApp>
+ <XMApp>
+ <XMTok meaning="open-interval" role="FENCED" argclose=")" argopen="(" separators=","/>
+ <XMTok role="ID">arg:1</XMTok>
+ <XMTok role="ID">arg:2</XMTok>
+ </XMApp>
+ </XMApp>
+ </XMath>
+ </Math>
+ </rendering>
+ </notation>
+ <symbol name="continuous" xml:id="continuous.def.sym" about="#continuous.def.sym" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)"/>
+ <definition for="continuous" xml:id="continuous.p5" about="#continuous.p5" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)">
+ <CMP xml:id="continuous.p5.p1" about="#continuous.p5.p1" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)">
+ <p xml:id="continuous.p5.p1.p1" about="#continuous.p5.p1.p1" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)">
+A function <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\fun{f}{\RealNumbers}{\RealNumbers}" xml:id="continuous.p5.p1.p1.m1" text="fun@(f, RealNumbers, RealNumbers)"><XMath><XMApp><XMTok meaning="fun" name="fun" omcd="functions"/><XMTok role="UNKNOWN" font="italic">f</XMTok><XMTok meaning="RealNumbers" name="RealNumbers" omcd="reals"/><XMTok meaning="RealNumbers" name="RealNumbers" omcd="reals"/></XMApp></XMath></Math> is called <idx xml:id="continuous.p5.p1.p1.p2" about="#continuous.p5.p1.p1.p2" stex:srcref="continuous.tex#textrange(from=7;4,to=8;76)"><idt><term cd="continuous" name="continuous" role="definiendum" xml:id="continuous.p5.p1.p1.p2.p1" about="#continuous.p5.p1.p1.p2.p1" stex:srcref="continuous.tex#textrange(from=7;4,to=8;76)">continuous</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">continuous</text></idp></ide></idx> at
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\inset{x}{\RealNumbers}" xml:id="continuous.p5.p1.p1.m2" text="inset@(x, RealNumbers)"><XMath><XMApp><XMTok meaning="inset" name="inset" omcd="functions"/><XMTok role="UNKNOWN" font="italic">x</XMTok><XMTok meaning="RealNumbers" name="RealNumbers" omcd="reals"/></XMApp></XMath></Math>, iff for all <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\epsilon&gt;0" xml:id="continuous.p5.p1.p1.m3" text="epsilon &gt; 0"><XMath><XMApp><XMTok meaning="greater-than" role="RELOP">&gt;</XMTok><XMTok name="epsilon" role="UNKNOWN" font="italic">ϵ</XMTok><XMTok meaning="0" role="NUMBER">0</XMTok></XMApp></XMath></Math> there is a <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\delta&gt;0" xml:id="continuous.p5.p1.p1.m4" text="delta &gt; 0"><XMath><XMApp><XMTok meaning="greater-than" role="RELOP">&gt;</XMTok><XMTok name="delta" role="UNKNOWN" font="italic">δ</XMTok><XMTok meaning="0" role="NUMBER">0</XMTok></XMApp></XMath></Math>, such that
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\absval{f(x)-f(y)}&lt;\epsilon" xml:id="continuous.p5.p1.p1.m5" text="absval@(f * x - f * y) less epsilon"><XMath><XMApp><XMTok meaning="less-than" role="RELOP">&lt;</XMTok><XMApp><XMTok meaning="absval" name="absval" omcd="reals"/><XMApp><XMTok meaning="minus" role="ADDOP">-</XMTok><XMApp><XMTok meaning="times" role="MULOP">⁢</XMTok><XMTok role="UNKNOWN" possibleFunction="yes" font="italic">f</XMTok><XMTok role="UNKNOWN" open="(" close=")" font="italic">x</XMTok></XMApp><XMApp><XMTok meaning="times" role="MULOP">⁢</XMTok><XMTok role="UNKNOWN" possibleFunction="yes" font="italic">f</XMTok><XMTok role="UNKNOWN" open="(" close=")" font="italic">y</XMTok></XMApp></XMApp></XMApp><XMTok name="epsilon" role="UNKNOWN" font="italic">ϵ</XMTok></XMApp></XMath></Math> for all <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\absval{x-y}&lt;\delta" xml:id="continuous.p5.p1.p1.m6" text="absval@(x - y) less delta"><XMath><XMApp><XMTok meaning="less-than" role="RELOP">&lt;</XMTok><XMApp><XMTok meaning="absval" name="absval" omcd="reals"/><XMApp><XMTok meaning="minus" role="ADDOP">-</XMTok><XMTok role="UNKNOWN" font="italic">x</XMTok><XMTok role="UNKNOWN" font="italic">y</XMTok></XMApp></XMApp><XMTok name="delta" role="UNKNOWN" font="italic">δ</XMTok></XMApp></XMath></Math>
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!-- %%% Local Variables:
+ %%% mode: LaTeX
+ %%% TeX-master: "paper"
+ %%% End:-->
+</omdoc>
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/continuous.tex.xml.log b/Master/texmf-dist/doc/latex/stex/example/paper/continuous.tex.xml.log
new file mode 100644
index 00000000000..1c1ce813a58
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/continuous.tex.xml.log
@@ -0,0 +1,203 @@
+
+(Digesting ../background/pre...
+(Processing ../background/pre.tex...
+(Loading ../../sty/omdoc/omdoc.cls.ltxml...
+Warning:perl:warn Subroutine xmlBase redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.cls.ltxml line 33.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.cls.ltxml line 33
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.cls.ltxml line 33
+(Loading ../../sty/sref/sref.sty.ltxml...
+(Loading ../../sty/omd/omd.sty.ltxml... 0.00 sec) 0.03 sec)
+(Loading ../../sty/omdoc/omdoc.sty.ltxml...
+Warning:perl:warn Subroutine omdocColorMacro redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.sty.ltxml line 90.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.sty.ltxml line 90
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.sty.ltxml line 90
+(Loading ../../sty/omtext/omtext.sty.ltxml...
+Warning:perl:warn Subroutine useCMPItemizations redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 30.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 30
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 30
+Warning:perl:warn Subroutine DefCMPEnvironment redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 58.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 58
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 58
+Warning:perl:warn Subroutine DefCMPConstructor redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 65.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 65
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 65
+Warning:perl:warn Subroutine numberIt redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 218.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 218
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 218
+Warning:perl:warn Subroutine locateIt redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 233.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 233
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 233
+Error:unexpected:\newcommand T_CS[\mygraphics] is already defined
+In Primitive[\newcommand OptionalMatch:*... defined /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/LaTeX.pool.ltxml line 1498
+ <= Gullet[@0x100dc9cf0] <= Constructor[\documentclass OptionalSe... <= ...
+ /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 96 /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.sty.ltxml line 12 /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.cls.ltxml line 32 ../background/pre.tex#textrange(from=1;14,to=2;11)
+ \usepackage
+ ^ {stex,amssymb}
+ To be read again \usepackage
+Continuing... Expect trouble.
+Error:unexpected:\newcommand T_CS[\mycgraphics] is already defined
+In Primitive[\newcommand OptionalMatch:*... defined /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/LaTeX.pool.ltxml line 1498
+ <= Gullet[@0x100dc9cf0] <= Constructor[\documentclass OptionalSe... <= ...
+ /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 96 /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.sty.ltxml line 12 /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.cls.ltxml line 32 ../background/pre.tex#textrange(from=1;14,to=2;11)
+ \usepackage
+ ^ {stex,amssymb}
+ To be read again \usepackage
+Continuing... Expect trouble.
+Error:unexpected:\newcommand T_CS[\mybgraphics] is already defined
+In Primitive[\newcommand OptionalMatch:*... defined /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/LaTeX.pool.ltxml line 1498
+ <= Gullet[@0x100dc9cf0] <= Constructor[\documentclass OptionalSe... <= ...
+ /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 96 /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.sty.ltxml line 12 /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.cls.ltxml line 32 ../background/pre.tex#textrange(from=1;14,to=2;11)
+ \usepackage
+ ^ {stex,amssymb}
+ To be read again \usepackage
+Continuing... Expect trouble. 0.04 sec) 0.08 sec) 0.16 sec)
+(Loading ../../sty/stex.sty.ltxml...
+(Loading ../../sty/stex-logo.sty.ltxml... 0.00 sec)
+(Loading ../../sty/modules/modules.sty.ltxml...
+Warning:perl:warn Subroutine use_module redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 48.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 48
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 48
+Warning:perl:warn Subroutine omext redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 63.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 63
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 63
+Warning:perl:warn Subroutine importmoduleI redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 74.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 74
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 74
+Warning:perl:warn Subroutine symdef_presentation_pmml redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 375.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 375
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 375
+Warning:perl:warn Subroutine getSymmdefProperties redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 389.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 389
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 389
+Warning:perl:warn Subroutine get_cd redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 412.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 412
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 412
+Warning:perl:warn Subroutine symdef_presentation_TeX redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 463.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 463
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 463 0.02 sec)
+(Loading ../../sty/statements/statements.sty.ltxml...
+Warning:perl:warn Subroutine lowcase redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 7.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 7
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 7
+Warning:perl:warn Subroutine dashed redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 8.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 8
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 8
+Warning:perl:warn Subroutine makeNCName redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 9.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 9
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 9
+Warning:perl:warn Subroutine simple_wrapper redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 17.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 17
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 17
+Warning:perl:warn Subroutine hash_wrapper redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 25.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 25
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 25
+Warning:perl:warn Subroutine declareFunctions redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 33.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 33
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 33
+Warning:perl:warn Subroutine definitionBody redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 75.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 75
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 75 0.04 sec)
+(Loading ../../sty/sproof/sproof.sty.ltxml...
+Warning:perl:warn Subroutine extractBodyText redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/sproof/sproof.sty.ltxml line 65.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/sproof/sproof.sty.ltxml line 65
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/sproof/sproof.sty.ltxml line 65 0.02 sec)
+(Loading ../../sty/presentation/presentation.sty.ltxml...
+Warning:perl:warn Subroutine argument_precedence redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 57.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 57
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 57
+Warning:perl:warn Subroutine applyPrecedencePreferences redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 71.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 71
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 71
+Warning:perl:warn Subroutine cvar_id redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 303.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 303
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 303
+Error:unexpected:\newcommand T_CS[\prefixa] is already defined
+In Primitive[\newcommand OptionalMatch:*... defined /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/LaTeX.pool.ltxml line 1498
+ <= Gullet[@0x100dc9cf0] <= Constructor[\usepackage []Semiverbatim] <= ...
+ /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 297 /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/stex.sty.ltxml line 20 ../background/pre.tex#textrange(from=2;0,to=2;25)
+ \usepackage{stex,amssymb}
+ ^
+Continuing... Expect trouble.
+Error:unexpected:\newcommand T_CS[\postfixa] is already defined
+In Primitive[\newcommand OptionalMatch:*... defined /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/LaTeX.pool.ltxml line 1498
+ <= Gullet[@0x100dc9cf0] <= Constructor[\usepackage []Semiverbatim] <= ...
+ /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 297 /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/stex.sty.ltxml line 20 ../background/pre.tex#textrange(from=2;0,to=2;25)
+ \usepackage{stex,amssymb}
+ ^
+Continuing... Expect trouble.
+Error:unexpected:\newcommand T_CS[\infix] is already defined
+In Primitive[\newcommand OptionalMatch:*... defined /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/LaTeX.pool.ltxml line 1498
+ <= Gullet[@0x100dc9cf0] <= Constructor[\usepackage []Semiverbatim] <= ...
+ /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 297 /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/stex.sty.ltxml line 20 ../background/pre.tex#textrange(from=2;0,to=2;25)
+ \usepackage{stex,amssymb}
+ ^
+Continuing... Expect trouble.
+Error:unexpected:\newcommand T_CS[\assoc] is already defined
+In Primitive[\newcommand OptionalMatch:*... defined /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/LaTeX.pool.ltxml line 1498
+ <= Gullet[@0x100dc9cf0] <= Constructor[\usepackage []Semiverbatim] <= ...
+ /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 297 /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/stex.sty.ltxml line 20 ../background/pre.tex#textrange(from=2;0,to=2;25)
+ \usepackage{stex,amssymb}
+ ^
+Continuing... Expect trouble.
+Error:unexpected:\newcommand T_CS[\primvar] is already defined
+In Primitive[\newcommand OptionalMatch:*... defined /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/LaTeX.pool.ltxml line 1498
+ <= Gullet[@0x100dc9cf0] <= Constructor[\usepackage []Semiverbatim] <= ...
+ /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 323 /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/stex.sty.ltxml line 20 ../background/pre.tex#textrange(from=2;0,to=2;25)
+ \usepackage{stex,amssymb}
+ ^
+Continuing... Expect trouble.
+Error:unexpected:\newcommand T_CS[\pprimvar] is already defined
+In Primitive[\newcommand OptionalMatch:*... defined /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/LaTeX.pool.ltxml line 1498
+ <= Gullet[@0x100dc9cf0] <= Constructor[\usepackage []Semiverbatim] <= ...
+ /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 323 /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/stex.sty.ltxml line 20 ../background/pre.tex#textrange(from=2;0,to=2;25)
+ \usepackage{stex,amssymb}
+ ^
+Continuing... Expect trouble.
+Error:unexpected:\newcommand T_CS[\uivar] is already defined
+In Primitive[\newcommand OptionalMatch:*... defined /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/LaTeX.pool.ltxml line 1498
+ <= Gullet[@0x100dc9cf0] <= Constructor[\usepackage []Semiverbatim] <= ...
+ /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 323 /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/stex.sty.ltxml line 20 ../background/pre.tex#textrange(from=2;0,to=2;25)
+ \usepackage{stex,amssymb}
+ ^
+Continuing... Expect trouble.
+Error:unexpected:\newcommand T_CS[\livar] is already defined
+In Primitive[\newcommand OptionalMatch:*... defined /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/LaTeX.pool.ltxml line 1498
+ <= Gullet[@0x100dc9cf0] <= Constructor[\usepackage []Semiverbatim] <= ...
+ /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 323 /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/stex.sty.ltxml line 20 ../background/pre.tex#textrange(from=2;0,to=2;25)
+ \usepackage{stex,amssymb}
+ ^
+Continuing... Expect trouble.
+Error:unexpected:\newcommand T_CS[\ulivar] is already defined
+In Primitive[\newcommand OptionalMatch:*... defined /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/LaTeX.pool.ltxml line 1498
+ <= Gullet[@0x100dc9cf0] <= Constructor[\usepackage []Semiverbatim] <= ...
+ /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 323 /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/stex.sty.ltxml line 20 ../background/pre.tex#textrange(from=2;0,to=2;25)
+ \usepackage{stex,amssymb}
+ ^
+Continuing... Expect trouble. 0.03 sec)
+(Loading ../../sty/dcm/dcm.sty.ltxml...
+Warning:perl:warn Subroutine getKeyValue_noDelim redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 7.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 7
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 7
+Warning:perl:warn Subroutine ExportMetadata redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 13.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 13
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 13
+Warning:perl:warn Subroutine FishOutMetadata redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 52.
+In Gullet[@0x100dc9cf0] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 52
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 52 0.03 sec) 0.26 sec) 0.50 sec) 0.51 sec)
+(Digesting /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/example/paper/continuous...
+(Processing continuous.tex...
+(Processing ../background/functions.sms... 0.01 sec)
+(Processing ../background/reals.sms... 0.01 sec) 0.09 sec) 0.10 sec)
+(Building....... 0.08 sec)
+(Rewriting... 0.00 sec)
+(Math Parsing...7 formulae ...[1][2][3][4][5][6][7]
+Math parsing succeeded:
+ ltx:XMArg: 8/8
+ ltx:XMath: 7/7
+Symbols assumed as simple identifiers (with # of occurences):
+ 'C{caligraphic}' (1), 'delta' (2), 'epsilon' (2), 'f{italic}' (2), 'x{italic}' (2), 'y{italic}' (2)
+Possibly used as functions?
+ 'C{caligraphic}' (1/1 usages), 'f{italic}' (2/2 usages)
+ 0.13 sec)
+(Finalizing... 0.00 sec)
+Conversion complete: 28 warnings; 12 errors.
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/continuous.xml b/Master/texmf-dist/doc/latex/stex/example/paper/continuous.xml
new file mode 100644
index 00000000000..6b43f50d2d2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/continuous.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?latexml searchpaths=".,../../sty,../../rnc,../../rnc/omdoc,../../sty/modules,../../sty/statements,../../sty/sproof,../../sty/omtext,../../sty/omdoc,../../sty/sref,../../sty/presentation,../../sty/dcm,../../sty/reqdoc,../../sty/omd,../../sty/mikoslides,../../sty/problem,../../sty/assignment,../../sty/etc,/Users/kohlhase/stc/stex/example/background"?>
+<?latexml RelaxNGSchema="omdoc+ltxml"?>
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:omdoc="http://omdoc.org/ns" xmlns:m="http://www.w3.org/1998/Math/MathML" stex:srcref="Anonymous String#textrange(from=1;1,to=1;17)" xml:id="continuous.omdoc">
+ <omgroup layout="sectioning" xml:id="sec.contfuncs" about="#sec.contfuncs" stex:srcref="continuous.tex#textrange(from=1;0,to=13;13)">
+ <metadata xml:id="sec.contfuncs.p1" about="#sec.contfuncs.p1" stex:srcref="continuous.tex#textrange(from=1;0,to=12;12)">
+ <dc:title stex:srcref="continuous.tex#textrange(from=1;0,to=13;13)" xml:id="sec.contfuncs.p1.p1" about="#sec.contfuncs.p1.p1">
+ <p xml:id="sec.contfuncs.p1.p1.p1" about="#sec.contfuncs.p1.p1.p1" stex:srcref="continuous.tex#textrange(from=1;0,to=13;13)">Continuous Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="continuous" about="#continuous" stex:srcref="continuous.tex#textrange(from=2;0,to=12;12)">
+ <imports from="../background/functions.omdoc#functions" xml:id="continuous.p1" about="#continuous.p1" stex:srcref="continuous.tex#textrange(from=3;0,to=3;46)"/>
+ <imports from="../background/reals.omdoc#reals" xml:id="continuous.p2" about="#continuous.p2" stex:srcref="continuous.tex#textrange(from=4;0,to=4;38)"/>
+ <symbol name="continuousfunctions" xml:id="continuousfunctions.sym" about="#continuousfunctions.sym" stex:srcref="continuous.tex#textrange(from=5;1,to=5;54)"/>
+ <notation cd="continuous" name="continuousfunctions">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="continuous" cr="fun" name="continuousfunctions"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" xml:id="continuous.m1" text="C ^ 0 * open-interval@(arg:1, arg:2)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMS cd="arith1" name="times"/>
+ <om:OMA>
+ <om:OMS cd="ambiguous" name="superscript"/>
+ <om:OMV name="C"/>
+ <om:OMI>0</om:OMI>
+ </om:OMA>
+ <om:OMA>
+ <om:OMS cd="latexml" name="open-interval"/>
+ <om:OMV name="arg:1"/>
+ <om:OMV name="arg:2"/>
+ </om:OMA>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mrow>
+ <m:msup>
+ <m:mi mathvariant="script">C</m:mi>
+ <m:mn>0</m:mn>
+ </m:msup>
+ <m:mo>⁢</m:mo>
+ <m:mfenced open="(" close=")">
+ <m:mrow>
+ <m:mi>arg:1</m:mi>
+ <m:mo>,</m:mo>
+ <m:mi>arg:2</m:mi>
+ </m:mrow>
+ </m:mfenced>
+ </m:mrow>
+ </m:math>
+ </Math>
+ </rendering>
+ </notation>
+ <symbol name="continuous" xml:id="continuous.def.sym" about="#continuous.def.sym" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)"/>
+ <definition for="continuous" xml:id="continuous.p5" about="#continuous.p5" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)">
+ <CMP xml:id="continuous.p5.p1" about="#continuous.p5.p1" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)">
+ <p xml:id="continuous.p5.p1.p1" about="#continuous.p5.p1.p1" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)">
+A function <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\fun{f}{\RealNumbers}{\RealNumbers}" xml:id="continuous.p5.p1.p1.m1" text="fun@(f, RealNumbers, RealNumbers)"><om:OMOBJ><om:OMA><om:OMS cd="functions" name="fun"/><om:OMV name="f"/><om:OMS cd="reals" name="RealNumbers"/><om:OMS cd="reals" name="RealNumbers"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi mathcolor="red">fun</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>f</m:mi><m:mo>, </m:mo><m:mi mathcolor="red">RealNumbers</m:mi><m:mo>, </m:mo><m:mi mathcolor="red">RealNumbers</m:mi></m:mrow></m:mrow></m:math></Math> is called <idx xml:id="continuous.p5.p1.p1.p2" about="#continuous.p5.p1.p1.p2" stex:srcref="continuous.tex#textrange(from=7;4,to=8;76)"><idt><term cd="continuous" name="continuous" role="definiendum" xml:id="continuous.p5.p1.p1.p2.p1" about="#continuous.p5.p1.p1.p2.p1" stex:srcref="continuous.tex#textrange(from=7;4,to=8;76)">continuous</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">continuous</text></idp></ide></idx> at
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\inset{x}{\RealNumbers}" xml:id="continuous.p5.p1.p1.m2" text="inset@(x, RealNumbers)"><om:OMOBJ><om:OMA><om:OMS cd="functions" name="inset"/><om:OMV name="x"/><om:OMS cd="reals" name="RealNumbers"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi mathcolor="red">inset</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>x</m:mi><m:mo>, </m:mo><m:mi mathcolor="red">RealNumbers</m:mi></m:mrow></m:mrow></m:math></Math>, iff for all <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\epsilon&gt;0" xml:id="continuous.p5.p1.p1.m3" text="epsilon &gt; 0"><om:OMOBJ><om:OMA><om:OMS cd="latexml" name="greater-than"/><om:OMV name="ϵ"/><om:OMI>0</om:OMI></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi>ϵ</m:mi><m:mo>&gt;</m:mo><m:mn>0</m:mn></m:mrow></m:math></Math> there is a <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\delta&gt;0" xml:id="continuous.p5.p1.p1.m4" text="delta &gt; 0"><om:OMOBJ><om:OMA><om:OMS cd="latexml" name="greater-than"/><om:OMV name="δ"/><om:OMI>0</om:OMI></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi>δ</m:mi><m:mo>&gt;</m:mo><m:mn>0</m:mn></m:mrow></m:math></Math>, such that
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\absval{f(x)-f(y)}&lt;\epsilon" xml:id="continuous.p5.p1.p1.m5" text="absval@(f * x - f * y) less epsilon"><om:OMOBJ><om:OMA><om:OMS cd="latexml" name="less-than"/><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="latexml" name="minus"/><om:OMA><om:OMS cd="arith1" name="times"/><om:OMV name="f"/><om:OMV name="x"/></om:OMA><om:OMA><om:OMS cd="arith1" name="times"/><om:OMV name="f"/><om:OMV name="y"/></om:OMA></om:OMA></om:OMA><om:OMV name="ϵ"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mrow><m:mi mathcolor="red">absval</m:mi><m:mo>⁡</m:mo><m:mrow><m:mrow><m:mi>f</m:mi><m:mo>⁢</m:mo><m:mfenced open="(" close=")"><m:mi>x</m:mi></m:mfenced></m:mrow><m:mo>-</m:mo><m:mrow><m:mi>f</m:mi><m:mo>⁢</m:mo><m:mfenced open="(" close=")"><m:mi>y</m:mi></m:mfenced></m:mrow></m:mrow></m:mrow><m:mo>&lt;</m:mo><m:mi>ϵ</m:mi></m:mrow></m:math></Math> for all <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\absval{x-y}&lt;\delta" xml:id="continuous.p5.p1.p1.m6" text="absval@(x - y) less delta"><om:OMOBJ><om:OMA><om:OMS cd="latexml" name="less-than"/><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="latexml" name="minus"/><om:OMV name="x"/><om:OMV name="y"/></om:OMA></om:OMA><om:OMV name="δ"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mrow><m:mi mathcolor="red">absval</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>x</m:mi><m:mo>-</m:mo><m:mi>y</m:mi></m:mrow></m:mrow><m:mo>&lt;</m:mo><m:mi>δ</m:mi></m:mrow></m:math></Math>
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!-- %%% Local Variables:
+ %%% mode: LaTeX
+ %%% TeX-master: "paper"
+ %%% End:-->
+</omdoc>
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/continuous.xml.log b/Master/texmf-dist/doc/latex/stex/example/paper/continuous.xml.log
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/continuous.xml.log
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.omdoc b/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.omdoc
new file mode 100644
index 00000000000..20c184eff4a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.omdoc
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<!--This OMDoc document is generated from an sTeX-encoded one via LaTeXML, you may want to reconsider editing it.-->
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:omdoc="http://omdoc.org/ns" xmlns:m="http://www.w3.org/1998/Math/MathML" stex:srcref="Anonymous String#textrange(from=1;1,to=1;17)" xml:id="differentiable.omdoc">
+ <omgroup layout="sectioning" xml:id="sec.differentiable" about="#sec.differentiable" stex:srcref="differentiable.tex#textrange(from=1;0,to=12;13)">
+ <metadata xml:id="sec.differentiable.p1" about="#sec.differentiable.p1" stex:srcref="differentiable.tex#textrange(from=1;0,to=11;12)">
+ <dc:title stex:srcref="differentiable.tex#textrange(from=1;0,to=12;13)" xml:id="sec.differentiable.p1.p1" about="#sec.differentiable.p1.p1">
+ <p xml:id="sec.differentiable.p1.p1.p1" about="#sec.differentiable.p1.p1.p1" stex:srcref="differentiable.tex#textrange(from=1;0,to=12;13)">Differentiable Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xmlns:mcd="http://www.w3.org/ns/mathml-cd" xml:id="differentiable" about="#differentiable" stex:srcref="differentiable.tex#textrange(from=2;0,to=11;12)">
+ <imports from="../../../slides/extcds/omstd/arith1.omdoc#arith1"/>
+ <imports from="../../../slides/extcds/omstd/relation1.omdoc#relation1"/>
+ <imports from="./continuous.omdoc#continuous" xml:id="differentiable.p1" about="#differentiable.p1" stex:srcref="differentiable.tex#textrange(from=3;0,to=3;37)"/>
+ <symbol name="difffunctions" xml:id="difffunctions.sym" about="#difffunctions.sym" stex:srcref="differentiable.tex#textrange(from=4;1,to=4;48)"/>
+ <notation cd="differentiable" name="difffunctions">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="differentiable" cr="fun" name="difffunctions"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering>
+ <m:mrow>
+ <m:msup>
+ <m:mi mathvariant="script">C</m:mi>
+ <m:mn>1</m:mn>
+ </m:msup>
+ <m:mo>⁢</m:mo>
+ <m:mfenced open="(" close=")">
+ <m:mrow>
+ <render name="arg1"/>
+ <m:mo>,</m:mo>
+ <render name="arg2"/>
+ </m:mrow>
+ </m:mfenced>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="differentiable" xml:id="differentiable.def.sym" about="#differentiable.def.sym" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)"/>
+ <definition for="differentiable continuous" xml:id="differentiable.p4" about="#differentiable.p4" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)">
+ <CMP xml:id="differentiable.p4.p1" about="#differentiable.p4.p1" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)">
+ <p xml:id="differentiable.p4.p1.p1" about="#differentiable.p4.p1.p1" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)">
+A function <om:OMOBJ><om:OMA><om:OMS cd="functions" name="fun"/><om:OMV name="f"/><om:OMS cd="reals" name="RealNumbers"/><om:OMS cd="reals" name="RealNumbers"/></om:OMA></om:OMOBJ> is called <idx xml:id="differentiable.p4.p1.p1.p2" about="#differentiable.p4.p1.p1.p2" stex:srcref="differentiable.tex#textrange(from=6;4,to=7;80)"><idt><term cd="differentiable" name="differentiable" role="definiendum" xml:id="differentiable.p4.p1.p1.p2.p1" about="#differentiable.p4.p1.p1.p2.p1" stex:srcref="differentiable.tex#textrange(from=6;4,to=7;80)">differentiable</term></idt><ide index="default"><idp><phrase>differentiable</phrase></idp></ide></idx> at
+<om:OMOBJ><om:OMA><om:OMS cd="functions" name="inset"/><om:OMV name="x"/><om:OMS cd="reals" name="RealNumbers"/></om:OMA></om:OMOBJ>, iff for all <om:OMOBJ><om:OMA><om:OMS cd="relation1" name="gt"/><om:OMV name="&#x3F5;"/><om:OMI>0</om:OMI></om:OMA></om:OMOBJ> there is a <om:OMOBJ><om:OMA><om:OMS cd="relation1" name="gt"/><om:OMV name="&#x3B4;"/><om:OMI>0</om:OMI></om:OMA></om:OMOBJ>, such that
+<om:OMOBJ><om:OMA><om:OMS cd="relation1" name="lt"/><om:OMA><om:OMS cd="reals" name="rfrac"/><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="arith1" name="minus"/><om:OMA><om:OMS cd="arith1" name="times"/><om:OMV name="f"/><om:OMV name="x"/></om:OMA><om:OMA><om:OMS cd="arith1" name="times"/><om:OMV name="f"/><om:OMV name="y"/></om:OMA></om:OMA></om:OMA><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="arith1" name="minus"/><om:OMV name="x"/><om:OMV name="y"/></om:OMA></om:OMA></om:OMA><om:OMV name="&#x3F5;"/></om:OMA></om:OMOBJ> for all <om:OMOBJ><om:OMA><om:OMS cd="relation1" name="lt"/><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="arith1" name="minus"/><om:OMV name="x"/><om:OMV name="y"/></om:OMA></om:OMA><om:OMV name="&#x3B4;"/></om:OMA></om:OMOBJ>.
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!--The data elements-->
+</omdoc>
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.omdoc.log b/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.omdoc.log
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.omdoc.log
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.sms b/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.sms
new file mode 100644
index 00000000000..cb2122c1064
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.sms
@@ -0,0 +1,5 @@
+\begin{module}[id=differentiable]%
+\importmodule[continuous]{continuous}%
+\symdef{difffunctions}[2]{\mathcal{C}^1(#1,#2)}%
+\abbrdef{DiffRR}[2]{\difffunctions\RealNumbers\RealNumbers}%
+\end{module}%
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.tex b/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.tex
new file mode 100644
index 00000000000..ee9c66f9409
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.tex
@@ -0,0 +1,16 @@
+\begin{omgroup}[id=sec.differentiable]{Differentiable Functions}
+\begin{module}[id=differentiable]
+\importmodule[continuous]{continuous}
+\symdef{difffunctions}[2]{\mathcal{C}^1(#1,#2)}
+\abbrdef{DiffRR}[2]{\difffunctions\RealNumbers\RealNumbers}
+\begin{definition}
+ A function $\fun{f}\RealNumbers\RealNumbers$ is called {\defin{differentiable}} at
+ $\inset{x}\RealNumbers$, iff for all $\epsilon>0$ there is a $\delta>0$, such that
+ $\rfrac{\absval{f(x)-f(y)}}{\absval{x-y}}<\epsilon$ for all $\absval{x-y}<\delta$.
+\end{definition}
+\end{module}
+\end{omgroup}
+%%% Local Variables:
+%%% mode: LaTeX
+%%% TeX-master: "paper"
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.tex.xml b/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.tex.xml
new file mode 100644
index 00000000000..774b767b4cc
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.tex.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?latexml searchpaths=".,../../sty,../../rnc,../../rnc/omdoc,../../sty/modules,../../sty/statements,../../sty/sproof,../../sty/omtext,../../sty/omdoc,../../sty/sref,../../sty/presentation,../../sty/dcm,../../sty/reqdoc,../../sty/omd,../../sty/mikoslides,../../sty/problem,../../sty/assignment,../../sty/etc,/Users/kohlhase/stc/stex/example/background"?>
+<?latexml RelaxNGSchema="omdoc+ltxml"?>
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:omdoc="http://omdoc.org/ns" stex:srcref="Anonymous String#textrange(from=1;1,to=1;17)" xml:id="differentiable.omdoc">
+ <omgroup layout="sectioning" xml:id="sec.differentiable" about="#sec.differentiable" stex:srcref="differentiable.tex#textrange(from=1;0,to=12;13)">
+ <metadata xml:id="sec.differentiable.p1" about="#sec.differentiable.p1" stex:srcref="differentiable.tex#textrange(from=1;0,to=11;12)">
+ <dc:title stex:srcref="differentiable.tex#textrange(from=1;0,to=12;13)" xml:id="sec.differentiable.p1.p1" about="#sec.differentiable.p1.p1">
+ <p xml:id="sec.differentiable.p1.p1.p1" about="#sec.differentiable.p1.p1.p1" stex:srcref="differentiable.tex#textrange(from=1;0,to=12;13)">Differentiable Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="differentiable" about="#differentiable" stex:srcref="differentiable.tex#textrange(from=2;0,to=11;12)">
+ <imports from="./continuous.omdoc#continuous" xml:id="differentiable.p1" about="#differentiable.p1" stex:srcref="differentiable.tex#textrange(from=3;0,to=3;37)"/>
+ <symbol name="difffunctions" xml:id="difffunctions.sym" about="#difffunctions.sym" stex:srcref="differentiable.tex#textrange(from=4;1,to=4;48)"/>
+ <notation cd="differentiable" name="difffunctions">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="differentiable" cr="fun" name="difffunctions"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" xml:id="differentiable.m1" text="C ^ 1 * open-interval@(arg:1, arg:2)">
+ <XMath>
+ <XMApp>
+ <XMTok meaning="times" role="MULOP">⁢</XMTok>
+ <XMApp>
+ <XMTok role="SUPERSCRIPTOP" scriptpos="post4"/>
+ <XMTok role="UNKNOWN" possibleFunction="yes" font="caligraphic">C</XMTok>
+ <XMTok meaning="1" role="NUMBER">1</XMTok>
+ </XMApp>
+ <XMApp>
+ <XMTok meaning="open-interval" role="FENCED" argclose=")" argopen="(" separators=","/>
+ <XMTok role="ID">arg:1</XMTok>
+ <XMTok role="ID">arg:2</XMTok>
+ </XMApp>
+ </XMApp>
+ </XMath>
+ </Math>
+ </rendering>
+ </notation>
+ <symbol name="differentiable" xml:id="differentiable.def.sym" about="#differentiable.def.sym" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)"/>
+ <definition for="differentiable continuous" xml:id="differentiable.p4" about="#differentiable.p4" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)">
+ <CMP xml:id="differentiable.p4.p1" about="#differentiable.p4.p1" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)">
+ <p xml:id="differentiable.p4.p1.p1" about="#differentiable.p4.p1.p1" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)">
+A function <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\fun{f}{\RealNumbers}{\RealNumbers}" xml:id="differentiable.p4.p1.p1.m1" text="fun@(f, RealNumbers, RealNumbers)"><XMath><XMApp><XMTok meaning="fun" name="fun" omcd="functions"/><XMTok role="UNKNOWN" font="italic">f</XMTok><XMTok meaning="RealNumbers" name="RealNumbers" omcd="reals"/><XMTok meaning="RealNumbers" name="RealNumbers" omcd="reals"/></XMApp></XMath></Math> is called <idx xml:id="differentiable.p4.p1.p1.p2" about="#differentiable.p4.p1.p1.p2" stex:srcref="differentiable.tex#textrange(from=6;4,to=7;80)"><idt><term cd="differentiable" name="differentiable" role="definiendum" xml:id="differentiable.p4.p1.p1.p2.p1" about="#differentiable.p4.p1.p1.p2.p1" stex:srcref="differentiable.tex#textrange(from=6;4,to=7;80)">differentiable</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">differentiable</text></idp></ide></idx> at
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\inset{x}{\RealNumbers}" xml:id="differentiable.p4.p1.p1.m2" text="inset@(x, RealNumbers)"><XMath><XMApp><XMTok meaning="inset" name="inset" omcd="functions"/><XMTok role="UNKNOWN" font="italic">x</XMTok><XMTok meaning="RealNumbers" name="RealNumbers" omcd="reals"/></XMApp></XMath></Math>, iff for all <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\epsilon&gt;0" xml:id="differentiable.p4.p1.p1.m3" text="epsilon &gt; 0"><XMath><XMApp><XMTok meaning="greater-than" role="RELOP">&gt;</XMTok><XMTok name="epsilon" role="UNKNOWN" font="italic">ϵ</XMTok><XMTok meaning="0" role="NUMBER">0</XMTok></XMApp></XMath></Math> there is a <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\delta&gt;0" xml:id="differentiable.p4.p1.p1.m4" text="delta &gt; 0"><XMath><XMApp><XMTok meaning="greater-than" role="RELOP">&gt;</XMTok><XMTok name="delta" role="UNKNOWN" font="italic">δ</XMTok><XMTok meaning="0" role="NUMBER">0</XMTok></XMApp></XMath></Math>, such that
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\rfrac{\absval{f(x)-f(y)}}{\absval{x-y}}&lt;\epsilon" xml:id="differentiable.p4.p1.p1.m5" text="rfrac@(absval@(f * x - f * y), absval@(x - y)) less epsilon"><XMath><XMApp><XMTok meaning="less-than" role="RELOP">&lt;</XMTok><XMApp><XMTok meaning="rfrac" name="rfrac" omcd="reals"/><XMApp><XMTok meaning="absval" name="absval" omcd="reals"/><XMApp><XMTok meaning="minus" role="ADDOP">-</XMTok><XMApp><XMTok meaning="times" role="MULOP">⁢</XMTok><XMTok role="UNKNOWN" possibleFunction="yes" font="italic">f</XMTok><XMTok role="UNKNOWN" open="(" close=")" font="italic">x</XMTok></XMApp><XMApp><XMTok meaning="times" role="MULOP">⁢</XMTok><XMTok role="UNKNOWN" possibleFunction="yes" font="italic">f</XMTok><XMTok role="UNKNOWN" open="(" close=")" font="italic">y</XMTok></XMApp></XMApp></XMApp><XMApp><XMTok meaning="absval" name="absval" omcd="reals"/><XMApp><XMTok meaning="minus" role="ADDOP">-</XMTok><XMTok role="UNKNOWN" font="italic">x</XMTok><XMTok role="UNKNOWN" font="italic">y</XMTok></XMApp></XMApp></XMApp><XMTok name="epsilon" role="UNKNOWN" font="italic">ϵ</XMTok></XMApp></XMath></Math> for all <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\absval{x-y}&lt;\delta" xml:id="differentiable.p4.p1.p1.m6" text="absval@(x - y) less delta"><XMath><XMApp><XMTok meaning="less-than" role="RELOP">&lt;</XMTok><XMApp><XMTok meaning="absval" name="absval" omcd="reals"/><XMApp><XMTok meaning="minus" role="ADDOP">-</XMTok><XMTok role="UNKNOWN" font="italic">x</XMTok><XMTok role="UNKNOWN" font="italic">y</XMTok></XMApp></XMApp><XMTok name="delta" role="UNKNOWN" font="italic">δ</XMTok></XMApp></XMath></Math>.
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!-- %%% Local Variables:
+ %%% mode: LaTeX
+ %%% TeX-master: "paper"
+ %%% End:-->
+</omdoc>
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.tex.xml.log b/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.tex.xml.log
new file mode 100644
index 00000000000..a0d99ecc131
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.tex.xml.log
@@ -0,0 +1,17 @@
+
+(Digesting /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/example/paper/differentiable...
+(Processing differentiable.tex...
+(Processing continuous.sms... 0.01 sec) 0.09 sec) 0.10 sec)
+(Building........ 0.06 sec)
+(Rewriting... 0.00 sec)
+(Math Parsing...7 formulae ...[1][2][3][4][5][6][7]
+Math parsing succeeded:
+ ltx:XMArg: 11/11
+ ltx:XMath: 7/7
+Symbols assumed as simple identifiers (with # of occurences):
+ 'C{caligraphic}' (1), 'delta' (2), 'epsilon' (2), 'f{italic}' (2), 'x{italic}' (3), 'y{italic}' (3)
+Possibly used as functions?
+ 'C{caligraphic}' (1/1 usages), 'f{italic}' (2/2 usages)
+ 0.15 sec)
+(Finalizing... 0.01 sec)
+Conversion complete: No obvious problems.
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.xml b/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.xml
new file mode 100644
index 00000000000..649b017e523
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?latexml searchpaths=".,../../sty,../../rnc,../../rnc/omdoc,../../sty/modules,../../sty/statements,../../sty/sproof,../../sty/omtext,../../sty/omdoc,../../sty/sref,../../sty/presentation,../../sty/dcm,../../sty/reqdoc,../../sty/omd,../../sty/mikoslides,../../sty/problem,../../sty/assignment,../../sty/etc,/Users/kohlhase/stc/stex/example/background"?>
+<?latexml RelaxNGSchema="omdoc+ltxml"?>
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:omdoc="http://omdoc.org/ns" xmlns:m="http://www.w3.org/1998/Math/MathML" stex:srcref="Anonymous String#textrange(from=1;1,to=1;17)" xml:id="differentiable.omdoc">
+ <omgroup layout="sectioning" xml:id="sec.differentiable" about="#sec.differentiable" stex:srcref="differentiable.tex#textrange(from=1;0,to=12;13)">
+ <metadata xml:id="sec.differentiable.p1" about="#sec.differentiable.p1" stex:srcref="differentiable.tex#textrange(from=1;0,to=11;12)">
+ <dc:title stex:srcref="differentiable.tex#textrange(from=1;0,to=12;13)" xml:id="sec.differentiable.p1.p1" about="#sec.differentiable.p1.p1">
+ <p xml:id="sec.differentiable.p1.p1.p1" about="#sec.differentiable.p1.p1.p1" stex:srcref="differentiable.tex#textrange(from=1;0,to=12;13)">Differentiable Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="differentiable" about="#differentiable" stex:srcref="differentiable.tex#textrange(from=2;0,to=11;12)">
+ <imports from="./continuous.omdoc#continuous" xml:id="differentiable.p1" about="#differentiable.p1" stex:srcref="differentiable.tex#textrange(from=3;0,to=3;37)"/>
+ <symbol name="difffunctions" xml:id="difffunctions.sym" about="#difffunctions.sym" stex:srcref="differentiable.tex#textrange(from=4;1,to=4;48)"/>
+ <notation cd="differentiable" name="difffunctions">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="differentiable" cr="fun" name="difffunctions"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" xml:id="differentiable.m1" text="C ^ 1 * open-interval@(arg:1, arg:2)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMS cd="arith1" name="times"/>
+ <om:OMA>
+ <om:OMS cd="ambiguous" name="superscript"/>
+ <om:OMV name="C"/>
+ <om:OMI>1</om:OMI>
+ </om:OMA>
+ <om:OMA>
+ <om:OMS cd="latexml" name="open-interval"/>
+ <om:OMV name="arg:1"/>
+ <om:OMV name="arg:2"/>
+ </om:OMA>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mrow>
+ <m:msup>
+ <m:mi mathvariant="script">C</m:mi>
+ <m:mn>1</m:mn>
+ </m:msup>
+ <m:mo>⁢</m:mo>
+ <m:mfenced open="(" close=")">
+ <m:mrow>
+ <m:mi>arg:1</m:mi>
+ <m:mo>,</m:mo>
+ <m:mi>arg:2</m:mi>
+ </m:mrow>
+ </m:mfenced>
+ </m:mrow>
+ </m:math>
+ </Math>
+ </rendering>
+ </notation>
+ <symbol name="differentiable" xml:id="differentiable.def.sym" about="#differentiable.def.sym" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)"/>
+ <definition for="differentiable continuous" xml:id="differentiable.p4" about="#differentiable.p4" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)">
+ <CMP xml:id="differentiable.p4.p1" about="#differentiable.p4.p1" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)">
+ <p xml:id="differentiable.p4.p1.p1" about="#differentiable.p4.p1.p1" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)">
+A function <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\fun{f}{\RealNumbers}{\RealNumbers}" xml:id="differentiable.p4.p1.p1.m1" text="fun@(f, RealNumbers, RealNumbers)"><om:OMOBJ><om:OMA><om:OMS cd="functions" name="fun"/><om:OMV name="f"/><om:OMS cd="reals" name="RealNumbers"/><om:OMS cd="reals" name="RealNumbers"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi mathcolor="red">fun</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>f</m:mi><m:mo>, </m:mo><m:mi mathcolor="red">RealNumbers</m:mi><m:mo>, </m:mo><m:mi mathcolor="red">RealNumbers</m:mi></m:mrow></m:mrow></m:math></Math> is called <idx xml:id="differentiable.p4.p1.p1.p2" about="#differentiable.p4.p1.p1.p2" stex:srcref="differentiable.tex#textrange(from=6;4,to=7;80)"><idt><term cd="differentiable" name="differentiable" role="definiendum" xml:id="differentiable.p4.p1.p1.p2.p1" about="#differentiable.p4.p1.p1.p2.p1" stex:srcref="differentiable.tex#textrange(from=6;4,to=7;80)">differentiable</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">differentiable</text></idp></ide></idx> at
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\inset{x}{\RealNumbers}" xml:id="differentiable.p4.p1.p1.m2" text="inset@(x, RealNumbers)"><om:OMOBJ><om:OMA><om:OMS cd="functions" name="inset"/><om:OMV name="x"/><om:OMS cd="reals" name="RealNumbers"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi mathcolor="red">inset</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>x</m:mi><m:mo>, </m:mo><m:mi mathcolor="red">RealNumbers</m:mi></m:mrow></m:mrow></m:math></Math>, iff for all <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\epsilon&gt;0" xml:id="differentiable.p4.p1.p1.m3" text="epsilon &gt; 0"><om:OMOBJ><om:OMA><om:OMS cd="latexml" name="greater-than"/><om:OMV name="ϵ"/><om:OMI>0</om:OMI></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi>ϵ</m:mi><m:mo>&gt;</m:mo><m:mn>0</m:mn></m:mrow></m:math></Math> there is a <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\delta&gt;0" xml:id="differentiable.p4.p1.p1.m4" text="delta &gt; 0"><om:OMOBJ><om:OMA><om:OMS cd="latexml" name="greater-than"/><om:OMV name="δ"/><om:OMI>0</om:OMI></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi>δ</m:mi><m:mo>&gt;</m:mo><m:mn>0</m:mn></m:mrow></m:math></Math>, such that
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\rfrac{\absval{f(x)-f(y)}}{\absval{x-y}}&lt;\epsilon" xml:id="differentiable.p4.p1.p1.m5" text="rfrac@(absval@(f * x - f * y), absval@(x - y)) less epsilon"><om:OMOBJ><om:OMA><om:OMS cd="latexml" name="less-than"/><om:OMA><om:OMS cd="reals" name="rfrac"/><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="latexml" name="minus"/><om:OMA><om:OMS cd="arith1" name="times"/><om:OMV name="f"/><om:OMV name="x"/></om:OMA><om:OMA><om:OMS cd="arith1" name="times"/><om:OMV name="f"/><om:OMV name="y"/></om:OMA></om:OMA></om:OMA><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="latexml" name="minus"/><om:OMV name="x"/><om:OMV name="y"/></om:OMA></om:OMA></om:OMA><om:OMV name="ϵ"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mrow><m:mi mathcolor="red">rfrac</m:mi><m:mo>⁡</m:mo><m:mrow><m:mrow><m:mi mathcolor="red">absval</m:mi><m:mo>⁡</m:mo><m:mrow><m:mrow><m:mi>f</m:mi><m:mo>⁢</m:mo><m:mfenced open="(" close=")"><m:mi>x</m:mi></m:mfenced></m:mrow><m:mo>-</m:mo><m:mrow><m:mi>f</m:mi><m:mo>⁢</m:mo><m:mfenced open="(" close=")"><m:mi>y</m:mi></m:mfenced></m:mrow></m:mrow></m:mrow><m:mo>, </m:mo><m:mrow><m:mi mathcolor="red">absval</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>x</m:mi><m:mo>-</m:mo><m:mi>y</m:mi></m:mrow></m:mrow></m:mrow></m:mrow><m:mo>&lt;</m:mo><m:mi>ϵ</m:mi></m:mrow></m:math></Math> for all <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\absval{x-y}&lt;\delta" xml:id="differentiable.p4.p1.p1.m6" text="absval@(x - y) less delta"><om:OMOBJ><om:OMA><om:OMS cd="latexml" name="less-than"/><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="latexml" name="minus"/><om:OMV name="x"/><om:OMV name="y"/></om:OMA></om:OMA><om:OMV name="δ"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mrow><m:mi mathcolor="red">absval</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>x</m:mi><m:mo>-</m:mo><m:mi>y</m:mi></m:mrow></m:mrow><m:mo>&lt;</m:mo><m:mi>δ</m:mi></m:mrow></m:math></Math>.
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!-- %%% Local Variables:
+ %%% mode: LaTeX
+ %%% TeX-master: "paper"
+ %%% End:-->
+</omdoc>
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.xml.log b/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.xml.log
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/differentiable.xml.log
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/paper.aux b/Master/texmf-dist/doc/latex/stex/example/paper/paper.aux
new file mode 100644
index 00000000000..b6d2090b5cc
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/paper.aux
@@ -0,0 +1,41 @@
+\relax
+\ifx\hyper@anchor\@undefined
+\global \let \oldcontentsline\contentsline
+\gdef \contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}}
+\global \let \oldnewlabel\newlabel
+\gdef \newlabel#1#2{\newlabelxx{#1}#2}
+\gdef \newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}}
+\AtEndDocument{\let \contentsline\oldcontentsline
+\let \newlabel\oldnewlabel}
+\else
+\global \let \hyper@last\relax
+\fi
+
+\citation{Kohlhase:ulsmf08}
+\citation{Kohlhase:OMDoc1.3}
+\@writefile{toc}{\contentsline {section}{\numberline {1}Introduction}{1}{section.1}}
+\@sref@def{intro}{page}{1}
+\@sref@def{intro}{label}{Section 1}
+\@writefile{toc}{\contentsline {subsection}{\numberline {1.1}The Setup}{1}{subsection.1.1}}
+\citation{Kohlhase:ssmtl*}
+\@writefile{toc}{\contentsline {subsection}{\numberline {1.2}Formatting and {OMDoc} conversion}{2}{subsection.1.2}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {1.3}Makefile-based Automation}{2}{subsection.1.3}}
+\@writefile{lol}{\contentsline {lstlisting}{Makefile}{2}{lstlisting.-1}}
+\bibstyle{alpha}
+\bibdata{kwarc}
+\bibcite{Kohlhase:ulsmf08}{Koh08}
+\bibcite{Kohlhase:OMDoc1.3}{Koh10}
+\@writefile{toc}{\contentsline {section}{\numberline {2}Mathematical Content}{3}{section.2}}
+\@sref@def{sec.math}{page}{3}
+\@sref@def{sec.math}{label}{Section 2}
+\@writefile{toc}{\contentsline {subsection}{\numberline {2.1}Continuous Functions}{3}{subsection.2.1}}
+\@sref@def{sec.contfuncs}{page}{3}
+\@sref@def{sec.contfuncs}{label}{Subsection 2.1}
+\@writefile{thm}{\contentsline {STdefinitionEnv}{{\st@definition@kw }{1}{}}{3}{STtheoremAssEnv.1}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {2.2}Differentiable Functions}{3}{subsection.2.2}}
+\@sref@def{sec.differentiable}{page}{3}
+\@sref@def{sec.differentiable}{label}{Subsection 2.2}
+\@writefile{thm}{\contentsline {STdefinitionEnv}{{\st@definition@kw }{2}{}}{3}{STtheoremAssEnv.2}}
+\@writefile{toc}{\contentsline {section}{\numberline {3}Conclusion}{3}{section.3}}
+\@sref@def{concl}{page}{3}
+\@sref@def{concl}{label}{Section 3}
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/paper.bbl b/Master/texmf-dist/doc/latex/stex/example/paper/paper.bbl
new file mode 100644
index 00000000000..42535bf2dd0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/paper.bbl
@@ -0,0 +1,35 @@
+\providecommand\seen{seen } \providecommand\webpageat{web page at }
+ \providecommand\homepageat{home page at }
+ \providecommand\projectpageat{project page at }
+ \providecommand\systempageat{system home page at }
+ \providecommand\svnrepoat{Subversion repository at }
+ \providecommand\January{January} \providecommand\February{February}
+ \providecommand\March{March} \providecommand\April{April}
+ \providecommand\May{May} \providecommand\June{June}
+ \providecommand\July{July} \providecommand\August{August}
+ \providecommand\September{September} \providecommand\October{October}
+ \providecommand\November{November} \providecommand\December{December}
+ \providecommand\AUSTRALIA{Australia} \providecommand\ROMANIA{Romania}
+ \providecommand\MEXICO{Mexico} \providecommand\ITALY{Italy}
+ \providecommand\USA{USA} \providecommand\IRELAND{Ireland}
+ \providecommand\HUNGARY{Hungary} \providecommand\JAPAN{Japan}
+ \providecommand\CANADA{Canada} \providecommand\SPAIN{Spain}
+ \providecommand\NETHERLANDS{Netherlands} \providecommand\UK{UK}
+ \providecommand\SWEDEN{Sweden} \providecommand\GERMANY{Germany}
+ \providecommand\openmath{OpenMath} \providecommand\fc{forthcoming}
+ \providecommand\PROC{Proceedings} \providecommand\omdoc{OMDoc}
+ \providecommand\activemath{ActiveMath}
+\begin{thebibliography}{Koh10}
+
+\bibitem[Koh08]{Kohlhase:ulsmf08}
+Michael Kohlhase.
+\newblock Using {\LaTeX} as a semantic markup format.
+\newblock {\em Mathematics in Computer Science}, 2(2):279--304, 2008.
+
+\bibitem[Koh10]{Kohlhase:OMDoc1.3}
+Michael Kohlhase.
+\newblock An open markup format for mathematical documents {\omdoc} [version
+ 1.3].
+\newblock Draft Specification, 2010.
+
+\end{thebibliography}
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/paper.blg b/Master/texmf-dist/doc/latex/stex/example/paper/paper.blg
new file mode 100644
index 00000000000..a8a4318ab46
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/paper.blg
@@ -0,0 +1,47 @@
+This is BibTeX, Version 0.99c (TeX Live 2009)
+The top-level auxiliary file: paper.aux
+The style file: alpha.bst
+Database file #1: kwarc.bib
+Warning--I didn't find a database entry for "Kohlhase:ssmtl*"
+You've used 2 entries,
+ 2543 wiz_defined-function locations,
+ 588 strings with 6180 characters,
+and the built_in function-call counts, 619 in all, are:
+= -- 63
+> -- 16
+< -- 2
++ -- 5
+- -- 4
+* -- 40
+:= -- 112
+add.period$ -- 6
+call.type$ -- 2
+change.case$ -- 10
+chr.to.int$ -- 2
+cite$ -- 2
+duplicate$ -- 25
+empty$ -- 45
+format.name$ -- 8
+if$ -- 118
+int.to.chr$ -- 1
+int.to.str$ -- 0
+missing$ -- 1
+newline$ -- 14
+num.names$ -- 6
+pop$ -- 5
+preamble$ -- 2
+purify$ -- 12
+quote$ -- 0
+skip$ -- 20
+stack$ -- 0
+substring$ -- 40
+swap$ -- 1
+text.length$ -- 2
+text.prefix$ -- 2
+top$ -- 0
+type$ -- 16
+warning$ -- 0
+while$ -- 6
+width$ -- 3
+write$ -- 28
+(There was 1 warning)
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/paper.idx b/Master/texmf-dist/doc/latex/stex/example/paper/paper.idx
new file mode 100644
index 00000000000..9e9ab5e324e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/paper.idx
@@ -0,0 +1,6 @@
+\indexentry{target|hyperpage}{1}
+\indexentry{module|hyperpage}{1}
+\indexentry{background!module|hyperpage}{1}
+\indexentry{module!background|hyperpage}{1}
+\indexentry{continuous|hyperpage}{3}
+\indexentry{differentiable|hyperpage}{3}
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/paper.ilg b/Master/texmf-dist/doc/latex/stex/example/paper/paper.ilg
new file mode 100644
index 00000000000..bf39bf695f8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/paper.ilg
@@ -0,0 +1,6 @@
+This is makeindex, version 2.15 [TeX Live 2009] (kpathsea + Thai support).
+Scanning input file paper.idx....done (6 entries accepted, 0 rejected).
+Sorting entries....done (22 comparisons).
+Generating output file paper.ind....done (23 lines written, 0 warnings).
+Output written in paper.ind.
+Transcript written in paper.ilg.
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/paper.ind b/Master/texmf-dist/doc/latex/stex/example/paper/paper.ind
new file mode 100644
index 00000000000..8b9a914f7cf
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/paper.ind
@@ -0,0 +1,23 @@
+\begin{theindex}
+
+ \item background
+ \subitem module, \hyperpage{1}
+
+ \indexspace
+
+ \item continuous, \hyperpage{3}
+
+ \indexspace
+
+ \item differentiable, \hyperpage{3}
+
+ \indexspace
+
+ \item module, \hyperpage{1}
+ \subitem background, \hyperpage{1}
+
+ \indexspace
+
+ \item target, \hyperpage{1}
+
+\end{theindex}
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/paper.log b/Master/texmf-dist/doc/latex/stex/example/paper/paper.log
new file mode 100644
index 00000000000..8dd02633640
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/paper.log
@@ -0,0 +1,376 @@
+This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=pdflatex 2009.11.16) 25 JUN 2010 12:13
+entering extended mode
+ file:line:error style messages enabled.
+ %&-line parsing enabled.
+**paper.tex
+(./paper.tex
+LaTeX2e <2009/09/24>
+Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
+yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, ar
+abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc
+h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono
+greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, ku
+rmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, po
+lish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, span
+ish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded.
+(/Users/kohlhase/stc/stex/sty/omdoc/omdoc.cls
+Document Class: omdoc 2010/06/25 v1.0 OMDoc Documents
+(/usr/local/texlive/2009/texmf-dist/tex/latex/base/article.cls
+Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
+(/usr/local/texlive/2009/texmf-dist/tex/latex/base/size10.clo
+File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
+)
+\c@part=\count79
+\c@section=\count80
+\c@subsection=\count81
+\c@subsubsection=\count82
+\c@paragraph=\count83
+\c@subparagraph=\count84
+\c@figure=\count85
+\c@table=\count86
+\abovecaptionskip=\skip41
+\belowcaptionskip=\skip42
+\bibindent=\dimen102
+)
+(/Users/kohlhase/stc/stex/sty/omdoc/omdoc.sty
+Package: omdoc 2010/06/25 v1.0 OMDoc document Structure
+\section@level=\count87
+
+(/Users/kohlhase/stc/stex/sty/sref/sref.sty
+Package: sref 2010/06/25 v0.9 Semantic Cross-References
+
+(/Users/kohlhase/stc/stex/sty/omd/omd.sty
+Package: omd 2010/06/25 v0.9 OMDoc Metadata Framework
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/graphics/keyval.sty
+Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
+\KV@toks@=\toks14
+)))
+(/usr/local/texlive/2009/texmf-dist/tex/latex/comment/comment.sty
+\CommentStream=\write3
+
+Excluding comment 'comment') Excluding comment 'ignore'))
+(/Users/kohlhase/stc/stex/sty/stex.sty
+Package: stex 2010/02/04 v0.9b Semantic Markup
+
+(/Users/kohlhase/stc/stex/sty/stex-logo.sty
+Package: stex-logo 2009/08/07 v1.0 sTeX Logo
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/tools/xspace.sty
+Package: xspace 2006/05/08 v1.12 Space after command names (DPC,MH)
+))
+(/Users/kohlhase/stc/stex/sty/modules/modules.sty
+Package: modules 2010/06/25 v1.0 Semantic Markup
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/seminar/xcomment.sty
+Style-Option: `xcomment' v1.2 <93/02/12> (tvz)
+\tokout=\write4
+\tokin=\read1
+)) (/Users/kohlhase/stc/stex/sty/omtext/omtext.sty
+Package: omtext 2010/06/25 v1.0 OMDoc Text Fragments
+\@indexfile=\write5
+\openout5 = `paper.idx'.
+
+
+Writing index file paper.idx
+) (/Users/kohlhase/stc/stex/sty/statements/statements.sty
+Package: statements 2010/06/25 v1.0 Semantic Markup for Statements
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/ntheorem/ntheorem.sty
+Style `ntheorem', Version 1.25 <2005/07/07>
+Package: ntheorem 2005/07/07 1.25
+\theorem@style=\toks15
+\theorem@@style=\toks16
+\theorembodyfont=\toks17
+\theoremnumbering=\toks18
+\theorempreskipamount=\skip43
+\theorempostskipamount=\skip44
+\theoremindent=\dimen103
+\theorem@indent=\dimen104
+\theoremheaderfont=\toks19
+\theoremseparator=\toks20
+\theoremprework=\toks21
+\theorempostwork=\toks22
+\theoremsymbol=\toks23
+\qedsymbol=\toks24
+\theoremkeyword=\toks25
+\qedsymbol=\toks26
+\thm@topsepadd=\skip45
+)
+\c@STtheoremAssEnv=\count88
+) (/Users/kohlhase/stc/stex/sty/sproof/sproof.sty
+Package: sproof 2010/06/25 v0.9f Semantic Markup for Proofs
+)
+(/Users/kohlhase/stc/stex/sty/presentation/presentation.sty
+Package: presentation 2010/06/25 v1.0 presentation for semantic macros
+)
+(/Users/kohlhase/stc/stex/sty/dcm/dcm.sty
+Package: dcm 2010/06/25 v0.3 Dublin Core Metadata
+))
+(/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/amssymb.sty
+Package: amssymb 2009/06/22 v3.00
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/amsfonts.sty
+Package: amsfonts 2009/06/22 v3.00 Basic AMSFonts support
+\@emptytoks=\toks27
+\symAMSa=\mathgroup4
+\symAMSb=\mathgroup5
+LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold'
+(Font) U/euf/m/n --> U/euf/b/n on input line 96.
+))
+(/usr/local/texlive/2009/texmf-dist/tex/latex/base/alltt.sty
+Package: alltt 1997/06/16 v2.0g defines alltt environment
+)
+(/usr/local/texlive/2009/texmf-dist/tex/latex/hyperref/hyperref.sty
+Package: hyperref 2009/10/09 v6.79a Hypertext links for LaTeX
+
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ifpdf.sty
+Package: ifpdf 2009/04/10 v2.0 Provides the ifpdf switch (HO)
+Package ifpdf Info: pdfTeX in pdf mode detected.
+)
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ifvtex.sty
+Package: ifvtex 2008/11/04 v1.4 Switches for detecting VTeX and its modes (HO)
+Package ifvtex Info: VTeX not detected.
+)
+(/usr/local/texlive/2009/texmf-dist/tex/generic/ifxetex/ifxetex.sty
+Package: ifxetex 2009/01/23 v0.5 Provides ifxetex conditional
+)
+(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/hycolor.sty
+Package: hycolor 2009/10/02 v1.5 Code for color options of hyperref/bookmark (H
+O)
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/xcolor-patch.sty
+Package: xcolor-patch 2009/10/02 xcolor patch
+))
+\@linkdim=\dimen105
+\Hy@linkcounter=\count89
+\Hy@pagecounter=\count90
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/hyperref/pd1enc.def
+File: pd1enc.def 2009/10/09 v6.79a Hyperref: PDFDocEncoding definition (HO)
+)
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/etexcmds.sty
+Package: etexcmds 2007/12/12 v1.2 Prefix for e-TeX command names (HO)
+
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/infwarerr.sty
+Package: infwarerr 2007/09/09 v1.2 Providing info/warning/message (HO)
+)
+Package etexcmds Info: Could not find \expanded.
+(etexcmds) That can mean that you are not using pdfTeX 1.50 or
+(etexcmds) that some package has redefined \expanded.
+(etexcmds) In the latter case, load this package earlier.
+)
+(/usr/local/texlive/2009/texmf-dist/tex/latex/latexconfig/hyperref.cfg
+File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
+)
+(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/kvoptions.sty
+Package: kvoptions 2009/08/13 v3.4 Keyval support for LaTeX options (HO)
+
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
+Package: kvsetkeys 2009/07/30 v1.5 Key value parser with default handler suppor
+t (HO)
+))
+Package hyperref Info: Hyper figures OFF on input line 2975.
+Package hyperref Info: Link nesting OFF on input line 2980.
+Package hyperref Info: Hyper index ON on input line 2983.
+Package hyperref Info: Plain pages OFF on input line 2990.
+Package hyperref Info: Backreferencing OFF on input line 2995.
+
+Implicit mode ON; LaTeX internals redefined
+Package hyperref Info: Bookmarks ON on input line 3191.
+(/usr/local/texlive/2009/texmf-dist/tex/latex/ltxmisc/url.sty
+\Urlmuskip=\muskip10
+Package: url 2006/04/12 ver 3.3 Verb mode for urls, etc.
+)
+LaTeX Info: Redefining \url on input line 3428.
+
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/bitset.sty
+Package: bitset 2007/09/28 v1.0 Data type bit set (HO)
+
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/intcalc.sty
+Package: intcalc 2007/09/27 v1.1 Expandable integer calculations (HO)
+)
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/bigintcalc.sty
+Package: bigintcalc 2007/11/11 v1.1 Expandable big integer calculations (HO)
+
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
+Package: pdftexcmds 2009/09/23 v0.6 LuaTeX support for pdfTeX utility functions
+ (HO)
+
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ifluatex.sty
+Package: ifluatex 2009/04/17 v1.2 Provides the ifluatex switch (HO)
+Package ifluatex Info: LuaTeX not detected.
+)
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
+Package: ltxcmds 2009/08/05 v1.0 Some LaTeX kernel commands for general use (HO
+)
+)
+Package pdftexcmds Info: LuaTeX not detected.
+Package pdftexcmds Info: \pdf@primitive is available.
+Package pdftexcmds Info: \pdf@ifprimitive is available.
+)))
+\Fld@menulength=\count91
+\Field@Width=\dimen106
+\Fld@charsize=\dimen107
+\Field@toks=\toks28
+Package hyperref Info: Hyper figures OFF on input line 4377.
+Package hyperref Info: Link nesting OFF on input line 4382.
+Package hyperref Info: Hyper index ON on input line 4385.
+Package hyperref Info: backreferencing OFF on input line 4392.
+Package hyperref Info: Link coloring OFF on input line 4397.
+Package hyperref Info: Link coloring with OCG OFF on input line 4402.
+Package hyperref Info: PDF/A mode OFF on input line 4407.
+
+(/usr/local/texlive/2009/texmf-dist/tex/generic/oberdiek/atbegshi.sty
+Package: atbegshi 2008/07/31 v1.9 At begin shipout hook (HO)
+)
+\Hy@abspage=\count92
+\c@Item=\count93
+\c@Hfootnote=\count94
+)
+*hyperref using default driver hpdftex*
+(/usr/local/texlive/2009/texmf-dist/tex/latex/hyperref/hpdftex.def
+File: hpdftex.def 2009/10/09 v6.79a Hyperref driver for pdfTeX
+\Fld@listcount=\count95
+)
+(/usr/local/texlive/2009/texmf-dist/tex/latex/listings/listings.sty
+\lst@mode=\count96
+\lst@gtempboxa=\box26
+\lst@token=\toks29
+\lst@length=\count97
+\lst@currlwidth=\dimen108
+\lst@column=\count98
+\lst@pos=\count99
+\lst@lostspace=\dimen109
+\lst@width=\dimen110
+\lst@newlines=\count100
+\lst@lineno=\count101
+\lst@maxwidth=\dimen111
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/listings/lstmisc.sty
+File: lstmisc.sty 2007/02/22 1.4 (Carsten Heinz)
+\c@lstnumber=\count102
+\lst@skipnumbers=\count103
+\lst@framebox=\box27
+)
+(/usr/local/texlive/2009/texmf-dist/tex/latex/listings/listings.cfg
+File: listings.cfg 2007/02/22 1.4 listings configuration
+))
+Package: listings 2007/02/22 1.4 (Carsten Heinz)
+
+(./paper.aux)
+\openout1 = `paper.aux'.
+
+LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 16.
+LaTeX Font Info: ... okay on input line 16.
+LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 16.
+LaTeX Font Info: ... okay on input line 16.
+LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 16.
+LaTeX Font Info: ... okay on input line 16.
+LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 16.
+LaTeX Font Info: ... okay on input line 16.
+LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 16.
+LaTeX Font Info: ... okay on input line 16.
+LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 16.
+LaTeX Font Info: ... okay on input line 16.
+LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 16.
+LaTeX Font Info: ... okay on input line 16.
+Package hyperref Info: Link coloring OFF on input line 16.
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/hyperref/nameref.sty
+Package: nameref 2007/05/29 v2.31 Cross-referencing by name of section
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/oberdiek/refcount.sty
+Package: refcount 2008/08/11 v3.1 Data extraction from references (HO)
+)
+\c@section@level=\count104
+)
+LaTeX Info: Redefining \ref on input line 16.
+LaTeX Info: Redefining \pageref on input line 16.
+
+(./paper.out) (./paper.out)
+\@outlinefile=\write6
+\openout6 = `paper.out'.
+
+\AtBeginShipoutBox=\box28
+\c@lstlisting=\count105
+LaTeX Font Info: Try loading font information for U+msa on input line 25.
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/umsa.fd
+File: umsa.fd 2009/06/22 v3.00 AMS symbols A
+)
+LaTeX Font Info: Try loading font information for U+msb on input line 25.
+
+(/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/umsb.fd
+File: umsb.fd 2009/06/22 v3.00 AMS symbols B
+)
+\c@authors=\count106
+
+authors: &Michael Kohlhase [1
+
+{/usr/local/texlive/2009/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
+
+LaTeX Warning: Citation `Kohlhase:ssmtl*' on page 2 undefined on input line 72.
+
+
+LaTeX Font Info: Font shape `OT1/cmtt/bx/n' in size <10> not available
+(Font) Font shape `OT1/cmtt/m/n' tried instead on input line 80.
+(/usr/local/texlive/2009/texmf-dist/tex/latex/listings/lstlang1.sty
+File: lstlang1.sty 2004/09/05 1.3 listings language file
+)
+(/usr/local/texlive/2009/texmf-dist/tex/latex/listings/lstlang2.sty
+File: lstlang2.sty 2004/09/05 1.3 listings language file
+)
+(/usr/local/texlive/2009/texmf-dist/tex/latex/listings/lstmisc.sty
+File: lstmisc.sty 2007/02/22 1.4 (Carsten Heinz)
+)
+Package hyperref Info: bookmark level for unknown lstlisting defaults to 0 on i
+nput line 91.
+ (./Makefile) (./continuous.tex [2] (../background/functions.sms) (../backgroun
+d/reals.sms)
+Package hyperref Info: bookmark level for unknown STdefinitionEnv defaults to 0
+ on input line 8.
+) (./differentiable.tex) (./paper.bbl
+Overfull \hbox (69.37538pt too wide) in paragraph at lines 119--22
+\OT1/cmr/m/n/10 shown how a a []T[]X col-lec-tion can be set up for au-toma-tio
+n.
+ []
+
+)
+\tf@thm=\write7
+\openout7 = `paper.thm'.
+
+ [3] (./paper.aux)
+
+LaTeX Warning: There were undefined references.
+
+ )
+Here is how much of TeX's memory you used:
+ 6658 strings out of 493848
+ 99522 string characters out of 3149206
+ 189428 words of memory out of 3000000
+ 9759 multiletter control sequences out of 15000+200000
+ 12316 words of font info for 48 fonts, out of 3000000 for 9000
+ 714 hyphenation exceptions out of 8191
+ 43i,12n,52p,271b,1168s stack positions out of 5000i,500n,10000p,200000b,50000s
+</usr/local/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb
+></usr/local/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb>
+</usr/local/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb><
+/usr/local/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi7.pfb></u
+sr/local/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr
+/local/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/l
+ocal/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb></usr/loc
+al/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cmr5.pfb></usr/local/
+texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb></usr/local/tex
+live/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cmr9.pfb></usr/local/texliv
+e/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/local/texlive
+/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy7.pfb></usr/local/texlive/2
+009/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb></usr/local/texlive/20
+09/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt10.pfb></usr/local/texlive/200
+9/texmf-dist/fonts/type1/public/amsfonts/symbols/msbm10.pfb>
+Output written on paper.pdf (3 pages, 190417 bytes).
+PDF statistics:
+ 154 PDF objects out of 1000 (max. 8388607)
+ 38 named destinations out of 1000 (max. 500000)
+ 65 words of extra memory for PDF output out of 10000 (max. 10000000)
+
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/paper.omdoc b/Master/texmf-dist/doc/latex/stex/example/paper/paper.omdoc
new file mode 100644
index 00000000000..ca38d57bd73
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/paper.omdoc
@@ -0,0 +1,399 @@
+<?xml version="1.0"?>
+<!--This OMDoc document is generated from an sTeX-encoded one via LaTeXML, you may want to reconsider editing it.-->
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:omdoc="http://omdoc.org/ns" xmlns:m="http://www.w3.org/1998/Math/MathML" stex:srcref="paper.tex#textrange(from=15;1,to=15;17)" xml:id="paper.omdoc">
+ <metadata xml:id="paper.omdoc.p1" about="#paper.omdoc.p1" stex:srcref="paper.tex#textrange(from=18;0,to=25;16)">
+ <dc:creator xml:id="paper.omdoc.p1.p1" about="#paper.omdoc.p1.p1" stex:srcref="paper.tex#textrange(from=19;0,to=19;20)">
+ <p xml:id="paper.omdoc.p1.p1.p1" about="#paper.omdoc.p1.p1.p1" stex:srcref="paper.tex#textrange(from=19;0,to=19;20)">Michael Kohlhase</p>
+ </dc:creator>
+ <dc:rights xml:id="paper.omdoc.p1.p2" about="#paper.omdoc.p1.p2" stex:srcref="paper.tex#textrange(from=20;0,to=20;49)">
+ <p xml:id="paper.omdoc.p1.p2.p1" about="#paper.omdoc.p1.p2.p1" stex:srcref="paper.tex#textrange(from=20;0,to=20;49)">Copyright (c) 2009 Michael Kohlhase</p>
+ </dc:rights>
+ <dc:title xml:id="paper.omdoc.p1.p3" about="#paper.omdoc.p1.p3" stex:srcref="paper.tex#textrange(from=21;0,to=21;53)">
+ <p xml:id="paper.omdoc.p1.p3.p1" about="#paper.omdoc.p1.p3.p1" stex:srcref="paper.tex#textrange(from=21;0,to=21;53)">An example of semantic Markup in <phrase xml:id="paper.omdoc.p1.p3.p1.p1" about="#paper.omdoc.p1.p3.p1.p1" stex:srcref="paper.tex#textrange(from=21;0,to=21;53)">sTeX</phrase></p>
+ </dc:title>
+ <dc:description xml:id="paper.omdoc.p1.p4" about="#paper.omdoc.p1.p4" stex:srcref="paper.tex#textrange(from=24;0,to=24;40)">
+ <p xml:id="paper.omdoc.p1.p4.p1" about="#paper.omdoc.p1.p4.p1" stex:srcref="paper.tex#textrange(from=24;0,to=24;40)">In this note we give an example of semantic markup in <phrase xml:id="paper.omdoc.p1.p4.p1.p1" about="#paper.omdoc.p1.p4.p1.p1" stex:srcref="paper.tex#textrange(from=24;0,to=24;40)">sTeX</phrase>:
+Continuous and differentiable functions are introduced using real numbers, sets and
+functions as an assumed background.</p>
+ </dc:description>
+ </metadata>
+ <omgroup layout="sectioning" xml:id="intro" about="#intro" stex:srcref="paper.tex#textrange(from=27;0,to=110;13)">
+ <metadata xml:id="intro.p1" about="#intro.p1" stex:srcref="paper.tex#textrange(from=27;0,to=27;39)">
+ <dc:title stex:srcref="paper.tex#textrange(from=27;0,to=110;13)" xml:id="intro.p1.p1" about="#intro.p1.p1">
+ <p xml:id="intro.p1.p1.p1" about="#intro.p1.p1.p1" stex:srcref="paper.tex#textrange(from=27;0,to=110;13)">Introduction</p>
+ </dc:title>
+ </metadata>
+ <omtext xml:id="intro.p2" about="#intro.p2" stex:srcref="paper.tex#textrange(from=27;0,to=63;13)">
+ <CMP xml:id="intro.p2.p1" about="#intro.p2.p1" stex:srcref="paper.tex#textrange(from=27;0,to=63;13)">
+ <p xml:id="intro.p2.p1.p1" about="#intro.p2.p1.p1" stex:srcref="paper.tex#textrange(from=27;0,to=27;39)">We will show how to semantically mark up mathematics in the <phrase xml:id="intro.p2.p1.p1.p1" about="#intro.p2.p1.p1.p1" stex:srcref="paper.tex#textrange(from=27;1,to=28;68)">sTeX</phrase>
+format <ref type="cite" xref="kohlhase:ulsmf08"/> and how to convert it into
+OMDoc <ref type="cite" xref="kohlhase:omdoc1.3"/>.
+</p>
+ <p xml:id="intro.p2.p1.p2" about="#intro.p2.p1.p2" stex:srcref="paper.tex#textrange(from=27;0,to=63;13)">We have some mathematical material in Section <ref type="cite" xref="sec.math" xml:id="intro.p2.p1.p2.p1" about="#intro.p2.p1.p2.p1" stex:srcref="paper.tex#textrange(from=31;29,to=32;56)"/> which will serve as example
+content. In the rest of this section we will explain the setup of the example and
+present an approach to automation of the OMDoc conversion via Unix Makefiles.
+</p>
+ </CMP>
+ </omtext>
+ <omgroup layout="sectioning" xml:id="intro.p3" about="#intro.p3" stex:srcref="paper.tex#textrange(from=35;0,to=63;13)">
+ <metadata xml:id="intro.p3.p1" about="#intro.p3.p1" stex:srcref="paper.tex#textrange(from=35;0,to=62;13)">
+ <dc:title stex:srcref="paper.tex#textrange(from=35;0,to=63;13)" xml:id="intro.p3.p1.p1" about="#intro.p3.p1.p1">
+ <p xml:id="intro.p3.p1.p1.p1" about="#intro.p3.p1.p1.p1" stex:srcref="paper.tex#textrange(from=35;0,to=63;13)">The Setup</p>
+ </dc:title>
+ </metadata>
+ <theory xmlns:mcd="http://www.w3.org/ns/mathml-cd" xml:id="setup" about="#setup" stex:srcref="paper.tex#textrange(from=36;0,to=62;13)">
+ <imports from="../../../slides/extcds/omstd/arith1.omdoc#arith1"/>
+ <imports from="../../../slides/extcds/omstd/relation1.omdoc#relation1"/>
+ <symbol name="target" xml:id="target.def.sym" about="#target.def.sym" stex:srcref="paper.tex#textrange(from=37;0,to=44;20)"/>
+ <symbol name="module" xml:id="module.def.sym" about="#module.def.sym" stex:srcref="paper.tex#textrange(from=37;0,to=44;20)"/>
+ <definition for="target module" xml:id="setup.p3" about="#setup.p3" stex:srcref="paper.tex#textrange(from=37;0,to=44;20)">
+ <CMP xml:id="setup.p3.p1" about="#setup.p3.p1" stex:srcref="paper.tex#textrange(from=37;0,to=44;20)">
+ <p xml:id="setup.p3.p1.p1" about="#setup.p3.p1.p1" stex:srcref="paper.tex#textrange(from=37;0,to=44;20)">
+The source of this note is contained in the file <phrase class="code" xml:id="setup.p3.p1.p1.p1" about="#setup.p3.p1.p1.p1" stex:srcref="paper.tex#textrange(from=37;13,to=38;74)">paper.tex</phrase>. We call it
+the <idx xml:id="setup.p3.p1.p1.p2" about="#setup.p3.p1.p1.p2" stex:srcref="paper.tex#textrange(from=38;59,to=39;25)"><idt><term cd="setup" name="target" role="definiendum" xml:id="setup.p3.p1.p1.p2.p1" about="#setup.p3.p1.p1.p2.p1" stex:srcref="paper.tex#textrange(from=38;59,to=39;25)">target</term></idt><ide index="default"><idp><phrase>target</phrase></idp></ide></idx>, since formatting it with LaTeX will generate the main
+document. The content in Section <ref type="cite" xref="sec.contfuncs" xml:id="setup.p3.p1.p1.p3" about="#setup.p3.p1.p1.p3" stex:srcref="paper.tex#textrange(from=39;33,to=40;52)"/> and Section <ref type="cite" xref="sec.differentiable" xml:id="setup.p3.p1.p1.p4" about="#setup.p3.p1.p1.p4" stex:srcref="paper.tex#textrange(from=39;1,to=40;84)"/>
+comes from included files <phrase class="code" xml:id="setup.p3.p1.p1.p5" about="#setup.p3.p1.p1.p5" stex:srcref="paper.tex#textrange(from=40;5,to=41;56)">continuous.tex</phrase> and
+<phrase class="code" xml:id="setup.p3.p1.p1.p6" about="#setup.p3.p1.p1.p6" stex:srcref="paper.tex#textrange(from=41;54,to=42;34)">differentiable.tex</phrase>, we will call them <idx xml:id="setup.p3.p1.p1.p7" about="#setup.p3.p1.p1.p7" stex:srcref="paper.tex#textrange(from=41;18,to=42;70)"><idt><term cd="setup" name="module" role="definiendum" xml:id="setup.p3.p1.p1.p7.p1" about="#setup.p3.p1.p1.p7.p1" stex:srcref="paper.tex#textrange(from=41;18,to=42;70)">module</term></idt><ide index="default"><idp><phrase>module</phrase></idp></ide></idx>s, since they may
+be used (i.e. included) by other target documents as well.
+</p>
+ </CMP>
+ </definition>
+ <omtext xml:id="setup.p4" about="#setup.p4" stex:srcref="paper.tex#textrange(from=36;0,to=54;19)">
+ <CMP xml:id="setup.p4.p1" about="#setup.p4.p1" stex:srcref="paper.tex#textrange(from=36;0,to=54;19)">
+ <p xml:id="setup.p4.p1.p1" about="#setup.p4.p1.p1" stex:srcref="paper.tex#textrange(from=36;0,to=54;19)">As the modules are built for inclusion into other documents, they are not
+self-contained:
+</p>
+ </CMP>
+ </omtext>
+ <omgroup layout="enumerate" xml:id="I1" about="#I1" stex:srcref="paper.tex#textrange(from=47;0,to=54;19)">
+ <omtext xml:id="I1.p1" about="#I1.p1" stex:srcref="paper.tex#textrange(from=47;42,to=48;11)">
+ <CMP xml:id="I1.p1.p1" about="#I1.p1.p1" stex:srcref="paper.tex#textrange(from=47;42,to=48;11)">
+ <p xml:id="I1.p1.p1.p1" about="#I1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=47;42,to=48;11)">they do not contain a LaTeX preamble and
+<omlet action="display" data="#id35821218" show="embed" style="" font="typewriter"/>/<omlet action="display" data="#id35821224" show="embed" style="" font="typewriter"/>, and
+</p>
+ </CMP>
+ </omtext>
+ <omtext xml:id="I1.p2" about="#I1.p2" stex:srcref="paper.tex#textrange(from=49;76,to=50;11)">
+ <CMP xml:id="I1.p2.p1" about="#I1.p2.p1" stex:srcref="paper.tex#textrange(from=49;76,to=50;11)">
+ <p xml:id="I1.p2.p1.p1" about="#I1.p2.p1.p1" stex:srcref="paper.tex#textrange(from=49;76,to=50;11)">they may depend on other modules, whose semantic macros they need to include,
+</p>
+ </CMP>
+ </omtext>
+ <omtext xml:id="I1.p3" about="#I1.p3" stex:srcref="paper.tex#textrange(from=50;75,to=51;11)">
+ <CMP xml:id="I1.p3.p1" about="#I1.p3.p1" stex:srcref="paper.tex#textrange(from=50;75,to=51;11)">
+ <p xml:id="I1.p3.p1.p1" about="#I1.p3.p1.p1" stex:srcref="paper.tex#textrange(from=50;75,to=51;11)">to facilitate this a module file <phrase class="code" xml:id="I1.p3.p1.p1.p1" about="#I1.p3.p1.p1.p1" stex:srcref="paper.tex#textrange(from=50;25,to=51;61)">modf.tex</phrase> comes with a “semantic
+macro short form” <phrase class="code" xml:id="I1.p3.p1.p1.p2" about="#I1.p3.p1.p1.p2" stex:srcref="paper.tex#textrange(from=51;41,to=52;43)">modf.sms</phrase> that can be included without generating
+output in the PDF.
+</p>
+ </CMP>
+ </omtext>
+ </omgroup>
+ <symbol name="background-module" xml:id="background-module.def.sym"/>
+ <omtext xml:id="setup.p6" about="#setup.p6" stex:srcref="paper.tex#textrange(from=36;0,to=62;13)">
+ <CMP xml:id="setup.p6.p1" about="#setup.p6.p1" stex:srcref="paper.tex#textrange(from=36;0,to=62;13)">
+ <p xml:id="setup.p6.p1.p1" about="#setup.p6.p1.p1" stex:srcref="paper.tex#textrange(from=36;0,to=62;13)">this will have consequences for the automation. Concretely, the module on
+differentiable functions in Section <ref type="cite" xref="sec.differentiable" xml:id="setup.p6.p1.p1.p1" about="#setup.p6.p1.p1.p1" stex:srcref="paper.tex#textrange(from=55;32,to=56;58)"/> depends on that for continuous
+functions in Section <ref type="cite" xref="sec.contfuncs" xml:id="setup.p6.p1.p1.p2" about="#setup.p6.p1.p1.p2" stex:srcref="paper.tex#textrange(from=56;51,to=57;38)"/>. Both of them depend on modules for real numbers,
+sets and functions that we do not want to cover in this note. <phrase for="background-module" type="inlinedef" xml:id="setup.p6.p1.p1.p3" about="#setup.p6.p1.p1.p3" stex:srcref="paper.tex#textrange(from=59;17,to=60;69)">We assume that
+they have already been marked up with the same methods as we describe here and are
+accessible to us and call them <idx xml:id="setup.p6.p1.p1.p3.p1" about="#setup.p6.p1.p1.p3.p1" stex:srcref="paper.tex#textrange(from=59;17,to=60;69)"><idt><term cd="setup" name="background-module" role="definiendum" xml:id="setup.p6.p1.p1.p3.p1.p1" about="#setup.p6.p1.p1.p3.p1.p1" stex:srcref="paper.tex#textrange(from=59;17,to=60;69)">background module</term></idt><ide index="default"><idp><phrase>background</phrase></idp><idp><phrase>module</phrase></idp></ide></idx>s</phrase>. In our setup we
+keep them in the subdirectory <phrase class="code" xml:id="setup.p6.p1.p1.p4" about="#setup.p6.p1.p1.p4" stex:srcref="paper.tex#textrange(from=60;2,to=61;54)">background</phrase>.
+</p>
+ </CMP>
+ </omtext>
+ </theory>
+ </omgroup>
+ <omgroup layout="sectioning" xml:id="intro.p4" about="#intro.p4" stex:srcref="paper.tex#textrange(from=65;0,to=73;13)">
+ <metadata xml:id="intro.p4.p1" about="#intro.p4.p1" stex:srcref="paper.tex#textrange(from=65;0,to=65;51)">
+ <dc:title stex:srcref="paper.tex#textrange(from=65;0,to=73;13)" xml:id="intro.p4.p1.p1" about="#intro.p4.p1.p1">
+ <p xml:id="intro.p4.p1.p1.p1" about="#intro.p4.p1.p1.p1" stex:srcref="paper.tex#textrange(from=65;0,to=73;13)">Formatting and OMDoc conversion</p>
+ </dc:title>
+ </metadata>
+ <omtext xml:id="intro.p4.p2" about="#intro.p4.p2" stex:srcref="paper.tex#textrange(from=65;0,to=73;13)">
+ <CMP xml:id="intro.p4.p2.p1" about="#intro.p4.p2.p1" stex:srcref="paper.tex#textrange(from=65;0,to=73;13)">
+ <p xml:id="intro.p4.p2.p1.p1" about="#intro.p4.p2.p1.p1" stex:srcref="paper.tex#textrange(from=65;0,to=65;51)">To format an <phrase xml:id="intro.p4.p2.p1.p1.p1" about="#intro.p4.p2.p1.p1.p1" stex:srcref="paper.tex#textrange(from=65;68,to=66;21)">sTeX</phrase> document — i.e. to produce a PDF file from the <phrase xml:id="intro.p4.p2.p1.p1.p2" about="#intro.p4.p2.p1.p1.p2" stex:srcref="paper.tex#textrange(from=65;11,to=66;78)">sTeX</phrase> marked-up
+sources — we only need to run the <phrase class="code" xml:id="intro.p4.p2.p1.p1.p3" about="#intro.p4.p2.p1.p1.p3" stex:srcref="paper.tex#textrange(from=66;34,to=67;56)">pdflatex</phrase> program over the target document
+— assuming that all modules (regular or background) have semantic macro short forms.
+</p>
+ <p xml:id="intro.p4.p2.p1.p2" about="#intro.p4.p2.p1.p2" stex:srcref="paper.tex#textrange(from=65;0,to=73;13)">To convert an <phrase xml:id="intro.p4.p2.p1.p2.p1" about="#intro.p4.p2.p1.p2.p1" stex:srcref="paper.tex#textrange(from=69;66,to=70;22)">sTeX</phrase> document to OMDoc, we need to run <phrase class="code" xml:id="intro.p4.p2.p1.p2.p2" about="#intro.p4.p2.p1.p2.p2" stex:srcref="paper.tex#textrange(from=69;10,to=70;78)">latexml</phrase> over it,
+post-process the result by <phrase class="code" xml:id="intro.p4.p2.p1.p2.p3" about="#intro.p4.p2.p1.p2.p3" stex:srcref="paper.tex#textrange(from=70;41,to=71;50)">latexmlpost</phrase>, and finally massage away all remaining
+LaTeXML islands with a stylesheet, see  <ref type="cite" xref="kohlhase:ssmtl*"/> for details.
+</p>
+ </CMP>
+ </omtext>
+ </omgroup>
+ <omgroup layout="sectioning" xml:id="intro.p5" about="#intro.p5" stex:srcref="paper.tex#textrange(from=75;0,to=108;13)">
+ <metadata xml:id="intro.p5.p1" about="#intro.p5.p1" stex:srcref="paper.tex#textrange(from=75;0,to=75;42)">
+ <dc:title stex:srcref="paper.tex#textrange(from=75;0,to=108;13)" xml:id="intro.p5.p1.p1" about="#intro.p5.p1.p1">
+ <p xml:id="intro.p5.p1.p1.p1" about="#intro.p5.p1.p1.p1" stex:srcref="paper.tex#textrange(from=75;0,to=108;13)">Makefile-based Automation</p>
+ </dc:title>
+ </metadata>
+ <omtext xml:id="intro.p5.p2" about="#intro.p5.p2" stex:srcref="paper.tex#textrange(from=75;0,to=87;19)">
+ <CMP xml:id="intro.p5.p2.p1" about="#intro.p5.p2.p1" stex:srcref="paper.tex#textrange(from=75;0,to=87;19)">
+ <p xml:id="intro.p5.p2.p1.p1" about="#intro.p5.p2.p1.p1" stex:srcref="paper.tex#textrange(from=75;0,to=87;19)">As the conversion to OMDoc is rather complex (the programs in the three steps take a
+variety of options), we support an automation by Unix Makefiles. There are three main
+<phrase class="code" xml:id="intro.p5.p2.p1.p1.p1" about="#intro.p5.p2.p1.p1.p1" stex:srcref="paper.tex#textrange(from=77;10,to=78;16)">make</phrase> targets.
+</p>
+ </CMP>
+ </omtext>
+ <omgroup layout="description" xml:id="I2" about="#I2" stex:srcref="paper.tex#textrange(from=79;0,to=87;19)">
+ <omtext xml:id="I2.p1" about="#I2.p1" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">
+ <metadata xml:id="I2.p1.p1" about="#I2.p1.p1" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">
+ <dc:title xml:id="I2.p1.p1.p1" about="#I2.p1.p1.p1" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">
+ <p xml:id="I2.p1.p1.p1.p1" about="#I2.p1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">
+ <phrase class="code" xml:id="I2.p1.p1.p1.p1.p1" about="#I2.p1.p1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">make omdoc</phrase>
+ </p>
+ </dc:title>
+ </metadata>
+ <CMP xml:id="I2.p1.p2" about="#I2.p1.p2" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">
+ <p xml:id="I2.p1.p2.p1" about="#I2.p1.p2.p1" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">will trigger the OMDoc transformation of the target
+document.
+</p>
+ </CMP>
+ </omtext>
+ <omtext xml:id="I2.p2" about="#I2.p2" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">
+ <metadata xml:id="I2.p2.p1" about="#I2.p2.p1" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">
+ <dc:title xml:id="I2.p2.p1.p1" about="#I2.p2.p1.p1" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">
+ <p xml:id="I2.p2.p1.p1.p1" about="#I2.p2.p1.p1.p1" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">
+ <phrase class="code" xml:id="I2.p2.p1.p1.p1.p1" about="#I2.p2.p1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">make mods</phrase>
+ </p>
+ </dc:title>
+ </metadata>
+ <CMP xml:id="I2.p2.p2" about="#I2.p2.p2" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">
+ <p xml:id="I2.p2.p2.p1" about="#I2.p2.p2.p1" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">will trigger the OMDoc transformation of the modules.
+</p>
+ </CMP>
+ </omtext>
+ <omtext xml:id="I2.p3" about="#I2.p3" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">
+ <metadata xml:id="I2.p3.p1" about="#I2.p3.p1" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">
+ <dc:title xml:id="I2.p3.p1.p1" about="#I2.p3.p1.p1" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">
+ <p xml:id="I2.p3.p1.p1.p1" about="#I2.p3.p1.p1.p1" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">
+ <phrase class="code" xml:id="I2.p3.p1.p1.p1.p1" about="#I2.p3.p1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">make pdf</phrase>
+ </p>
+ </dc:title>
+ </metadata>
+ <CMP xml:id="I2.p3.p2" about="#I2.p3.p2" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">
+ <p xml:id="I2.p3.p2.p1" about="#I2.p3.p2.p1" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">will trigger the LaTeX formatting the target
+</p>
+ </CMP>
+ </omtext>
+ <omtext xml:id="I2.p4" about="#I2.p4" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">
+ <metadata xml:id="I2.p4.p1" about="#I2.p4.p1" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">
+ <dc:title xml:id="I2.p4.p1.p1" about="#I2.p4.p1.p1" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">
+ <p xml:id="I2.p4.p1.p1.p1" about="#I2.p4.p1.p1.p1" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">
+ <phrase class="code" xml:id="I2.p4.p1.p1.p1.p1" about="#I2.p4.p1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">make mpdf</phrase>
+ </p>
+ </dc:title>
+ </metadata>
+ <CMP xml:id="I2.p4.p2" about="#I2.p4.p2" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">
+ <p xml:id="I2.p4.p2.p1" about="#I2.p4.p2.p1" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">will trigger the LaTeX formatting the modules
+</p>
+ </CMP>
+ </omtext>
+ <omtext xml:id="I2.p5" about="#I2.p5" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">
+ <metadata xml:id="I2.p5.p1" about="#I2.p5.p1" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">
+ <dc:title xml:id="I2.p5.p1.p1" about="#I2.p5.p1.p1" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">
+ <p xml:id="I2.p5.p1.p1.p1" about="#I2.p5.p1.p1.p1" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">
+ <phrase class="code" xml:id="I2.p5.p1.p1.p1.p1" about="#I2.p5.p1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">make sms</phrase>
+ </p>
+ </dc:title>
+ </metadata>
+ <CMP xml:id="I2.p5.p2" about="#I2.p5.p2" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">
+ <p xml:id="I2.p5.p2.p1" about="#I2.p5.p2.p1" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">will trigger the re-generation of all semantic macro short
+forms of modules (this is implicitly called in all the other <phrase class="code" xml:id="I2.p5.p2.p1.p1" about="#I2.p5.p2.p1.p1" stex:srcref="paper.tex#textrange(from=85;10,to=86;79)">make</phrase> targets)
+</p>
+ </CMP>
+ </omtext>
+ </omgroup>
+ <omtext xml:id="intro.p5.p4" about="#intro.p5.p4" stex:srcref="paper.tex#textrange(from=75;0,to=108;13)">
+ <CMP xml:id="intro.p5.p4.p1" about="#intro.p5.p4.p1" stex:srcref="paper.tex#textrange(from=75;0,to=108;13)">
+ <p xml:id="intro.p5.p4.p1.p1" about="#intro.p5.p4.p1.p1" stex:srcref="paper.tex#textrange(from=75;0,to=75;42)">To use this, we need to set up a <phrase class="code" xml:id="intro.p5.p4.p1.p1.p1" about="#intro.p5.p4.p1.p1.p1" stex:srcref="paper.tex#textrange(from=87;24,to=88;55)">Makefile</phrase> of the following form:
+</p>
+ <omlet xmlns:mcd="http://www.w3.org/ns/mathml-cd" action="display" show="embed" style="display:block" class="language_make" xml:id="LSTx1">
+ <code>
+ <data format="listingblock">
+ <table class="listing">
+ <tr>
+ <td/>
+ <td>STEXDIR = ../..</td>
+ </tr>
+ <tr>
+ <td>2</td>
+ <td>TARGET = paper.tex</td>
+ </tr>
+ <tr>
+ <td/>
+ <td>MODSLIBDIR = ../background</td>
+ </tr>
+ <tr>
+ <td>4</td>
+ <td/>
+ </tr>
+ <tr>
+ <td/>
+ <td>include $(STEXDIR)/make/Makefile.vars</td>
+ </tr>
+ <tr>
+ <td>6</td>
+ <td>all: omdoc mods pdf</td>
+ </tr>
+ <tr>
+ <td/>
+ <td>include $(STEXDIR)/make/Makefile.in</td>
+ </tr>
+ </table>
+ </data>
+ </code>
+ </omlet>
+ <p xml:id="intro.p5.p4.p1.p3" about="#intro.p5.p4.p1.p3" stex:srcref="paper.tex#textrange(from=75;0,to=75;42)">The variable <phrase xmlns:mcd="http://www.w3.org/ns/mathml-cd" class="listing ">STEXDIR</phrase> has to be set to the main directory of the <phrase xml:id="intro.p5.p4.p1.p3.p1" about="#intro.p5.p4.p1.p3.p1" stex:srcref="paper.tex#textrange(from=92;1,to=93;86)">sTeX</phrase>
+distribution. The variable <phrase xmlns:mcd="http://www.w3.org/ns/mathml-cd" class="listing ">TARGET</phrase> specifies the target document (all other
+<phrase class="code" xml:id="intro.p5.p4.p1.p3.p2" about="#intro.p5.p4.p1.p3.p2" stex:srcref="paper.tex#textrange(from=94;73,to=95;17)">*.tex</phrase> files that are not excluded in the <phrase xmlns:mcd="http://www.w3.org/ns/mathml-cd" class="listing ">BUTFILES</phrase> variables are
+considered as modules). Here, the <phrase class="code" xml:id="intro.p5.p4.p1.p3.p3" about="#intro.p5.p4.p1.p3.p3" stex:srcref="paper.tex#textrange(from=95;32,to=96;56)">background</phrase> directory for convenience. The
+<phrase xmlns:mcd="http://www.w3.org/ns/mathml-cd" class="listing ">MODSLIBDIR</phrase> specifies the location of the prefix and postfix files
+<phrase class="code" xml:id="intro.p5.p4.p1.p3.p4" about="#intro.p5.p4.p1.p3.p4" stex:srcref="paper.tex#textrange(from=97;68,to=98;19)">pre.tex</phrase> and <phrase class="code" xml:id="intro.p5.p4.p1.p3.p5" about="#intro.p5.p4.p1.p3.p5" stex:srcref="paper.tex#textrange(from=97;44,to=98;43)">post.tex</phrase> that will be prepended and appended to the
+modules to make them into complete files TeX files that can be converted. The last
+three lines just include the Makefiles from the <phrase xml:id="intro.p5.p4.p1.p3.p6" about="#intro.p5.p4.p1.p3.p6" stex:srcref="paper.tex#textrange(from=99;32,to=100;56)">sTeX</phrase> distribution and configure the
+default make target (<phrase class="code" xml:id="intro.p5.p4.p1.p3.p7" about="#intro.p5.p4.p1.p3.p7" stex:srcref="paper.tex#textrange(from=100;31,to=101;40)">make all</phrase>) to be produce the pdf version
+</p>
+ <p xml:id="intro.p5.p4.p1.p4" about="#intro.p5.p4.p1.p4" stex:srcref="paper.tex#textrange(from=75;0,to=108;13)">Note that in the directory <phrase class="code" xml:id="intro.p5.p4.p1.p4.p1" about="#intro.p5.p4.p1.p4.p1" stex:srcref="paper.tex#textrange(from=102;36,to=103;49)">background</phrase> we have a very similar Makefile as
+above. The only differences are that the variable <phrase xmlns:mcd="http://www.w3.org/ns/mathml-cd" class="listing ">STEXDIR</phrase> is adapted and
+that the <phrase xmlns:mcd="http://www.w3.org/ns/mathml-cd" class="listing ">BUTFILE</phrase> variable is set to <phrase class="code" xml:id="intro.p5.p4.p1.p4.p2" about="#intro.p5.p4.p1.p4.p2" stex:srcref="paper.tex#textrange(from=104;5,to=105;69)">pre.tex</phrase> and
+<phrase class="code" xml:id="intro.p5.p4.p1.p4.p3" about="#intro.p5.p4.p1.p4.p3" stex:srcref="paper.tex#textrange(from=105;51,to=106;20)">post.tex</phrase>, so that they are not converted. In the directory
+<phrase class="code" xml:id="intro.p5.p4.p1.p4.p4" about="#intro.p5.p4.p1.p4.p4" stex:srcref="paper.tex#textrange(from=106;56,to=107;22)">background</phrase> we have followed good practice by establishing a phony
+</p>
+ </CMP>
+ </omtext>
+ </omgroup>
+ </omgroup>
+ <omgroup layout="sectioning" xml:id="sec.math" about="#sec.math" stex:srcref="paper.tex#textrange(from=112;0,to=116;13)">
+ <metadata xml:id="sec.math.p1" about="#sec.math.p1" stex:srcref="paper.tex#textrange(from=112;0,to=112;50)">
+ <dc:title stex:srcref="paper.tex#textrange(from=112;0,to=116;13)" xml:id="sec.math.p1.p1" about="#sec.math.p1.p1">
+ <p xml:id="sec.math.p1.p1.p1" about="#sec.math.p1.p1.p1" stex:srcref="paper.tex#textrange(from=112;0,to=116;13)">Mathematical Content</p>
+ </dc:title>
+ </metadata>
+ <omtext xml:id="sec.math.p2" about="#sec.math.p2" stex:srcref="paper.tex#textrange(from=112;0,to=13;13)">
+ <CMP xml:id="sec.math.p2.p1" about="#sec.math.p2.p1" stex:srcref="paper.tex#textrange(from=112;0,to=13;13)">
+ <p xml:id="sec.math.p2.p1.p1" about="#sec.math.p2.p1.p1" stex:srcref="paper.tex#textrange(from=112;0,to=13;13)">We present some standard mathematical definitions, here from calculus.
+</p>
+ </CMP>
+ </omtext>
+ <omgroup layout="sectioning" xml:id="sec.contfuncs" about="#sec.contfuncs" stex:srcref="continuous.tex#textrange(from=1;0,to=13;13)">
+ <metadata xml:id="sec.contfuncs.p1" about="#sec.contfuncs.p1" stex:srcref="continuous.tex#textrange(from=1;0,to=12;12)">
+ <dc:title stex:srcref="continuous.tex#textrange(from=1;0,to=13;13)" xml:id="sec.contfuncs.p1.p1" about="#sec.contfuncs.p1.p1">
+ <p xml:id="sec.contfuncs.p1.p1.p1" about="#sec.contfuncs.p1.p1.p1" stex:srcref="continuous.tex#textrange(from=1;0,to=13;13)">Continuous Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xmlns:mcd="http://www.w3.org/ns/mathml-cd" xml:id="continuous" about="#continuous" stex:srcref="continuous.tex#textrange(from=2;0,to=12;12)">
+ <imports from="../../../slides/extcds/omstd/arith1.omdoc#arith1"/>
+ <imports from="../../../slides/extcds/omstd/relation1.omdoc#relation1"/>
+ <imports from="../background/functions.omdoc#functions" xml:id="continuous.p1" about="#continuous.p1" stex:srcref="continuous.tex#textrange(from=3;0,to=3;46)"/>
+ <imports from="../background/reals.omdoc#reals" xml:id="continuous.p2" about="#continuous.p2" stex:srcref="continuous.tex#textrange(from=4;0,to=4;38)"/>
+ <symbol name="continuousfunctions" xml:id="continuousfunctions.sym" about="#continuousfunctions.sym" stex:srcref="continuous.tex#textrange(from=5;1,to=5;54)"/>
+ <notation cd="continuous" name="continuousfunctions">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="continuous" cr="fun" name="continuousfunctions"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering>
+ <m:mrow>
+ <m:msup>
+ <m:mi mathvariant="script">C</m:mi>
+ <m:mn>0</m:mn>
+ </m:msup>
+ <m:mo>⁢</m:mo>
+ <m:mfenced open="(" close=")">
+ <m:mrow>
+ <render name="arg1"/>
+ <m:mo>,</m:mo>
+ <render name="arg2"/>
+ </m:mrow>
+ </m:mfenced>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="continuous" xml:id="continuous.def.sym" about="#continuous.def.sym" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)"/>
+ <definition for="continuous" xml:id="continuous.p5" about="#continuous.p5" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)">
+ <CMP xml:id="continuous.p5.p1" about="#continuous.p5.p1" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)">
+ <p xml:id="continuous.p5.p1.p1" about="#continuous.p5.p1.p1" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)">
+A function <om:OMOBJ><om:OMA><om:OMS cd="functions" name="fun"/><om:OMV name="f"/><om:OMS cd="reals" name="RealNumbers"/><om:OMS cd="reals" name="RealNumbers"/></om:OMA></om:OMOBJ> is called <idx xml:id="continuous.p5.p1.p1.p2" about="#continuous.p5.p1.p1.p2" stex:srcref="continuous.tex#textrange(from=7;4,to=8;76)"><idt><term cd="continuous" name="continuous" role="definiendum" xml:id="continuous.p5.p1.p1.p2.p1" about="#continuous.p5.p1.p1.p2.p1" stex:srcref="continuous.tex#textrange(from=7;4,to=8;76)">continuous</term></idt><ide index="default"><idp><phrase>continuous</phrase></idp></ide></idx> at
+<om:OMOBJ><om:OMA><om:OMS cd="functions" name="inset"/><om:OMV name="x"/><om:OMS cd="reals" name="RealNumbers"/></om:OMA></om:OMOBJ>, iff for all <om:OMOBJ><om:OMA><om:OMS cd="relation1" name="gt"/><om:OMV name="&#x3F5;"/><om:OMI>0</om:OMI></om:OMA></om:OMOBJ> there is a <om:OMOBJ><om:OMA><om:OMS cd="relation1" name="gt"/><om:OMV name="&#x3B4;"/><om:OMI>0</om:OMI></om:OMA></om:OMOBJ>, such that
+<om:OMOBJ><om:OMA><om:OMS cd="relation1" name="lt"/><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="arith1" name="minus"/><om:OMA><om:OMS cd="arith1" name="times"/><om:OMV name="f"/><om:OMV name="x"/></om:OMA><om:OMA><om:OMS cd="arith1" name="times"/><om:OMV name="f"/><om:OMV name="y"/></om:OMA></om:OMA></om:OMA><om:OMV name="&#x3F5;"/></om:OMA></om:OMOBJ> for all <om:OMOBJ><om:OMA><om:OMS cd="relation1" name="lt"/><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="arith1" name="minus"/><om:OMV name="x"/><om:OMV name="y"/></om:OMA></om:OMA><om:OMV name="&#x3B4;"/></om:OMA></om:OMOBJ></p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <omgroup layout="sectioning" xml:id="sec.differentiable" about="#sec.differentiable" stex:srcref="differentiable.tex#textrange(from=1;0,to=12;13)">
+ <metadata xml:id="sec.differentiable.p1" about="#sec.differentiable.p1" stex:srcref="differentiable.tex#textrange(from=1;0,to=11;12)">
+ <dc:title stex:srcref="differentiable.tex#textrange(from=1;0,to=12;13)" xml:id="sec.differentiable.p1.p1" about="#sec.differentiable.p1.p1">
+ <p xml:id="sec.differentiable.p1.p1.p1" about="#sec.differentiable.p1.p1.p1" stex:srcref="differentiable.tex#textrange(from=1;0,to=12;13)">Differentiable Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xmlns:mcd="http://www.w3.org/ns/mathml-cd" xml:id="differentiable" about="#differentiable" stex:srcref="differentiable.tex#textrange(from=2;0,to=11;12)">
+ <imports from="../../../slides/extcds/omstd/arith1.omdoc#arith1"/>
+ <imports from="../../../slides/extcds/omstd/relation1.omdoc#relation1"/>
+ <imports from="./continuous.omdoc#continuous" xml:id="differentiable.p1" about="#differentiable.p1" stex:srcref="differentiable.tex#textrange(from=3;0,to=3;37)"/>
+ <symbol name="difffunctions" xml:id="difffunctions.sym" about="#difffunctions.sym" stex:srcref="differentiable.tex#textrange(from=4;1,to=4;48)"/>
+ <notation cd="differentiable" name="difffunctions">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="differentiable" cr="fun" name="difffunctions"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering>
+ <m:mrow>
+ <m:msup>
+ <m:mi mathvariant="script">C</m:mi>
+ <m:mn>1</m:mn>
+ </m:msup>
+ <m:mo>⁢</m:mo>
+ <m:mfenced open="(" close=")">
+ <m:mrow>
+ <render name="arg1"/>
+ <m:mo>,</m:mo>
+ <render name="arg2"/>
+ </m:mrow>
+ </m:mfenced>
+ </m:mrow>
+ </rendering>
+ </notation>
+ <symbol name="differentiable" xml:id="differentiable.def.sym" about="#differentiable.def.sym" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)"/>
+ <definition for="differentiable continuous" xml:id="differentiable.p4" about="#differentiable.p4" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)">
+ <CMP xml:id="differentiable.p4.p1" about="#differentiable.p4.p1" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)">
+ <p xml:id="differentiable.p4.p1.p1" about="#differentiable.p4.p1.p1" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)">
+A function <om:OMOBJ><om:OMA><om:OMS cd="functions" name="fun"/><om:OMV name="f"/><om:OMS cd="reals" name="RealNumbers"/><om:OMS cd="reals" name="RealNumbers"/></om:OMA></om:OMOBJ> is called <idx xml:id="differentiable.p4.p1.p1.p2" about="#differentiable.p4.p1.p1.p2" stex:srcref="differentiable.tex#textrange(from=6;4,to=7;80)"><idt><term cd="differentiable" name="differentiable" role="definiendum" xml:id="differentiable.p4.p1.p1.p2.p1" about="#differentiable.p4.p1.p1.p2.p1" stex:srcref="differentiable.tex#textrange(from=6;4,to=7;80)">differentiable</term></idt><ide index="default"><idp><phrase>differentiable</phrase></idp></ide></idx> at
+<om:OMOBJ><om:OMA><om:OMS cd="functions" name="inset"/><om:OMV name="x"/><om:OMS cd="reals" name="RealNumbers"/></om:OMA></om:OMOBJ>, iff for all <om:OMOBJ><om:OMA><om:OMS cd="relation1" name="gt"/><om:OMV name="&#x3F5;"/><om:OMI>0</om:OMI></om:OMA></om:OMOBJ> there is a <om:OMOBJ><om:OMA><om:OMS cd="relation1" name="gt"/><om:OMV name="&#x3B4;"/><om:OMI>0</om:OMI></om:OMA></om:OMOBJ>, such that
+<om:OMOBJ><om:OMA><om:OMS cd="relation1" name="lt"/><om:OMA><om:OMS cd="reals" name="rfrac"/><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="arith1" name="minus"/><om:OMA><om:OMS cd="arith1" name="times"/><om:OMV name="f"/><om:OMV name="x"/></om:OMA><om:OMA><om:OMS cd="arith1" name="times"/><om:OMV name="f"/><om:OMV name="y"/></om:OMA></om:OMA></om:OMA><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="arith1" name="minus"/><om:OMV name="x"/><om:OMV name="y"/></om:OMA></om:OMA></om:OMA><om:OMV name="&#x3F5;"/></om:OMA></om:OMOBJ> for all <om:OMOBJ><om:OMA><om:OMS cd="relation1" name="lt"/><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="arith1" name="minus"/><om:OMV name="x"/><om:OMV name="y"/></om:OMA></om:OMA><om:OMV name="&#x3B4;"/></om:OMA></om:OMOBJ>.
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ </omgroup>
+ <omgroup layout="sectioning" xml:id="concl" about="#concl" stex:srcref="paper.tex#textrange(from=118;0,to=121;13)">
+ <metadata xml:id="concl.p1" about="#concl.p1" stex:srcref="paper.tex#textrange(from=118;0,to=118;37)">
+ <dc:title stex:srcref="paper.tex#textrange(from=118;0,to=121;13)" xml:id="concl.p1.p1" about="#concl.p1.p1">
+ <p xml:id="concl.p1.p1.p1" about="#concl.p1.p1.p1" stex:srcref="paper.tex#textrange(from=118;0,to=121;13)">Conclusion</p>
+ </dc:title>
+ </metadata>
+ <omtext xml:id="concl.p2" about="#concl.p2" stex:srcref="paper.tex#textrange(from=118;0,to=121;13)">
+ <CMP xml:id="concl.p2.p1" about="#concl.p2.p1" stex:srcref="paper.tex#textrange(from=118;0,to=121;13)">
+ <p xml:id="concl.p2.p1.p1" about="#concl.p2.p1.p1" stex:srcref="paper.tex#textrange(from=118;0,to=121;13)">In this note we have given an example of standard mathematical markup and shown how a a
+<phrase xml:id="concl.p2.p1.p1.p1" about="#concl.p2.p1.p1.p1" stex:srcref="paper.tex#textrange(from=119;42,to=120;8)">sTeX</phrase> collection can be set up for automation.
+</p>
+ </CMP>
+ </omtext>
+ </omgroup>
+ <bibliography xmlns="http://dlmf.nist.gov/LaTeXML" files="kwarc" xml:id="bib"/>
+ <!--The data elements-->
+ <private xmlns:mcd="http://www.w3.org/ns/mathml-cd" xml:id="id35821218">
+ <data format="text"><![CDATA[\begin]]></data>
+ </private>
+ <private xmlns:mcd="http://www.w3.org/ns/mathml-cd" xml:id="id35821224">
+ <data format="text"><![CDATA[\end{document}]]></data>
+ </private>
+</omdoc>
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/paper.out b/Master/texmf-dist/doc/latex/stex/example/paper/paper.out
new file mode 100644
index 00000000000..7c039ea6d4d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/paper.out
@@ -0,0 +1,8 @@
+\BOOKMARK [1][-]{section.1}{Introduction}{}
+\BOOKMARK [2][-]{subsection.1.1}{The Setup}{section.1}
+\BOOKMARK [2][-]{subsection.1.2}{Formatting and OMDoc conversion}{section.1}
+\BOOKMARK [2][-]{subsection.1.3}{Makefile-based Automation}{section.1}
+\BOOKMARK [1][-]{section.2}{Mathematical Content}{}
+\BOOKMARK [2][-]{subsection.2.1}{Continuous Functions}{section.2}
+\BOOKMARK [2][-]{subsection.2.2}{Differentiable Functions}{section.2}
+\BOOKMARK [1][-]{section.3}{Conclusion}{}
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/paper.pdf b/Master/texmf-dist/doc/latex/stex/example/paper/paper.pdf
new file mode 100644
index 00000000000..36705f2e2ba
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/paper.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/paper.tex b/Master/texmf-dist/doc/latex/stex/example/paper/paper.tex
new file mode 100644
index 00000000000..2949019944d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/paper.tex
@@ -0,0 +1,132 @@
+\documentclass{omdoc}
+\usepackage{stex,amssymb}
+\usepackage{alltt}
+\usepackage{hyperref}
+\usepackage{listings}
+\def\omdoc{OMDoc}
+\def\latexml{LaTeXML}
+\defpath{backmods}{../background}
+%% defining the author metadata
+\DCMperson[id=miko,
+ affiliation={Jacobs University, Bremen},
+ url=http://kwarc.info/kohlhase]
+ {Michael Kohlhase}
+
+\begin{document}
+
+% metadata and title page
+\begin{DCmetadata}[maketitle]
+ \DCMcreators{miko}
+ \DCMrights{Copyright (c) 2009 Michael Kohlhase}
+ \DCMtitle{An example of semantic Markup in {\sTeX}}
+ \DCMabstract{In this note we give an example of semantic markup in {\sTeX}:
+ Continuous and differentiable functions are introduced using real numbers, sets and
+ functions as an assumed background.}
+\end{DCmetadata}
+
+\begin{omgroup}[id=intro]{Introduction}
+ We will show how to semantically mark up mathematics in the {\sTeX}
+ format~\cite{Kohlhase:ulsmf08} and how to convert it into
+ {\omdoc}~\cite{Kohlhase:OMDoc1.3}.
+
+ We have some mathematical material in {\sref{sec.math}} which will serve as example
+ content. In the rest of this section we will explain the setup of the example and
+ present an approach to automation of the {\omdoc} conversion via Unix Makefiles.
+ \begin{omgroup}{The Setup}
+ \begin{module}[id=setup]
+ \begin{definition}[display=flow]
+ The source of this note is contained in the file {\texttt{paper.tex}}. We call it
+ the {\defin{target}}, since formatting it with {\LaTeX} will generate the main
+ document. The content in {\sref{sec.contfuncs}} and {\sref{sec.differentiable}}
+ comes from included files {\texttt{continuous.tex}} and
+ {\texttt{differentiable.tex}}, we will call them {\defin{module}s}, since they may
+ be used (i.e. included) by other target documents as well.
+ \end{definition}
+ As the modules are built for inclusion into other documents, they are not
+ self-contained:
+ \begin{enumerate}
+ \item they do not contain a {\LaTeX} preamble and
+ \verb|\begin|/\verb|\end{document}|, and
+ \item they may depend on other modules, whose semantic macros they need to include,
+ \item to facilitate this a module file {\texttt{modf.tex}} comes with a ``semantic
+ macro short form'' {\texttt{modf.sms}} that can be included without generating
+ output in the PDF.
+ \end{enumerate}
+ this will have consequences for the automation. Concretely, the module on
+ differentiable functions in {\sref{sec.differentiable}} depends on that for continuous
+ functions in {\sref{sec.contfuncs}}. Both of them depend on modules for real numbers,
+ sets and functions that we do not want to cover in this note. \inlinedef{We assume that
+ they have already been marked up with the same methods as we describe here and are
+ accessible to us and call them {\twindef{background}{module}s}}. In our setup we
+ keep them in the subdirectory {\texttt{background}}.
+ \end{module}
+\end{omgroup}
+
+\begin{omgroup}{Formatting and {\omdoc} conversion}
+ To format an {\sTeX} document --- i.e. to produce a PDF file from the {\sTeX} marked-up
+ sources --- we only need to run the {\texttt{pdflatex}} program over the target document
+ --- assuming that all modules (regular or background) have semantic macro short forms.
+
+ To convert an {\sTeX} document to {\omdoc}, we need to run {\texttt{latexml}} over it,
+ post-process the result by {\texttt{latexmlpost}}, and finally massage away all remaining
+ {\latexml} islands with a stylesheet, see ~\cite{Kohlhase:ssmtl*} for details.
+\end{omgroup}
+
+\begin{omgroup}{Makefile-based Automation}
+ As the conversion to {\omdoc} is rather complex (the programs in the three steps take a
+ variety of options), we support an automation by Unix Makefiles. There are three main
+ {\texttt{make}} targets.
+\begin{description}
+ \item[{\texttt{make omdoc}}] will trigger the {\omdoc} transformation of the target
+ document.
+ \item[{\texttt{make mods}}] will trigger the {\omdoc} transformation of the modules.
+ \item[{\texttt{make pdf}}] will trigger the {\LaTeX} formatting the target
+ \item[{\texttt{make mpdf}}] will trigger the {\LaTeX} formatting the modules
+ \item[{\texttt{make sms}}] will trigger the re-generation of all semantic macro short
+ forms of modules (this is implicitly called in all the other {\texttt{make}} targets)
+ \end{description}
+ To use this, we need to set up a {\texttt{{Makefile}}} of the following form:
+
+ \lstset{columns=flexible,frame=lines,numbers=left,stepnumber=2,numberstyle=\tiny,basicstyle=\small}
+ \lstinputlisting[language=make]{Makefile}
+
+ The variable {\lstinline{STEXDIR}} has to be set to the main directory of the {\sTeX}
+ distribution. The variable {\lstinline{TARGET}} specifies the target document (all other
+ {\texttt{*.tex}} files that are not excluded in the {\lstinline{BUTFILES}} variables are
+ considered as modules). Here, the {\texttt{background}} directory for convenience. The
+ {\lstinline{MODSLIBDIR}} specifies the location of the prefix and postfix files
+ {\texttt{pre.tex}} and {\texttt{post.tex}} that will be prepended and appended to the
+ modules to make them into complete files {\TeX} files that can be converted. The last
+ three lines just include the Makefiles from the {\sTeX} distribution and configure the
+ default make target (\texttt{make all}) to be produce the pdf version
+
+ Note that in the directory {\texttt{background}} we have a very similar Makefile as
+ above. The only differences are that the variable {\lstinline{STEXDIR}} is adapted and
+ that the {\lstinline{BUTFILE}} variable is set to {\texttt{pre.tex}} and
+ {\texttt{post.tex}}, so that they are not converted. In the directory
+ {\texttt{background}} we have followed good practice by establishing a phony
+\end{omgroup}
+
+\end{omgroup}
+
+\begin{omgroup}[id=sec.math]{Mathematical Content}
+ We present some standard mathematical definitions, here from calculus.
+ \sinput{continuous}
+ \sinput{differentiable}
+\end{omgroup}
+
+\begin{omgroup}[id=concl]{Conclusion}
+ In this note we have given an example of standard mathematical markup and shown how a a
+ {\sTeX} collection can be set up for automation.
+\end{omgroup}
+\bibliographystyle{alpha}
+\bibliography{kwarc}
+\end{document}
+
+%%% Local Variables:
+%%% mode: LaTeX
+%%% TeX-master: t
+%%% End:
+
+% LocalWords: miko Makefiles tex contfuncs modf sms pdflatex latexml Makefile
+% LocalWords: latexmlpost omdoc STEXDIR BUTFILES DIRS
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/paper.tex.xml b/Master/texmf-dist/doc/latex/stex/example/paper/paper.tex.xml
new file mode 100644
index 00000000000..d6ff5faabd9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/paper.tex.xml
@@ -0,0 +1,423 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?latexml searchpaths=".,../../sty,../../rnc,../../rnc/omdoc,../../sty/modules,../../sty/statements,../../sty/sproof,../../sty/omtext,../../sty/omdoc,../../sty/sref,../../sty/presentation,../../sty/dcm,../../sty/reqdoc,../../sty/omd,../../sty/mikoslides,../../sty/problem,../../sty/assignment,../../sty/etc,/Users/kohlhase/stc/stex/example/background,../../sty,../../rnc,../../rnc/omdoc,../../sty/modules,../../sty/statements,../../sty/sproof,../../sty/omtext,../../sty/omdoc,../../sty/sref,../../sty/presentation,../../sty/dcm,../../sty/reqdoc,../../sty/omd,../../sty/mikoslides,../../sty/problem,../../sty/assignment,../../sty/etc"?>
+<?latexml class="omdoc"?>
+<?latexml package="stex,amssymb"?>
+<?latexml package="alltt"?>
+<?latexml package="hyperref"?>
+<?latexml package="listings"?>
+<!-- %% defining the author metadata -->
+<?latexml RelaxNGSchema="omdoc+ltxml"?>
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:omdoc="http://omdoc.org/ns" stex:srcref="paper.tex#textrange(from=15;1,to=15;17)" xml:id="paper.omdoc">
+ <!-- %metadata and title page -->
+ <metadata xml:id="paper.omdoc.p1" about="#paper.omdoc.p1" stex:srcref="paper.tex#textrange(from=18;0,to=25;16)">
+ <dc:creator xml:id="paper.omdoc.p1.p1" about="#paper.omdoc.p1.p1" stex:srcref="paper.tex#textrange(from=19;0,to=19;20)">
+ <p xml:id="paper.omdoc.p1.p1.p1" about="#paper.omdoc.p1.p1.p1" stex:srcref="paper.tex#textrange(from=19;0,to=19;20)">Michael Kohlhase</p>
+ </dc:creator>
+ <dc:rights xml:id="paper.omdoc.p1.p2" about="#paper.omdoc.p1.p2" stex:srcref="paper.tex#textrange(from=20;0,to=20;49)">
+ <p xml:id="paper.omdoc.p1.p2.p1" about="#paper.omdoc.p1.p2.p1" stex:srcref="paper.tex#textrange(from=20;0,to=20;49)">Copyright (c) 2009 Michael Kohlhase</p>
+ </dc:rights>
+ <dc:title xml:id="paper.omdoc.p1.p3" about="#paper.omdoc.p1.p3" stex:srcref="paper.tex#textrange(from=21;0,to=21;53)">
+ <p xml:id="paper.omdoc.p1.p3.p1" about="#paper.omdoc.p1.p3.p1" stex:srcref="paper.tex#textrange(from=21;0,to=21;53)">An example of semantic Markup in <phrase xml:id="paper.omdoc.p1.p3.p1.p1" about="#paper.omdoc.p1.p3.p1.p1" stex:srcref="paper.tex#textrange(from=21;0,to=21;53)">sTeX</phrase></p>
+ </dc:title>
+ <dc:description xml:id="paper.omdoc.p1.p4" about="#paper.omdoc.p1.p4" stex:srcref="paper.tex#textrange(from=24;0,to=24;40)">
+ <p xml:id="paper.omdoc.p1.p4.p1" about="#paper.omdoc.p1.p4.p1" stex:srcref="paper.tex#textrange(from=24;0,to=24;40)">In this note we give an example of semantic markup in <phrase xml:id="paper.omdoc.p1.p4.p1.p1" about="#paper.omdoc.p1.p4.p1.p1" stex:srcref="paper.tex#textrange(from=24;0,to=24;40)">sTeX</phrase>:
+Continuous and differentiable functions are introduced using real numbers, sets and
+functions as an assumed background.</p>
+ </dc:description>
+ <!-- %**** paper.tex Line 25 **** -->
+ </metadata>
+ <omgroup layout="sectioning" xml:id="intro" about="#intro" stex:srcref="paper.tex#textrange(from=27;0,to=110;13)">
+ <metadata xml:id="intro.p1" about="#intro.p1" stex:srcref="paper.tex#textrange(from=27;0,to=27;39)">
+ <dc:title stex:srcref="paper.tex#textrange(from=27;0,to=110;13)" xml:id="intro.p1.p1" about="#intro.p1.p1">
+ <p xml:id="intro.p1.p1.p1" about="#intro.p1.p1.p1" stex:srcref="paper.tex#textrange(from=27;0,to=110;13)">Introduction</p>
+ </dc:title>
+ </metadata>
+ <omtext xml:id="intro.p2" about="#intro.p2" stex:srcref="paper.tex#textrange(from=27;0,to=63;13)">
+ <CMP xml:id="intro.p2.p1" about="#intro.p2.p1" stex:srcref="paper.tex#textrange(from=27;0,to=63;13)">
+ <p xml:id="intro.p2.p1.p1" about="#intro.p2.p1.p1" stex:srcref="paper.tex#textrange(from=27;0,to=27;39)">We will show how to semantically mark up mathematics in the <phrase xml:id="intro.p2.p1.p1.p1" about="#intro.p2.p1.p1.p1" stex:srcref="paper.tex#textrange(from=27;1,to=28;68)">sTeX</phrase>
+format <cite xmlns="http://dlmf.nist.gov/LaTeXML">[<bibref bibrefs="kohlhase:ulsmf08" separator="," show="Number" yyseparator=","/>]</cite> and how to convert it into
+OMDoc <cite xmlns="http://dlmf.nist.gov/LaTeXML">[<bibref bibrefs="kohlhase:omdoc1.3" separator="," show="Number" yyseparator=","/>]</cite>.
+</p>
+ <p xml:id="intro.p2.p1.p2" about="#intro.p2.p1.p2" stex:srcref="paper.tex#textrange(from=27;0,to=63;13)">We have some mathematical material in Section <ref type="cite" xref="sec.math" xml:id="intro.p2.p1.p2.p1" about="#intro.p2.p1.p2.p1" stex:srcref="paper.tex#textrange(from=31;29,to=32;56)"/> which will serve as example
+content. In the rest of this section we will explain the setup of the example and
+present an approach to automation of the OMDoc conversion via Unix Makefiles.
+</p>
+ </CMP>
+ </omtext>
+ <omgroup layout="sectioning" xml:id="intro.p3" about="#intro.p3" stex:srcref="paper.tex#textrange(from=35;0,to=63;13)">
+ <metadata xml:id="intro.p3.p1" about="#intro.p3.p1" stex:srcref="paper.tex#textrange(from=35;0,to=62;13)">
+ <dc:title stex:srcref="paper.tex#textrange(from=35;0,to=63;13)" xml:id="intro.p3.p1.p1" about="#intro.p3.p1.p1">
+ <p xml:id="intro.p3.p1.p1.p1" about="#intro.p3.p1.p1.p1" stex:srcref="paper.tex#textrange(from=35;0,to=63;13)">The Setup</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="setup" about="#setup" stex:srcref="paper.tex#textrange(from=36;0,to=62;13)">
+ <symbol name="target" xml:id="target.def.sym" about="#target.def.sym" stex:srcref="paper.tex#textrange(from=37;0,to=44;20)"/>
+ <symbol name="module" xml:id="module.def.sym" about="#module.def.sym" stex:srcref="paper.tex#textrange(from=37;0,to=44;20)"/>
+ <definition for="target module" xml:id="setup.p3" about="#setup.p3" stex:srcref="paper.tex#textrange(from=37;0,to=44;20)">
+ <CMP xml:id="setup.p3.p1" about="#setup.p3.p1" stex:srcref="paper.tex#textrange(from=37;0,to=44;20)">
+ <p xml:id="setup.p3.p1.p1" about="#setup.p3.p1.p1" stex:srcref="paper.tex#textrange(from=37;0,to=44;20)">
+The source of this note is contained in the file <phrase class="code" xml:id="setup.p3.p1.p1.p1" about="#setup.p3.p1.p1.p1" stex:srcref="paper.tex#textrange(from=37;13,to=38;74)">paper.tex</phrase>. We call it
+the <idx xml:id="setup.p3.p1.p1.p2" about="#setup.p3.p1.p1.p2" stex:srcref="paper.tex#textrange(from=38;59,to=39;25)"><idt><term cd="setup" name="target" role="definiendum" xml:id="setup.p3.p1.p1.p2.p1" about="#setup.p3.p1.p1.p2.p1" stex:srcref="paper.tex#textrange(from=38;59,to=39;25)">target</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">target</text></idp></ide></idx>, since formatting it with LaTeX will generate the main
+document. The content in Section <ref type="cite" xref="sec.contfuncs" xml:id="setup.p3.p1.p1.p3" about="#setup.p3.p1.p1.p3" stex:srcref="paper.tex#textrange(from=39;33,to=40;52)"/> and Section <ref type="cite" xref="sec.differentiable" xml:id="setup.p3.p1.p1.p4" about="#setup.p3.p1.p1.p4" stex:srcref="paper.tex#textrange(from=39;1,to=40;84)"/>
+comes from included files <phrase class="code" xml:id="setup.p3.p1.p1.p5" about="#setup.p3.p1.p1.p5" stex:srcref="paper.tex#textrange(from=40;5,to=41;56)">continuous.tex</phrase> and
+<phrase class="code" xml:id="setup.p3.p1.p1.p6" about="#setup.p3.p1.p1.p6" stex:srcref="paper.tex#textrange(from=41;54,to=42;34)">differentiable.tex</phrase>, we will call them <idx xml:id="setup.p3.p1.p1.p7" about="#setup.p3.p1.p1.p7" stex:srcref="paper.tex#textrange(from=41;18,to=42;70)"><idt><term cd="setup" name="module" role="definiendum" xml:id="setup.p3.p1.p1.p7.p1" about="#setup.p3.p1.p1.p7.p1" stex:srcref="paper.tex#textrange(from=41;18,to=42;70)">module</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">module</text></idp></ide></idx>s, since they may
+be used (i.e. included) by other target documents as well.
+</p>
+ </CMP>
+ </definition>
+ <omtext xml:id="setup.p4" about="#setup.p4" stex:srcref="paper.tex#textrange(from=36;0,to=54;19)">
+ <CMP xml:id="setup.p4.p1" about="#setup.p4.p1" stex:srcref="paper.tex#textrange(from=36;0,to=54;19)">
+ <p xml:id="setup.p4.p1.p1" about="#setup.p4.p1.p1" stex:srcref="paper.tex#textrange(from=36;0,to=54;19)">As the modules are built for inclusion into other documents, they are not
+self-contained:
+</p>
+ </CMP>
+ </omtext>
+ <omgroup layout="enumerate" xml:id="I1" about="#I1" stex:srcref="paper.tex#textrange(from=47;0,to=54;19)">
+ <omtext xml:id="I1.p1" about="#I1.p1" stex:srcref="paper.tex#textrange(from=47;42,to=48;11)">
+ <CMP xml:id="I1.p1.p1" about="#I1.p1.p1" stex:srcref="paper.tex#textrange(from=47;42,to=48;11)">
+ <p xml:id="I1.p1.p1.p1" about="#I1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=47;42,to=48;11)">they do not contain a LaTeX preamble and
+<verbatim xmlns="http://dlmf.nist.gov/LaTeXML" font="typewriter">\begin</verbatim>/<verbatim xmlns="http://dlmf.nist.gov/LaTeXML" font="typewriter">\end{document}</verbatim>, and
+<!-- %**** paper.tex Line 50 **** --></p>
+ </CMP>
+ </omtext>
+ <omtext xml:id="I1.p2" about="#I1.p2" stex:srcref="paper.tex#textrange(from=49;76,to=50;11)">
+ <CMP xml:id="I1.p2.p1" about="#I1.p2.p1" stex:srcref="paper.tex#textrange(from=49;76,to=50;11)">
+ <p xml:id="I1.p2.p1.p1" about="#I1.p2.p1.p1" stex:srcref="paper.tex#textrange(from=49;76,to=50;11)">they may depend on other modules, whose semantic macros they need to include,
+</p>
+ </CMP>
+ </omtext>
+ <omtext xml:id="I1.p3" about="#I1.p3" stex:srcref="paper.tex#textrange(from=50;75,to=51;11)">
+ <CMP xml:id="I1.p3.p1" about="#I1.p3.p1" stex:srcref="paper.tex#textrange(from=50;75,to=51;11)">
+ <p xml:id="I1.p3.p1.p1" about="#I1.p3.p1.p1" stex:srcref="paper.tex#textrange(from=50;75,to=51;11)">to facilitate this a module file <phrase class="code" xml:id="I1.p3.p1.p1.p1" about="#I1.p3.p1.p1.p1" stex:srcref="paper.tex#textrange(from=50;25,to=51;61)">modf.tex</phrase> comes with a “semantic
+macro short form” <phrase class="code" xml:id="I1.p3.p1.p1.p2" about="#I1.p3.p1.p1.p2" stex:srcref="paper.tex#textrange(from=51;41,to=52;43)">modf.sms</phrase> that can be included without generating
+output in the PDF.
+</p>
+ </CMP>
+ </omtext>
+ </omgroup>
+ <symbol name="background-module" xml:id="background-module.def.sym"/>
+ <omtext xml:id="setup.p6" about="#setup.p6" stex:srcref="paper.tex#textrange(from=36;0,to=62;13)">
+ <CMP xml:id="setup.p6.p1" about="#setup.p6.p1" stex:srcref="paper.tex#textrange(from=36;0,to=62;13)">
+ <p xml:id="setup.p6.p1.p1" about="#setup.p6.p1.p1" stex:srcref="paper.tex#textrange(from=36;0,to=62;13)">this will have consequences for the automation. Concretely, the module on
+differentiable functions in Section <ref type="cite" xref="sec.differentiable" xml:id="setup.p6.p1.p1.p1" about="#setup.p6.p1.p1.p1" stex:srcref="paper.tex#textrange(from=55;32,to=56;58)"/> depends on that for continuous
+functions in Section <ref type="cite" xref="sec.contfuncs" xml:id="setup.p6.p1.p1.p2" about="#setup.p6.p1.p1.p2" stex:srcref="paper.tex#textrange(from=56;51,to=57;38)"/>. Both of them depend on modules for real numbers,
+sets and functions that we do not want to cover in this note. <phrase for="background-module" type="inlinedef" xml:id="setup.p6.p1.p1.p3" about="#setup.p6.p1.p1.p3" stex:srcref="paper.tex#textrange(from=59;17,to=60;69)">We assume that
+they have already been marked up with the same methods as we describe here and are
+accessible to us and call them <idx xml:id="setup.p6.p1.p1.p3.p1" about="#setup.p6.p1.p1.p3.p1" stex:srcref="paper.tex#textrange(from=59;17,to=60;69)"><idt><term cd="setup" name="background-module" role="definiendum" xml:id="setup.p6.p1.p1.p3.p1.p1" about="#setup.p6.p1.p1.p3.p1.p1" stex:srcref="paper.tex#textrange(from=59;17,to=60;69)">background module</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">background</text></idp><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">module</text></idp></ide></idx>s</phrase>. In our setup we
+keep them in the subdirectory <phrase class="code" xml:id="setup.p6.p1.p1.p4" about="#setup.p6.p1.p1.p4" stex:srcref="paper.tex#textrange(from=60;2,to=61;54)">background</phrase>.
+</p>
+ </CMP>
+ </omtext>
+ </theory>
+ </omgroup>
+ <omgroup layout="sectioning" xml:id="intro.p4" about="#intro.p4" stex:srcref="paper.tex#textrange(from=65;0,to=73;13)">
+ <metadata xml:id="intro.p4.p1" about="#intro.p4.p1" stex:srcref="paper.tex#textrange(from=65;0,to=65;51)">
+ <dc:title stex:srcref="paper.tex#textrange(from=65;0,to=73;13)" xml:id="intro.p4.p1.p1" about="#intro.p4.p1.p1">
+ <p xml:id="intro.p4.p1.p1.p1" about="#intro.p4.p1.p1.p1" stex:srcref="paper.tex#textrange(from=65;0,to=73;13)">Formatting and OMDoc conversion</p>
+ </dc:title>
+ </metadata>
+ <omtext xml:id="intro.p4.p2" about="#intro.p4.p2" stex:srcref="paper.tex#textrange(from=65;0,to=73;13)">
+ <CMP xml:id="intro.p4.p2.p1" about="#intro.p4.p2.p1" stex:srcref="paper.tex#textrange(from=65;0,to=73;13)">
+ <p xml:id="intro.p4.p2.p1.p1" about="#intro.p4.p2.p1.p1" stex:srcref="paper.tex#textrange(from=65;0,to=65;51)">To format an <phrase xml:id="intro.p4.p2.p1.p1.p1" about="#intro.p4.p2.p1.p1.p1" stex:srcref="paper.tex#textrange(from=65;68,to=66;21)">sTeX</phrase> document — i.e. to produce a PDF file from the <phrase xml:id="intro.p4.p2.p1.p1.p2" about="#intro.p4.p2.p1.p1.p2" stex:srcref="paper.tex#textrange(from=65;11,to=66;78)">sTeX</phrase> marked-up
+sources — we only need to run the <phrase class="code" xml:id="intro.p4.p2.p1.p1.p3" about="#intro.p4.p2.p1.p1.p3" stex:srcref="paper.tex#textrange(from=66;34,to=67;56)">pdflatex</phrase> program over the target document
+— assuming that all modules (regular or background) have semantic macro short forms.
+</p>
+ <p xml:id="intro.p4.p2.p1.p2" about="#intro.p4.p2.p1.p2" stex:srcref="paper.tex#textrange(from=65;0,to=73;13)">To convert an <phrase xml:id="intro.p4.p2.p1.p2.p1" about="#intro.p4.p2.p1.p2.p1" stex:srcref="paper.tex#textrange(from=69;66,to=70;22)">sTeX</phrase> document to OMDoc, we need to run <phrase class="code" xml:id="intro.p4.p2.p1.p2.p2" about="#intro.p4.p2.p1.p2.p2" stex:srcref="paper.tex#textrange(from=69;10,to=70;78)">latexml</phrase> over it,
+post-process the result by <phrase class="code" xml:id="intro.p4.p2.p1.p2.p3" about="#intro.p4.p2.p1.p2.p3" stex:srcref="paper.tex#textrange(from=70;41,to=71;50)">latexmlpost</phrase>, and finally massage away all remaining
+LaTeXML islands with a stylesheet, see  <cite xmlns="http://dlmf.nist.gov/LaTeXML">[<bibref bibrefs="kohlhase:ssmtl*" separator="," show="Number" yyseparator=","/>]</cite> for details.
+</p>
+ </CMP>
+ </omtext>
+ </omgroup>
+ <!-- %**** paper.tex Line 75 **** -->
+ <omgroup layout="sectioning" xml:id="intro.p5" about="#intro.p5" stex:srcref="paper.tex#textrange(from=75;0,to=108;13)">
+ <metadata xml:id="intro.p5.p1" about="#intro.p5.p1" stex:srcref="paper.tex#textrange(from=75;0,to=75;42)">
+ <dc:title stex:srcref="paper.tex#textrange(from=75;0,to=108;13)" xml:id="intro.p5.p1.p1" about="#intro.p5.p1.p1">
+ <p xml:id="intro.p5.p1.p1.p1" about="#intro.p5.p1.p1.p1" stex:srcref="paper.tex#textrange(from=75;0,to=108;13)">Makefile-based Automation</p>
+ </dc:title>
+ </metadata>
+ <omtext xml:id="intro.p5.p2" about="#intro.p5.p2" stex:srcref="paper.tex#textrange(from=75;0,to=87;19)">
+ <CMP xml:id="intro.p5.p2.p1" about="#intro.p5.p2.p1" stex:srcref="paper.tex#textrange(from=75;0,to=87;19)">
+ <p xml:id="intro.p5.p2.p1.p1" about="#intro.p5.p2.p1.p1" stex:srcref="paper.tex#textrange(from=75;0,to=87;19)">As the conversion to OMDoc is rather complex (the programs in the three steps take a
+variety of options), we support an automation by Unix Makefiles. There are three main
+<phrase class="code" xml:id="intro.p5.p2.p1.p1.p1" about="#intro.p5.p2.p1.p1.p1" stex:srcref="paper.tex#textrange(from=77;10,to=78;16)">make</phrase> targets.
+</p>
+ </CMP>
+ </omtext>
+ <omgroup layout="description" xml:id="I2" about="#I2" stex:srcref="paper.tex#textrange(from=79;0,to=87;19)">
+ <omtext xml:id="I2.p1" about="#I2.p1" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">
+ <metadata xml:id="I2.p1.p1" about="#I2.p1.p1" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">
+ <dc:title xml:id="I2.p1.p1.p1" about="#I2.p1.p1.p1" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">
+ <p xml:id="I2.p1.p1.p1.p1" about="#I2.p1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">
+ <phrase class="code" xml:id="I2.p1.p1.p1.p1.p1" about="#I2.p1.p1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">make omdoc</phrase>
+ </p>
+ </dc:title>
+ </metadata>
+ <CMP xml:id="I2.p1.p2" about="#I2.p1.p2" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">
+ <p xml:id="I2.p1.p2.p1" about="#I2.p1.p2.p1" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">will trigger the OMDoc transformation of the target
+document.
+</p>
+ </CMP>
+ </omtext>
+ <omtext xml:id="I2.p2" about="#I2.p2" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">
+ <metadata xml:id="I2.p2.p1" about="#I2.p2.p1" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">
+ <dc:title xml:id="I2.p2.p1.p1" about="#I2.p2.p1.p1" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">
+ <p xml:id="I2.p2.p1.p1.p1" about="#I2.p2.p1.p1.p1" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">
+ <phrase class="code" xml:id="I2.p2.p1.p1.p1.p1" about="#I2.p2.p1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">make mods</phrase>
+ </p>
+ </dc:title>
+ </metadata>
+ <CMP xml:id="I2.p2.p2" about="#I2.p2.p2" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">
+ <p xml:id="I2.p2.p2.p1" about="#I2.p2.p2.p1" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">will trigger the OMDoc transformation of the modules.
+</p>
+ </CMP>
+ </omtext>
+ <omtext xml:id="I2.p3" about="#I2.p3" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">
+ <metadata xml:id="I2.p3.p1" about="#I2.p3.p1" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">
+ <dc:title xml:id="I2.p3.p1.p1" about="#I2.p3.p1.p1" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">
+ <p xml:id="I2.p3.p1.p1.p1" about="#I2.p3.p1.p1.p1" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">
+ <phrase class="code" xml:id="I2.p3.p1.p1.p1.p1" about="#I2.p3.p1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">make pdf</phrase>
+ </p>
+ </dc:title>
+ </metadata>
+ <CMP xml:id="I2.p3.p2" about="#I2.p3.p2" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">
+ <p xml:id="I2.p3.p2.p1" about="#I2.p3.p2.p1" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">will trigger the LaTeX formatting the target
+</p>
+ </CMP>
+ </omtext>
+ <omtext xml:id="I2.p4" about="#I2.p4" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">
+ <metadata xml:id="I2.p4.p1" about="#I2.p4.p1" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">
+ <dc:title xml:id="I2.p4.p1.p1" about="#I2.p4.p1.p1" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">
+ <p xml:id="I2.p4.p1.p1.p1" about="#I2.p4.p1.p1.p1" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">
+ <phrase class="code" xml:id="I2.p4.p1.p1.p1.p1" about="#I2.p4.p1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">make mpdf</phrase>
+ </p>
+ </dc:title>
+ </metadata>
+ <CMP xml:id="I2.p4.p2" about="#I2.p4.p2" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">
+ <p xml:id="I2.p4.p2.p1" about="#I2.p4.p2.p1" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">will trigger the LaTeX formatting the modules
+</p>
+ </CMP>
+ </omtext>
+ <omtext xml:id="I2.p5" about="#I2.p5" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">
+ <metadata xml:id="I2.p5.p1" about="#I2.p5.p1" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">
+ <dc:title xml:id="I2.p5.p1.p1" about="#I2.p5.p1.p1" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">
+ <p xml:id="I2.p5.p1.p1.p1" about="#I2.p5.p1.p1.p1" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">
+ <phrase class="code" xml:id="I2.p5.p1.p1.p1.p1" about="#I2.p5.p1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">make sms</phrase>
+ </p>
+ </dc:title>
+ </metadata>
+ <CMP xml:id="I2.p5.p2" about="#I2.p5.p2" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">
+ <p xml:id="I2.p5.p2.p1" about="#I2.p5.p2.p1" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">will trigger the re-generation of all semantic macro short
+forms of modules (this is implicitly called in all the other <phrase class="code" xml:id="I2.p5.p2.p1.p1" about="#I2.p5.p2.p1.p1" stex:srcref="paper.tex#textrange(from=85;10,to=86;79)">make</phrase> targets)
+</p>
+ </CMP>
+ </omtext>
+ </omgroup>
+ <omtext xml:id="intro.p5.p4" about="#intro.p5.p4" stex:srcref="paper.tex#textrange(from=75;0,to=108;13)">
+ <CMP xml:id="intro.p5.p4.p1" about="#intro.p5.p4.p1" stex:srcref="paper.tex#textrange(from=75;0,to=108;13)">
+ <p xml:id="intro.p5.p4.p1.p1" about="#intro.p5.p4.p1.p1" stex:srcref="paper.tex#textrange(from=75;0,to=75;42)">To use this, we need to set up a <phrase class="code" xml:id="intro.p5.p4.p1.p1.p1" about="#intro.p5.p4.p1.p1.p1" stex:srcref="paper.tex#textrange(from=87;24,to=88;55)">Makefile</phrase> of the following form:
+</p>
+ <listingblock xmlns="http://dlmf.nist.gov/LaTeXML" class="language_make" xml:id="LSTx1">
+ <tabular xml:id="LSTx1.p1" about="#LSTx1.p1">
+ <tr xml:id="LSTx1.p1.p1" about="#LSTx1.p1.p1">
+ <td class="linenumber" xml:id="LSTx1.p1.p1.p1" about="#LSTx1.p1.p1.p1"></td>
+ <td xml:id="LSTx1.p1.p1.p2" about="#LSTx1.p1.p1.p2">
+ <text class="lstline">STEXDIR<text class="lstspace"> </text>=<text class="lstspace"> </text>../..</text>
+ </td>
+ </tr>
+ <tr xml:id="LSTx1.p1.p2" about="#LSTx1.p1.p2">
+ <td class="linenumber" xml:id="LSTx1.p1.p2.p1" about="#LSTx1.p1.p2.p1">2</td>
+ <td xml:id="LSTx1.p1.p2.p2" about="#LSTx1.p1.p2.p2">
+ <text class="lstline">TARGET<text class="lstspace"> </text>=<text class="lstspace"> </text>paper.tex</text>
+ </td>
+ </tr>
+ <tr xml:id="LSTx1.p1.p3" about="#LSTx1.p1.p3">
+ <td class="linenumber" xml:id="LSTx1.p1.p3.p1" about="#LSTx1.p1.p3.p1"></td>
+ <td xml:id="LSTx1.p1.p3.p2" about="#LSTx1.p1.p3.p2">
+ <text class="lstline">MODSLIBDIR<text class="lstspace"> </text>=<text class="lstspace"> </text>../background</text>
+ </td>
+ </tr>
+ <tr xml:id="LSTx1.p1.p4" about="#LSTx1.p1.p4">
+ <td class="linenumber" xml:id="LSTx1.p1.p4.p1" about="#LSTx1.p1.p4.p1">4</td>
+ <td xml:id="LSTx1.p1.p4.p2" about="#LSTx1.p1.p4.p2">
+ <text class="lstline"/>
+ </td>
+ </tr>
+ <tr xml:id="LSTx1.p1.p5" about="#LSTx1.p1.p5">
+ <td class="linenumber" xml:id="LSTx1.p1.p5.p1" about="#LSTx1.p1.p5.p1"></td>
+ <td xml:id="LSTx1.p1.p5.p2" about="#LSTx1.p1.p5.p2">
+ <text class="lstline">include<text class="lstspace"> </text>$(STEXDIR)/make/Makefile.vars</text>
+ </td>
+ </tr>
+ <tr xml:id="LSTx1.p1.p6" about="#LSTx1.p1.p6">
+ <td class="linenumber" xml:id="LSTx1.p1.p6.p1" about="#LSTx1.p1.p6.p1">6</td>
+ <td xml:id="LSTx1.p1.p6.p2" about="#LSTx1.p1.p6.p2">
+ <text class="lstline">all:<text class="lstspace"> </text>omdoc<text class="lstspace"> </text>mods<text class="lstspace"> </text>pdf</text>
+ </td>
+ </tr>
+ <tr xml:id="LSTx1.p1.p7" about="#LSTx1.p1.p7">
+ <td class="linenumber" xml:id="LSTx1.p1.p7.p1" about="#LSTx1.p1.p7.p1"></td>
+ <td xml:id="LSTx1.p1.p7.p2" about="#LSTx1.p1.p7.p2">
+ <text class="lstline">include<text class="lstspace"> </text>$(STEXDIR)/make/Makefile.in</text>
+ </td>
+ </tr>
+ </tabular>
+ </listingblock>
+ <p xml:id="intro.p5.p4.p1.p3" about="#intro.p5.p4.p1.p3" stex:srcref="paper.tex#textrange(from=75;0,to=75;42)">The variable <text xmlns="http://dlmf.nist.gov/LaTeXML" class="listing ">STEXDIR</text> has to be set to the main directory of the <phrase xml:id="intro.p5.p4.p1.p3.p1" about="#intro.p5.p4.p1.p3.p1" stex:srcref="paper.tex#textrange(from=92;1,to=93;86)">sTeX</phrase>
+distribution. The variable <text xmlns="http://dlmf.nist.gov/LaTeXML" class="listing ">TARGET</text> specifies the target document (all other
+<phrase class="code" xml:id="intro.p5.p4.p1.p3.p2" about="#intro.p5.p4.p1.p3.p2" stex:srcref="paper.tex#textrange(from=94;73,to=95;17)">*.tex</phrase> files that are not excluded in the <text xmlns="http://dlmf.nist.gov/LaTeXML" class="listing ">BUTFILES</text> variables are
+considered as modules). Here, the <phrase class="code" xml:id="intro.p5.p4.p1.p3.p3" about="#intro.p5.p4.p1.p3.p3" stex:srcref="paper.tex#textrange(from=95;32,to=96;56)">background</phrase> directory for convenience. The
+<text xmlns="http://dlmf.nist.gov/LaTeXML" class="listing ">MODSLIBDIR</text> specifies the location of the prefix and postfix files
+<phrase class="code" xml:id="intro.p5.p4.p1.p3.p4" about="#intro.p5.p4.p1.p3.p4" stex:srcref="paper.tex#textrange(from=97;68,to=98;19)">pre.tex</phrase> and <phrase class="code" xml:id="intro.p5.p4.p1.p3.p5" about="#intro.p5.p4.p1.p3.p5" stex:srcref="paper.tex#textrange(from=97;44,to=98;43)">post.tex</phrase> that will be prepended and appended to the
+modules to make them into complete files TeX files that can be converted. The last
+<!-- %**** paper.tex Line 100 **** -->three lines just include the Makefiles from the <phrase xml:id="intro.p5.p4.p1.p3.p6" about="#intro.p5.p4.p1.p3.p6" stex:srcref="paper.tex#textrange(from=99;32,to=100;56)">sTeX</phrase> distribution and configure the
+default make target (<phrase class="code" xml:id="intro.p5.p4.p1.p3.p7" about="#intro.p5.p4.p1.p3.p7" stex:srcref="paper.tex#textrange(from=100;31,to=101;40)">make all</phrase>) to be produce the pdf version
+</p>
+ <p xml:id="intro.p5.p4.p1.p4" about="#intro.p5.p4.p1.p4" stex:srcref="paper.tex#textrange(from=75;0,to=108;13)">Note that in the directory <phrase class="code" xml:id="intro.p5.p4.p1.p4.p1" about="#intro.p5.p4.p1.p4.p1" stex:srcref="paper.tex#textrange(from=102;36,to=103;49)">background</phrase> we have a very similar Makefile as
+above. The only differences are that the variable <text xmlns="http://dlmf.nist.gov/LaTeXML" class="listing ">STEXDIR</text> is adapted and
+that the <text xmlns="http://dlmf.nist.gov/LaTeXML" class="listing ">BUTFILE</text> variable is set to <phrase class="code" xml:id="intro.p5.p4.p1.p4.p2" about="#intro.p5.p4.p1.p4.p2" stex:srcref="paper.tex#textrange(from=104;5,to=105;69)">pre.tex</phrase> and
+<phrase class="code" xml:id="intro.p5.p4.p1.p4.p3" about="#intro.p5.p4.p1.p4.p3" stex:srcref="paper.tex#textrange(from=105;51,to=106;20)">post.tex</phrase>, so that they are not converted. In the directory
+<phrase class="code" xml:id="intro.p5.p4.p1.p4.p4" about="#intro.p5.p4.p1.p4.p4" stex:srcref="paper.tex#textrange(from=106;56,to=107;22)">background</phrase> we have followed good practice by establishing a phony
+</p>
+ </CMP>
+ </omtext>
+ </omgroup>
+ </omgroup>
+ <omgroup layout="sectioning" xml:id="sec.math" about="#sec.math" stex:srcref="paper.tex#textrange(from=112;0,to=116;13)">
+ <metadata xml:id="sec.math.p1" about="#sec.math.p1" stex:srcref="paper.tex#textrange(from=112;0,to=112;50)">
+ <dc:title stex:srcref="paper.tex#textrange(from=112;0,to=116;13)" xml:id="sec.math.p1.p1" about="#sec.math.p1.p1">
+ <p xml:id="sec.math.p1.p1.p1" about="#sec.math.p1.p1.p1" stex:srcref="paper.tex#textrange(from=112;0,to=116;13)">Mathematical Content</p>
+ </dc:title>
+ </metadata>
+ <omtext xml:id="sec.math.p2" about="#sec.math.p2" stex:srcref="paper.tex#textrange(from=112;0,to=13;13)">
+ <CMP xml:id="sec.math.p2.p1" about="#sec.math.p2.p1" stex:srcref="paper.tex#textrange(from=112;0,to=13;13)">
+ <p xml:id="sec.math.p2.p1.p1" about="#sec.math.p2.p1.p1" stex:srcref="paper.tex#textrange(from=112;0,to=13;13)">We present some standard mathematical definitions, here from calculus.
+</p>
+ </CMP>
+ </omtext>
+ <omgroup layout="sectioning" xml:id="sec.contfuncs" about="#sec.contfuncs" stex:srcref="continuous.tex#textrange(from=1;0,to=13;13)">
+ <metadata xml:id="sec.contfuncs.p1" about="#sec.contfuncs.p1" stex:srcref="continuous.tex#textrange(from=1;0,to=12;12)">
+ <dc:title stex:srcref="continuous.tex#textrange(from=1;0,to=13;13)" xml:id="sec.contfuncs.p1.p1" about="#sec.contfuncs.p1.p1">
+ <p xml:id="sec.contfuncs.p1.p1.p1" about="#sec.contfuncs.p1.p1.p1" stex:srcref="continuous.tex#textrange(from=1;0,to=13;13)">Continuous Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="continuous" about="#continuous" stex:srcref="continuous.tex#textrange(from=2;0,to=12;12)">
+ <imports from="../background/functions.omdoc#functions" xml:id="continuous.p1" about="#continuous.p1" stex:srcref="continuous.tex#textrange(from=3;0,to=3;46)"/>
+ <imports from="../background/reals.omdoc#reals" xml:id="continuous.p2" about="#continuous.p2" stex:srcref="continuous.tex#textrange(from=4;0,to=4;38)"/>
+ <symbol name="continuousfunctions" xml:id="continuousfunctions.sym" about="#continuousfunctions.sym" stex:srcref="continuous.tex#textrange(from=5;1,to=5;54)"/>
+ <notation cd="continuous" name="continuousfunctions">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="continuous" cr="fun" name="continuousfunctions"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" xml:id="continuous.m1" text="C ^ 0 * open-interval@(arg:1, arg:2)">
+ <XMath>
+ <XMApp>
+ <XMTok meaning="times" role="MULOP">⁢</XMTok>
+ <XMApp>
+ <XMTok role="SUPERSCRIPTOP" scriptpos="post6"/>
+ <XMTok role="UNKNOWN" possibleFunction="yes" font="caligraphic">C</XMTok>
+ <XMTok meaning="0" role="NUMBER">0</XMTok>
+ </XMApp>
+ <XMApp>
+ <XMTok meaning="open-interval" role="FENCED" argclose=")" argopen="(" separators=","/>
+ <XMTok role="ID">arg:1</XMTok>
+ <XMTok role="ID">arg:2</XMTok>
+ </XMApp>
+ </XMApp>
+ </XMath>
+ </Math>
+ </rendering>
+ </notation>
+ <symbol name="continuous" xml:id="continuous.def.sym" about="#continuous.def.sym" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)"/>
+ <definition for="continuous" xml:id="continuous.p5" about="#continuous.p5" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)">
+ <CMP xml:id="continuous.p5.p1" about="#continuous.p5.p1" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)">
+ <p xml:id="continuous.p5.p1.p1" about="#continuous.p5.p1.p1" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)">
+A function <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\fun{f}{\RealNumbers}{\RealNumbers}" xml:id="continuous.p5.p1.p1.m1" text="fun@(f, RealNumbers, RealNumbers)"><XMath><XMApp><XMTok meaning="fun" name="fun" omcd="functions"/><XMTok role="UNKNOWN" font="italic">f</XMTok><XMTok meaning="RealNumbers" name="RealNumbers" omcd="reals"/><XMTok meaning="RealNumbers" name="RealNumbers" omcd="reals"/></XMApp></XMath></Math> is called <idx xml:id="continuous.p5.p1.p1.p2" about="#continuous.p5.p1.p1.p2" stex:srcref="continuous.tex#textrange(from=7;4,to=8;76)"><idt><term cd="continuous" name="continuous" role="definiendum" xml:id="continuous.p5.p1.p1.p2.p1" about="#continuous.p5.p1.p1.p2.p1" stex:srcref="continuous.tex#textrange(from=7;4,to=8;76)">continuous</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">continuous</text></idp></ide></idx> at
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\inset{x}{\RealNumbers}" xml:id="continuous.p5.p1.p1.m2" text="inset@(x, RealNumbers)"><XMath><XMApp><XMTok meaning="inset" name="inset" omcd="functions"/><XMTok role="UNKNOWN" font="italic">x</XMTok><XMTok meaning="RealNumbers" name="RealNumbers" omcd="reals"/></XMApp></XMath></Math>, iff for all <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\epsilon&gt;0" xml:id="continuous.p5.p1.p1.m3" text="epsilon &gt; 0"><XMath><XMApp><XMTok meaning="greater-than" role="RELOP">&gt;</XMTok><XMTok name="epsilon" role="UNKNOWN" font="italic">ϵ</XMTok><XMTok meaning="0" role="NUMBER">0</XMTok></XMApp></XMath></Math> there is a <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\delta&gt;0" xml:id="continuous.p5.p1.p1.m4" text="delta &gt; 0"><XMath><XMApp><XMTok meaning="greater-than" role="RELOP">&gt;</XMTok><XMTok name="delta" role="UNKNOWN" font="italic">δ</XMTok><XMTok meaning="0" role="NUMBER">0</XMTok></XMApp></XMath></Math>, such that
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\absval{f(x)-f(y)}&lt;\epsilon" xml:id="continuous.p5.p1.p1.m5" text="absval@(f * x - f * y) less epsilon"><XMath><XMApp><XMTok meaning="less-than" role="RELOP">&lt;</XMTok><XMApp><XMTok meaning="absval" name="absval" omcd="reals"/><XMApp><XMTok meaning="minus" role="ADDOP">-</XMTok><XMApp><XMTok meaning="times" role="MULOP">⁢</XMTok><XMTok role="UNKNOWN" possibleFunction="yes" font="italic">f</XMTok><XMTok role="UNKNOWN" open="(" close=")" font="italic">x</XMTok></XMApp><XMApp><XMTok meaning="times" role="MULOP">⁢</XMTok><XMTok role="UNKNOWN" possibleFunction="yes" font="italic">f</XMTok><XMTok role="UNKNOWN" open="(" close=")" font="italic">y</XMTok></XMApp></XMApp></XMApp><XMTok name="epsilon" role="UNKNOWN" font="italic">ϵ</XMTok></XMApp></XMath></Math> for all <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\absval{x-y}&lt;\delta" xml:id="continuous.p5.p1.p1.m6" text="absval@(x - y) less delta"><XMath><XMApp><XMTok meaning="less-than" role="RELOP">&lt;</XMTok><XMApp><XMTok meaning="absval" name="absval" omcd="reals"/><XMApp><XMTok meaning="minus" role="ADDOP">-</XMTok><XMTok role="UNKNOWN" font="italic">x</XMTok><XMTok role="UNKNOWN" font="italic">y</XMTok></XMApp></XMApp><XMTok name="delta" role="UNKNOWN" font="italic">δ</XMTok></XMApp></XMath></Math>
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!-- %%% Local Variables:
+ %%% mode: LaTeX
+ %%% TeX-master: "paper"
+ %%% End:-->
+ <omgroup layout="sectioning" xml:id="sec.differentiable" about="#sec.differentiable" stex:srcref="differentiable.tex#textrange(from=1;0,to=12;13)">
+ <metadata xml:id="sec.differentiable.p1" about="#sec.differentiable.p1" stex:srcref="differentiable.tex#textrange(from=1;0,to=11;12)">
+ <dc:title stex:srcref="differentiable.tex#textrange(from=1;0,to=12;13)" xml:id="sec.differentiable.p1.p1" about="#sec.differentiable.p1.p1">
+ <p xml:id="sec.differentiable.p1.p1.p1" about="#sec.differentiable.p1.p1.p1" stex:srcref="differentiable.tex#textrange(from=1;0,to=12;13)">Differentiable Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="differentiable" about="#differentiable" stex:srcref="differentiable.tex#textrange(from=2;0,to=11;12)">
+ <imports from="./continuous.omdoc#continuous" xml:id="differentiable.p1" about="#differentiable.p1" stex:srcref="differentiable.tex#textrange(from=3;0,to=3;37)"/>
+ <symbol name="difffunctions" xml:id="difffunctions.sym" about="#difffunctions.sym" stex:srcref="differentiable.tex#textrange(from=4;1,to=4;48)"/>
+ <notation cd="differentiable" name="difffunctions">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="differentiable" cr="fun" name="difffunctions"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" xml:id="differentiable.m1" text="C ^ 1 * open-interval@(arg:1, arg:2)">
+ <XMath>
+ <XMApp>
+ <XMTok meaning="times" role="MULOP">⁢</XMTok>
+ <XMApp>
+ <XMTok role="SUPERSCRIPTOP" scriptpos="post6"/>
+ <XMTok role="UNKNOWN" possibleFunction="yes" font="caligraphic">C</XMTok>
+ <XMTok meaning="1" role="NUMBER">1</XMTok>
+ </XMApp>
+ <XMApp>
+ <XMTok meaning="open-interval" role="FENCED" argclose=")" argopen="(" separators=","/>
+ <XMTok role="ID">arg:1</XMTok>
+ <XMTok role="ID">arg:2</XMTok>
+ </XMApp>
+ </XMApp>
+ </XMath>
+ </Math>
+ </rendering>
+ </notation>
+ <symbol name="differentiable" xml:id="differentiable.def.sym" about="#differentiable.def.sym" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)"/>
+ <definition for="differentiable continuous" xml:id="differentiable.p4" about="#differentiable.p4" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)">
+ <CMP xml:id="differentiable.p4.p1" about="#differentiable.p4.p1" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)">
+ <p xml:id="differentiable.p4.p1.p1" about="#differentiable.p4.p1.p1" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)">
+A function <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\fun{f}{\RealNumbers}{\RealNumbers}" xml:id="differentiable.p4.p1.p1.m1" text="fun@(f, RealNumbers, RealNumbers)"><XMath><XMApp><XMTok meaning="fun" name="fun" omcd="functions"/><XMTok role="UNKNOWN" font="italic">f</XMTok><XMTok meaning="RealNumbers" name="RealNumbers" omcd="reals"/><XMTok meaning="RealNumbers" name="RealNumbers" omcd="reals"/></XMApp></XMath></Math> is called <idx xml:id="differentiable.p4.p1.p1.p2" about="#differentiable.p4.p1.p1.p2" stex:srcref="differentiable.tex#textrange(from=6;4,to=7;80)"><idt><term cd="differentiable" name="differentiable" role="definiendum" xml:id="differentiable.p4.p1.p1.p2.p1" about="#differentiable.p4.p1.p1.p2.p1" stex:srcref="differentiable.tex#textrange(from=6;4,to=7;80)">differentiable</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">differentiable</text></idp></ide></idx> at
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\inset{x}{\RealNumbers}" xml:id="differentiable.p4.p1.p1.m2" text="inset@(x, RealNumbers)"><XMath><XMApp><XMTok meaning="inset" name="inset" omcd="functions"/><XMTok role="UNKNOWN" font="italic">x</XMTok><XMTok meaning="RealNumbers" name="RealNumbers" omcd="reals"/></XMApp></XMath></Math>, iff for all <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\epsilon&gt;0" xml:id="differentiable.p4.p1.p1.m3" text="epsilon &gt; 0"><XMath><XMApp><XMTok meaning="greater-than" role="RELOP">&gt;</XMTok><XMTok name="epsilon" role="UNKNOWN" font="italic">ϵ</XMTok><XMTok meaning="0" role="NUMBER">0</XMTok></XMApp></XMath></Math> there is a <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\delta&gt;0" xml:id="differentiable.p4.p1.p1.m4" text="delta &gt; 0"><XMath><XMApp><XMTok meaning="greater-than" role="RELOP">&gt;</XMTok><XMTok name="delta" role="UNKNOWN" font="italic">δ</XMTok><XMTok meaning="0" role="NUMBER">0</XMTok></XMApp></XMath></Math>, such that
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\rfrac{\absval{f(x)-f(y)}}{\absval{x-y}}&lt;\epsilon" xml:id="differentiable.p4.p1.p1.m5" text="rfrac@(absval@(f * x - f * y), absval@(x - y)) less epsilon"><XMath><XMApp><XMTok meaning="less-than" role="RELOP">&lt;</XMTok><XMApp><XMTok meaning="rfrac" name="rfrac" omcd="reals"/><XMApp><XMTok meaning="absval" name="absval" omcd="reals"/><XMApp><XMTok meaning="minus" role="ADDOP">-</XMTok><XMApp><XMTok meaning="times" role="MULOP">⁢</XMTok><XMTok role="UNKNOWN" possibleFunction="yes" font="italic">f</XMTok><XMTok role="UNKNOWN" open="(" close=")" font="italic">x</XMTok></XMApp><XMApp><XMTok meaning="times" role="MULOP">⁢</XMTok><XMTok role="UNKNOWN" possibleFunction="yes" font="italic">f</XMTok><XMTok role="UNKNOWN" open="(" close=")" font="italic">y</XMTok></XMApp></XMApp></XMApp><XMApp><XMTok meaning="absval" name="absval" omcd="reals"/><XMApp><XMTok meaning="minus" role="ADDOP">-</XMTok><XMTok role="UNKNOWN" font="italic">x</XMTok><XMTok role="UNKNOWN" font="italic">y</XMTok></XMApp></XMApp></XMApp><XMTok name="epsilon" role="UNKNOWN" font="italic">ϵ</XMTok></XMApp></XMath></Math> for all <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\absval{x-y}&lt;\delta" xml:id="differentiable.p4.p1.p1.m6" text="absval@(x - y) less delta"><XMath><XMApp><XMTok meaning="less-than" role="RELOP">&lt;</XMTok><XMApp><XMTok meaning="absval" name="absval" omcd="reals"/><XMApp><XMTok meaning="minus" role="ADDOP">-</XMTok><XMTok role="UNKNOWN" font="italic">x</XMTok><XMTok role="UNKNOWN" font="italic">y</XMTok></XMApp></XMApp><XMTok name="delta" role="UNKNOWN" font="italic">δ</XMTok></XMApp></XMath></Math>.
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!-- %%% Local Variables:
+ %%% mode: LaTeX
+ %%% TeX-master: "paper"
+ %%% End:-->
+ </omgroup>
+ <omgroup layout="sectioning" xml:id="concl" about="#concl" stex:srcref="paper.tex#textrange(from=118;0,to=121;13)">
+ <metadata xml:id="concl.p1" about="#concl.p1" stex:srcref="paper.tex#textrange(from=118;0,to=118;37)">
+ <dc:title stex:srcref="paper.tex#textrange(from=118;0,to=121;13)" xml:id="concl.p1.p1" about="#concl.p1.p1">
+ <p xml:id="concl.p1.p1.p1" about="#concl.p1.p1.p1" stex:srcref="paper.tex#textrange(from=118;0,to=121;13)">Conclusion</p>
+ </dc:title>
+ </metadata>
+ <omtext xml:id="concl.p2" about="#concl.p2" stex:srcref="paper.tex#textrange(from=118;0,to=121;13)">
+ <CMP xml:id="concl.p2.p1" about="#concl.p2.p1" stex:srcref="paper.tex#textrange(from=118;0,to=121;13)">
+ <p xml:id="concl.p2.p1.p1" about="#concl.p2.p1.p1" stex:srcref="paper.tex#textrange(from=118;0,to=121;13)">In this note we have given an example of standard mathematical markup and shown how a a
+<phrase xml:id="concl.p2.p1.p1.p1" about="#concl.p2.p1.p1.p1" stex:srcref="paper.tex#textrange(from=119;42,to=120;8)">sTeX</phrase> collection can be set up for automation.
+</p>
+ </CMP>
+ </omtext>
+ </omgroup>
+ <bibliography xmlns="http://dlmf.nist.gov/LaTeXML" files="kwarc" xml:id="bib">
+ <title>References</title>
+ </bibliography>
+</omdoc>
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/paper.tex.xml.log b/Master/texmf-dist/doc/latex/stex/example/paper/paper.tex.xml.log
new file mode 100644
index 00000000000..c1af622d49a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/paper.tex.xml.log
@@ -0,0 +1,146 @@
+
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/TeX.pool.ltxml... 0.16 sec)
+
+(Digesting /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/example/paper/paper...
+(Processing paper.tex...
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/LaTeX.pool.ltxml... 0.13 sec)
+(Loading ../../sty/omdoc/omdoc.cls.ltxml...
+Warning:perl:warn Subroutine xmlBase redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.cls.ltxml line 33.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.cls.ltxml line 33
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.cls.ltxml line 33
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/article.cls.ltxml... 0.02 sec)
+(Loading ../../sty/sref/sref.sty.ltxml...
+(Loading ../../sty/omd/omd.sty.ltxml... 0.00 sec) 0.03 sec)
+(Loading ../../sty/omdoc/omdoc.sty.ltxml...
+Warning:perl:warn Subroutine omdocColorMacro redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.sty.ltxml line 90.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.sty.ltxml line 90
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omdoc/omdoc.sty.ltxml line 90
+(Loading ../../sty/omtext/omtext.sty.ltxml...
+Warning:perl:warn Subroutine useCMPItemizations redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 30.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 30
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 30
+Warning:perl:warn Subroutine DefCMPEnvironment redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 58.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 58
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 58
+Warning:perl:warn Subroutine DefCMPConstructor redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 65.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 65
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 65
+Warning:perl:warn Subroutine numberIt redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 218.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 218
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 218
+Warning:perl:warn Subroutine locateIt redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 233.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 233
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/omtext/omtext.sty.ltxml line 233 0.04 sec) 0.08 sec) 0.21 sec)
+(Loading ../../sty/stex.sty.ltxml...
+(Loading ../../sty/stex-logo.sty.ltxml... 0.01 sec)
+(Loading ../../sty/modules/modules.sty.ltxml...
+Warning:perl:warn Subroutine use_module redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 48.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 48
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 48
+Warning:perl:warn Subroutine omext redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 63.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 63
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 63
+Warning:perl:warn Subroutine importmoduleI redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 74.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 74
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 74
+Warning:perl:warn Subroutine symdef_presentation_pmml redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 375.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 375
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 375
+Warning:perl:warn Subroutine getSymmdefProperties redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 389.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 389
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 389
+Warning:perl:warn Subroutine get_cd redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 412.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 412
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 412
+Warning:perl:warn Subroutine symdef_presentation_TeX redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 463.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 463
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/modules/modules.sty.ltxml line 463 0.02 sec)
+(Loading ../../sty/statements/statements.sty.ltxml...
+Warning:perl:warn Subroutine lowcase redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 7.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 7
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 7
+Warning:perl:warn Subroutine dashed redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 8.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 8
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 8
+Warning:perl:warn Subroutine makeNCName redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 9.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 9
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 9
+Warning:perl:warn Subroutine simple_wrapper redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 17.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 17
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 17
+Warning:perl:warn Subroutine hash_wrapper redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 25.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 25
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 25
+Warning:perl:warn Subroutine declareFunctions redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 33.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 33
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 33
+Warning:perl:warn Subroutine definitionBody redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 75.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 75
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/statements/statements.sty.ltxml line 75 0.05 sec)
+(Loading ../../sty/sproof/sproof.sty.ltxml...
+Warning:perl:warn Subroutine extractBodyText redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/sproof/sproof.sty.ltxml line 65.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/sproof/sproof.sty.ltxml line 65
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/sproof/sproof.sty.ltxml line 65 0.03 sec)
+(Loading ../../sty/presentation/presentation.sty.ltxml...
+Warning:perl:warn Subroutine argument_precedence redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 57.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 57
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 57
+Warning:perl:warn Subroutine applyPrecedencePreferences redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 71.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 71
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 71
+Warning:perl:warn Subroutine cvar_id redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 303.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 303
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/presentation/presentation.sty.ltxml line 303 0.02 sec)
+(Loading ../../sty/dcm/dcm.sty.ltxml...
+Warning:perl:warn Subroutine getKeyValue_noDelim redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 7.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 7
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 7
+Warning:perl:warn Subroutine ExportMetadata redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 13.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 13
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 13
+Warning:perl:warn Subroutine FishOutMetadata redefined at /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 52.
+In Gullet[@0x102619b70] /Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 52
+/Users/kohlhase/vc/svn/kwarc.info/stex-content/stex/sty/dcm/dcm.sty.ltxml line 52 0.03 sec) 0.28 sec)
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/amssymb.sty.ltxml...
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/amsfonts.sty.ltxml... 0.01 sec) 0.07 sec)
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/alltt.sty.ltxml... 0.04 sec)
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/hyperref.sty.ltxml...
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/url.sty.ltxml... 0.01 sec) 0.03 sec)
+(Loading ../../../../../../../../../opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/listings.sty.ltxml...
+(Style ../../../../../../../../../usr/local/texlive/2009/texmf-dist/tex/latex/listings/listings.cfg...[#25] 0.07 sec)
+Info: expected:lstlang0.sty Couldn't find config file lstlang0.sty
+In Gullet[@0x102619b70] /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/listings.sty.ltxml line 1178
+/opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Package/listings.sty.ltxml line 1178
+(Style ../../../../../../../../../usr/local/texlive/2009/texmf-dist/tex/latex/listings/lstlang1.sty...[#25][#50][#75][#100][#125][#150][#175][#200][#225][#250][#275][#300][#325][#350][#375][#400][#425][#450][#475][#500][#525][#550][#575][#600][#625][#650][#675][#700][#725][#750][#775][#800][#825][#850][#875][#900][#925][#950][#975][#1000][#1025][#1050][#1075][#1100][#1125][#1150][#1175][#1200][#1225][#1250][#1275][#1300][#1325][#1350][#1375][#1400][#1425][#1450][#1475][#1500][#1525] 1.35 sec)
+(Style ../../../../../../../../../usr/local/texlive/2009/texmf-dist/tex/latex/listings/lstlang2.sty...[#25][#50][#75][#100][#125][#150][#175][#200][#225][#250][#275][#300][#325][#350][#375][#400][#425][#450][#475][#500][#525][#550][#575][#600][#625][#650][#675][#700][#725][#750][#775][#800][#825][#850][#875][#900][#925][#950][#975][#1000][#1025][#1050][#1075][#1100][#1125][#1150][#1175][#1200][#1225][#1250][#1275][#1300][#1325][#1350][#1375][#1400][#1425][#1450][#1475][#1500][#1525] 1.25 sec)
+(Style ../../../../../../../../../usr/local/texlive/2009/texmf-dist/tex/latex/listings/lstlang3.sty...[#25][#50][#75][#100][#125][#150][#175][#200][#225][#250][#275][#300][#325][#350][#375][#400][#425][#450][#475][#500][#525][#550][#575][#600][#625][#650][#675][#700][#725][#750][#775][#800][#825][#850][#875][#900][#925][#950][#975][#1000][#1025][#1050][#1075][#1100][#1125][#1150][#1175][#1200][#1225][#1250][#1275][#1300][#1325][#1350][#1375][#1400][#1425][#1450][#1475][#1500][#1525][#1550] 1.29 sec) 5.46 sec)[#25][#50][#75][#100]
+(Processing continuous.tex...
+(Processing ../background/functions.sms... 0.01 sec)
+(Processing ../background/reals.sms... 0.01 sec) 0.13 sec)
+(Processing differentiable.tex... 0.03 sec) 6.98 sec) 7.02 sec)
+(Building...
+(Loading RelaxNG omdoc+ltxml...
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.openmath.org/OpenMath"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName ns=""/><nsName ns="http://www.w3.org/XML/1998/namespace"/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311.
+Warning:perl:warn RelaxNG: treating <anyName><except><nsName/></except></anyName> as ANY at /opt/local/lib/perl5/site_perl/5.8.9/LaTeXML/Model/RelaxNG.pm line 311. 1.77 sec)................. 2.20 sec)
+(Rewriting... 0.00 sec)
+(Math Parsing...14 formulae ...[1][2][3][4][5][6][7][8][9][10][11][12][13][14]
+Math parsing succeeded:
+ ltx:XMArg: 19/19
+ ltx:XMath: 14/14
+Symbols assumed as simple identifiers (with # of occurences):
+ 'C{caligraphic}' (2), 'delta' (4), 'epsilon' (4), 'f{italic}' (4), 'x{italic}' (5), 'y{italic}' (5)
+Possibly used as functions?
+ 'C{caligraphic}' (2/2 usages), 'f{italic}' (4/4 usages)
+ 0.27 sec)
+(Finalizing... 0.02 sec)
+Conversion complete: 40 warnings.
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/paper.thm b/Master/texmf-dist/doc/latex/stex/example/paper/paper.thm
new file mode 100644
index 00000000000..b1323b67308
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/paper.thm
@@ -0,0 +1,2 @@
+\contentsline {STdefinitionEnv}{{\st@definition@kw }{1}{}}{3}{STtheoremAssEnv.1}
+\contentsline {STdefinitionEnv}{{\st@definition@kw }{2}{}}{3}{STtheoremAssEnv.2}
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/paper.xml b/Master/texmf-dist/doc/latex/stex/example/paper/paper.xml
new file mode 100644
index 00000000000..dd8df314aba
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/paper.xml
@@ -0,0 +1,455 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?latexml searchpaths=".,../../sty,../../rnc,../../rnc/omdoc,../../sty/modules,../../sty/statements,../../sty/sproof,../../sty/omtext,../../sty/omdoc,../../sty/sref,../../sty/presentation,../../sty/dcm,../../sty/reqdoc,../../sty/omd,../../sty/mikoslides,../../sty/problem,../../sty/assignment,../../sty/etc,/Users/kohlhase/stc/stex/example/background,../../sty,../../rnc,../../rnc/omdoc,../../sty/modules,../../sty/statements,../../sty/sproof,../../sty/omtext,../../sty/omdoc,../../sty/sref,../../sty/presentation,../../sty/dcm,../../sty/reqdoc,../../sty/omd,../../sty/mikoslides,../../sty/problem,../../sty/assignment,../../sty/etc"?>
+<?latexml class="omdoc"?>
+<?latexml package="stex,amssymb"?>
+<?latexml package="alltt"?>
+<?latexml package="hyperref"?>
+<?latexml package="listings"?>
+<!-- %% defining the author metadata -->
+<?latexml RelaxNGSchema="omdoc+ltxml"?>
+<omdoc xmlns="http://omdoc.org/ns" xmlns:stex="http://kwarc.info/ns/sTeX" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.openmath.org/OpenMath" xmlns:omdoc="http://omdoc.org/ns" xmlns:m="http://www.w3.org/1998/Math/MathML" stex:srcref="paper.tex#textrange(from=15;1,to=15;17)" xml:id="paper.omdoc">
+ <!-- %metadata and title page -->
+ <metadata xml:id="paper.omdoc.p1" about="#paper.omdoc.p1" stex:srcref="paper.tex#textrange(from=18;0,to=25;16)">
+ <dc:creator xml:id="paper.omdoc.p1.p1" about="#paper.omdoc.p1.p1" stex:srcref="paper.tex#textrange(from=19;0,to=19;20)">
+ <p xml:id="paper.omdoc.p1.p1.p1" about="#paper.omdoc.p1.p1.p1" stex:srcref="paper.tex#textrange(from=19;0,to=19;20)">Michael Kohlhase</p>
+ </dc:creator>
+ <dc:rights xml:id="paper.omdoc.p1.p2" about="#paper.omdoc.p1.p2" stex:srcref="paper.tex#textrange(from=20;0,to=20;49)">
+ <p xml:id="paper.omdoc.p1.p2.p1" about="#paper.omdoc.p1.p2.p1" stex:srcref="paper.tex#textrange(from=20;0,to=20;49)">Copyright (c) 2009 Michael Kohlhase</p>
+ </dc:rights>
+ <dc:title xml:id="paper.omdoc.p1.p3" about="#paper.omdoc.p1.p3" stex:srcref="paper.tex#textrange(from=21;0,to=21;53)">
+ <p xml:id="paper.omdoc.p1.p3.p1" about="#paper.omdoc.p1.p3.p1" stex:srcref="paper.tex#textrange(from=21;0,to=21;53)">An example of semantic Markup in <phrase xml:id="paper.omdoc.p1.p3.p1.p1" about="#paper.omdoc.p1.p3.p1.p1" stex:srcref="paper.tex#textrange(from=21;0,to=21;53)">sTeX</phrase></p>
+ </dc:title>
+ <dc:description xml:id="paper.omdoc.p1.p4" about="#paper.omdoc.p1.p4" stex:srcref="paper.tex#textrange(from=24;0,to=24;40)">
+ <p xml:id="paper.omdoc.p1.p4.p1" about="#paper.omdoc.p1.p4.p1" stex:srcref="paper.tex#textrange(from=24;0,to=24;40)">In this note we give an example of semantic markup in <phrase xml:id="paper.omdoc.p1.p4.p1.p1" about="#paper.omdoc.p1.p4.p1.p1" stex:srcref="paper.tex#textrange(from=24;0,to=24;40)">sTeX</phrase>:
+Continuous and differentiable functions are introduced using real numbers, sets and
+functions as an assumed background.</p>
+ </dc:description>
+ <!-- %**** paper.tex Line 25 **** -->
+ </metadata>
+ <omgroup layout="sectioning" xml:id="intro" about="#intro" stex:srcref="paper.tex#textrange(from=27;0,to=110;13)">
+ <metadata xml:id="intro.p1" about="#intro.p1" stex:srcref="paper.tex#textrange(from=27;0,to=27;39)">
+ <dc:title stex:srcref="paper.tex#textrange(from=27;0,to=110;13)" xml:id="intro.p1.p1" about="#intro.p1.p1">
+ <p xml:id="intro.p1.p1.p1" about="#intro.p1.p1.p1" stex:srcref="paper.tex#textrange(from=27;0,to=110;13)">Introduction</p>
+ </dc:title>
+ </metadata>
+ <omtext xml:id="intro.p2" about="#intro.p2" stex:srcref="paper.tex#textrange(from=27;0,to=63;13)">
+ <CMP xml:id="intro.p2.p1" about="#intro.p2.p1" stex:srcref="paper.tex#textrange(from=27;0,to=63;13)">
+ <p xml:id="intro.p2.p1.p1" about="#intro.p2.p1.p1" stex:srcref="paper.tex#textrange(from=27;0,to=27;39)">We will show how to semantically mark up mathematics in the <phrase xml:id="intro.p2.p1.p1.p1" about="#intro.p2.p1.p1.p1" stex:srcref="paper.tex#textrange(from=27;1,to=28;68)">sTeX</phrase>
+format <cite xmlns="http://dlmf.nist.gov/LaTeXML">[<bibref bibrefs="kohlhase:ulsmf08" separator="," show="Number" yyseparator=","/>]</cite> and how to convert it into
+OMDoc <cite xmlns="http://dlmf.nist.gov/LaTeXML">[<bibref bibrefs="kohlhase:omdoc1.3" separator="," show="Number" yyseparator=","/>]</cite>.
+</p>
+ <p xml:id="intro.p2.p1.p2" about="#intro.p2.p1.p2" stex:srcref="paper.tex#textrange(from=27;0,to=63;13)">We have some mathematical material in Section <ref type="cite" xref="sec.math" xml:id="intro.p2.p1.p2.p1" about="#intro.p2.p1.p2.p1" stex:srcref="paper.tex#textrange(from=31;29,to=32;56)"/> which will serve as example
+content. In the rest of this section we will explain the setup of the example and
+present an approach to automation of the OMDoc conversion via Unix Makefiles.
+</p>
+ </CMP>
+ </omtext>
+ <omgroup layout="sectioning" xml:id="intro.p3" about="#intro.p3" stex:srcref="paper.tex#textrange(from=35;0,to=63;13)">
+ <metadata xml:id="intro.p3.p1" about="#intro.p3.p1" stex:srcref="paper.tex#textrange(from=35;0,to=62;13)">
+ <dc:title stex:srcref="paper.tex#textrange(from=35;0,to=63;13)" xml:id="intro.p3.p1.p1" about="#intro.p3.p1.p1">
+ <p xml:id="intro.p3.p1.p1.p1" about="#intro.p3.p1.p1.p1" stex:srcref="paper.tex#textrange(from=35;0,to=63;13)">The Setup</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="setup" about="#setup" stex:srcref="paper.tex#textrange(from=36;0,to=62;13)">
+ <symbol name="target" xml:id="target.def.sym" about="#target.def.sym" stex:srcref="paper.tex#textrange(from=37;0,to=44;20)"/>
+ <symbol name="module" xml:id="module.def.sym" about="#module.def.sym" stex:srcref="paper.tex#textrange(from=37;0,to=44;20)"/>
+ <definition for="target module" xml:id="setup.p3" about="#setup.p3" stex:srcref="paper.tex#textrange(from=37;0,to=44;20)">
+ <CMP xml:id="setup.p3.p1" about="#setup.p3.p1" stex:srcref="paper.tex#textrange(from=37;0,to=44;20)">
+ <p xml:id="setup.p3.p1.p1" about="#setup.p3.p1.p1" stex:srcref="paper.tex#textrange(from=37;0,to=44;20)">
+The source of this note is contained in the file <phrase class="code" xml:id="setup.p3.p1.p1.p1" about="#setup.p3.p1.p1.p1" stex:srcref="paper.tex#textrange(from=37;13,to=38;74)">paper.tex</phrase>. We call it
+the <idx xml:id="setup.p3.p1.p1.p2" about="#setup.p3.p1.p1.p2" stex:srcref="paper.tex#textrange(from=38;59,to=39;25)"><idt><term cd="setup" name="target" role="definiendum" xml:id="setup.p3.p1.p1.p2.p1" about="#setup.p3.p1.p1.p2.p1" stex:srcref="paper.tex#textrange(from=38;59,to=39;25)">target</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">target</text></idp></ide></idx>, since formatting it with LaTeX will generate the main
+document. The content in Section <ref type="cite" xref="sec.contfuncs" xml:id="setup.p3.p1.p1.p3" about="#setup.p3.p1.p1.p3" stex:srcref="paper.tex#textrange(from=39;33,to=40;52)"/> and Section <ref type="cite" xref="sec.differentiable" xml:id="setup.p3.p1.p1.p4" about="#setup.p3.p1.p1.p4" stex:srcref="paper.tex#textrange(from=39;1,to=40;84)"/>
+comes from included files <phrase class="code" xml:id="setup.p3.p1.p1.p5" about="#setup.p3.p1.p1.p5" stex:srcref="paper.tex#textrange(from=40;5,to=41;56)">continuous.tex</phrase> and
+<phrase class="code" xml:id="setup.p3.p1.p1.p6" about="#setup.p3.p1.p1.p6" stex:srcref="paper.tex#textrange(from=41;54,to=42;34)">differentiable.tex</phrase>, we will call them <idx xml:id="setup.p3.p1.p1.p7" about="#setup.p3.p1.p1.p7" stex:srcref="paper.tex#textrange(from=41;18,to=42;70)"><idt><term cd="setup" name="module" role="definiendum" xml:id="setup.p3.p1.p1.p7.p1" about="#setup.p3.p1.p1.p7.p1" stex:srcref="paper.tex#textrange(from=41;18,to=42;70)">module</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">module</text></idp></ide></idx>s, since they may
+be used (i.e. included) by other target documents as well.
+</p>
+ </CMP>
+ </definition>
+ <omtext xml:id="setup.p4" about="#setup.p4" stex:srcref="paper.tex#textrange(from=36;0,to=54;19)">
+ <CMP xml:id="setup.p4.p1" about="#setup.p4.p1" stex:srcref="paper.tex#textrange(from=36;0,to=54;19)">
+ <p xml:id="setup.p4.p1.p1" about="#setup.p4.p1.p1" stex:srcref="paper.tex#textrange(from=36;0,to=54;19)">As the modules are built for inclusion into other documents, they are not
+self-contained:
+</p>
+ </CMP>
+ </omtext>
+ <omgroup layout="enumerate" xml:id="I1" about="#I1" stex:srcref="paper.tex#textrange(from=47;0,to=54;19)">
+ <omtext xml:id="I1.p1" about="#I1.p1" stex:srcref="paper.tex#textrange(from=47;42,to=48;11)">
+ <CMP xml:id="I1.p1.p1" about="#I1.p1.p1" stex:srcref="paper.tex#textrange(from=47;42,to=48;11)">
+ <p xml:id="I1.p1.p1.p1" about="#I1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=47;42,to=48;11)">they do not contain a LaTeX preamble and
+<verbatim xmlns="http://dlmf.nist.gov/LaTeXML" font="typewriter">\begin</verbatim>/<verbatim xmlns="http://dlmf.nist.gov/LaTeXML" font="typewriter">\end{document}</verbatim>, and
+<!-- %**** paper.tex Line 50 **** --></p>
+ </CMP>
+ </omtext>
+ <omtext xml:id="I1.p2" about="#I1.p2" stex:srcref="paper.tex#textrange(from=49;76,to=50;11)">
+ <CMP xml:id="I1.p2.p1" about="#I1.p2.p1" stex:srcref="paper.tex#textrange(from=49;76,to=50;11)">
+ <p xml:id="I1.p2.p1.p1" about="#I1.p2.p1.p1" stex:srcref="paper.tex#textrange(from=49;76,to=50;11)">they may depend on other modules, whose semantic macros they need to include,
+</p>
+ </CMP>
+ </omtext>
+ <omtext xml:id="I1.p3" about="#I1.p3" stex:srcref="paper.tex#textrange(from=50;75,to=51;11)">
+ <CMP xml:id="I1.p3.p1" about="#I1.p3.p1" stex:srcref="paper.tex#textrange(from=50;75,to=51;11)">
+ <p xml:id="I1.p3.p1.p1" about="#I1.p3.p1.p1" stex:srcref="paper.tex#textrange(from=50;75,to=51;11)">to facilitate this a module file <phrase class="code" xml:id="I1.p3.p1.p1.p1" about="#I1.p3.p1.p1.p1" stex:srcref="paper.tex#textrange(from=50;25,to=51;61)">modf.tex</phrase> comes with a “semantic
+macro short form” <phrase class="code" xml:id="I1.p3.p1.p1.p2" about="#I1.p3.p1.p1.p2" stex:srcref="paper.tex#textrange(from=51;41,to=52;43)">modf.sms</phrase> that can be included without generating
+output in the PDF.
+</p>
+ </CMP>
+ </omtext>
+ </omgroup>
+ <symbol name="background-module" xml:id="background-module.def.sym"/>
+ <omtext xml:id="setup.p6" about="#setup.p6" stex:srcref="paper.tex#textrange(from=36;0,to=62;13)">
+ <CMP xml:id="setup.p6.p1" about="#setup.p6.p1" stex:srcref="paper.tex#textrange(from=36;0,to=62;13)">
+ <p xml:id="setup.p6.p1.p1" about="#setup.p6.p1.p1" stex:srcref="paper.tex#textrange(from=36;0,to=62;13)">this will have consequences for the automation. Concretely, the module on
+differentiable functions in Section <ref type="cite" xref="sec.differentiable" xml:id="setup.p6.p1.p1.p1" about="#setup.p6.p1.p1.p1" stex:srcref="paper.tex#textrange(from=55;32,to=56;58)"/> depends on that for continuous
+functions in Section <ref type="cite" xref="sec.contfuncs" xml:id="setup.p6.p1.p1.p2" about="#setup.p6.p1.p1.p2" stex:srcref="paper.tex#textrange(from=56;51,to=57;38)"/>. Both of them depend on modules for real numbers,
+sets and functions that we do not want to cover in this note. <phrase for="background-module" type="inlinedef" xml:id="setup.p6.p1.p1.p3" about="#setup.p6.p1.p1.p3" stex:srcref="paper.tex#textrange(from=59;17,to=60;69)">We assume that
+they have already been marked up with the same methods as we describe here and are
+accessible to us and call them <idx xml:id="setup.p6.p1.p1.p3.p1" about="#setup.p6.p1.p1.p3.p1" stex:srcref="paper.tex#textrange(from=59;17,to=60;69)"><idt><term cd="setup" name="background-module" role="definiendum" xml:id="setup.p6.p1.p1.p3.p1.p1" about="#setup.p6.p1.p1.p3.p1.p1" stex:srcref="paper.tex#textrange(from=59;17,to=60;69)">background module</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">background</text></idp><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">module</text></idp></ide></idx>s</phrase>. In our setup we
+keep them in the subdirectory <phrase class="code" xml:id="setup.p6.p1.p1.p4" about="#setup.p6.p1.p1.p4" stex:srcref="paper.tex#textrange(from=60;2,to=61;54)">background</phrase>.
+</p>
+ </CMP>
+ </omtext>
+ </theory>
+ </omgroup>
+ <omgroup layout="sectioning" xml:id="intro.p4" about="#intro.p4" stex:srcref="paper.tex#textrange(from=65;0,to=73;13)">
+ <metadata xml:id="intro.p4.p1" about="#intro.p4.p1" stex:srcref="paper.tex#textrange(from=65;0,to=65;51)">
+ <dc:title stex:srcref="paper.tex#textrange(from=65;0,to=73;13)" xml:id="intro.p4.p1.p1" about="#intro.p4.p1.p1">
+ <p xml:id="intro.p4.p1.p1.p1" about="#intro.p4.p1.p1.p1" stex:srcref="paper.tex#textrange(from=65;0,to=73;13)">Formatting and OMDoc conversion</p>
+ </dc:title>
+ </metadata>
+ <omtext xml:id="intro.p4.p2" about="#intro.p4.p2" stex:srcref="paper.tex#textrange(from=65;0,to=73;13)">
+ <CMP xml:id="intro.p4.p2.p1" about="#intro.p4.p2.p1" stex:srcref="paper.tex#textrange(from=65;0,to=73;13)">
+ <p xml:id="intro.p4.p2.p1.p1" about="#intro.p4.p2.p1.p1" stex:srcref="paper.tex#textrange(from=65;0,to=65;51)">To format an <phrase xml:id="intro.p4.p2.p1.p1.p1" about="#intro.p4.p2.p1.p1.p1" stex:srcref="paper.tex#textrange(from=65;68,to=66;21)">sTeX</phrase> document — i.e. to produce a PDF file from the <phrase xml:id="intro.p4.p2.p1.p1.p2" about="#intro.p4.p2.p1.p1.p2" stex:srcref="paper.tex#textrange(from=65;11,to=66;78)">sTeX</phrase> marked-up
+sources — we only need to run the <phrase class="code" xml:id="intro.p4.p2.p1.p1.p3" about="#intro.p4.p2.p1.p1.p3" stex:srcref="paper.tex#textrange(from=66;34,to=67;56)">pdflatex</phrase> program over the target document
+— assuming that all modules (regular or background) have semantic macro short forms.
+</p>
+ <p xml:id="intro.p4.p2.p1.p2" about="#intro.p4.p2.p1.p2" stex:srcref="paper.tex#textrange(from=65;0,to=73;13)">To convert an <phrase xml:id="intro.p4.p2.p1.p2.p1" about="#intro.p4.p2.p1.p2.p1" stex:srcref="paper.tex#textrange(from=69;66,to=70;22)">sTeX</phrase> document to OMDoc, we need to run <phrase class="code" xml:id="intro.p4.p2.p1.p2.p2" about="#intro.p4.p2.p1.p2.p2" stex:srcref="paper.tex#textrange(from=69;10,to=70;78)">latexml</phrase> over it,
+post-process the result by <phrase class="code" xml:id="intro.p4.p2.p1.p2.p3" about="#intro.p4.p2.p1.p2.p3" stex:srcref="paper.tex#textrange(from=70;41,to=71;50)">latexmlpost</phrase>, and finally massage away all remaining
+LaTeXML islands with a stylesheet, see  <cite xmlns="http://dlmf.nist.gov/LaTeXML">[<bibref bibrefs="kohlhase:ssmtl*" separator="," show="Number" yyseparator=","/>]</cite> for details.
+</p>
+ </CMP>
+ </omtext>
+ </omgroup>
+ <!-- %**** paper.tex Line 75 **** -->
+ <omgroup layout="sectioning" xml:id="intro.p5" about="#intro.p5" stex:srcref="paper.tex#textrange(from=75;0,to=108;13)">
+ <metadata xml:id="intro.p5.p1" about="#intro.p5.p1" stex:srcref="paper.tex#textrange(from=75;0,to=75;42)">
+ <dc:title stex:srcref="paper.tex#textrange(from=75;0,to=108;13)" xml:id="intro.p5.p1.p1" about="#intro.p5.p1.p1">
+ <p xml:id="intro.p5.p1.p1.p1" about="#intro.p5.p1.p1.p1" stex:srcref="paper.tex#textrange(from=75;0,to=108;13)">Makefile-based Automation</p>
+ </dc:title>
+ </metadata>
+ <omtext xml:id="intro.p5.p2" about="#intro.p5.p2" stex:srcref="paper.tex#textrange(from=75;0,to=87;19)">
+ <CMP xml:id="intro.p5.p2.p1" about="#intro.p5.p2.p1" stex:srcref="paper.tex#textrange(from=75;0,to=87;19)">
+ <p xml:id="intro.p5.p2.p1.p1" about="#intro.p5.p2.p1.p1" stex:srcref="paper.tex#textrange(from=75;0,to=87;19)">As the conversion to OMDoc is rather complex (the programs in the three steps take a
+variety of options), we support an automation by Unix Makefiles. There are three main
+<phrase class="code" xml:id="intro.p5.p2.p1.p1.p1" about="#intro.p5.p2.p1.p1.p1" stex:srcref="paper.tex#textrange(from=77;10,to=78;16)">make</phrase> targets.
+</p>
+ </CMP>
+ </omtext>
+ <omgroup layout="description" xml:id="I2" about="#I2" stex:srcref="paper.tex#textrange(from=79;0,to=87;19)">
+ <omtext xml:id="I2.p1" about="#I2.p1" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">
+ <metadata xml:id="I2.p1.p1" about="#I2.p1.p1" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">
+ <dc:title xml:id="I2.p1.p1.p1" about="#I2.p1.p1.p1" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">
+ <p xml:id="I2.p1.p1.p1.p1" about="#I2.p1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">
+ <phrase class="code" xml:id="I2.p1.p1.p1.p1.p1" about="#I2.p1.p1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">make omdoc</phrase>
+ </p>
+ </dc:title>
+ </metadata>
+ <CMP xml:id="I2.p1.p2" about="#I2.p1.p2" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">
+ <p xml:id="I2.p1.p2.p1" about="#I2.p1.p2.p1" stex:srcref="paper.tex#textrange(from=79;53,to=80;31)">will trigger the OMDoc transformation of the target
+document.
+</p>
+ </CMP>
+ </omtext>
+ <omtext xml:id="I2.p2" about="#I2.p2" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">
+ <metadata xml:id="I2.p2.p1" about="#I2.p2.p1" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">
+ <dc:title xml:id="I2.p2.p1.p1" about="#I2.p2.p1.p1" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">
+ <p xml:id="I2.p2.p1.p1.p1" about="#I2.p2.p1.p1.p1" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">
+ <phrase class="code" xml:id="I2.p2.p1.p1.p1.p1" about="#I2.p2.p1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">make mods</phrase>
+ </p>
+ </dc:title>
+ </metadata>
+ <CMP xml:id="I2.p2.p2" about="#I2.p2.p2" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">
+ <p xml:id="I2.p2.p2.p1" about="#I2.p2.p2.p1" stex:srcref="paper.tex#textrange(from=81;55,to=82;31)">will trigger the OMDoc transformation of the modules.
+</p>
+ </CMP>
+ </omtext>
+ <omtext xml:id="I2.p3" about="#I2.p3" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">
+ <metadata xml:id="I2.p3.p1" about="#I2.p3.p1" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">
+ <dc:title xml:id="I2.p3.p1.p1" about="#I2.p3.p1.p1" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">
+ <p xml:id="I2.p3.p1.p1.p1" about="#I2.p3.p1.p1.p1" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">
+ <phrase class="code" xml:id="I2.p3.p1.p1.p1.p1" about="#I2.p3.p1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">make pdf</phrase>
+ </p>
+ </dc:title>
+ </metadata>
+ <CMP xml:id="I2.p3.p2" about="#I2.p3.p2" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">
+ <p xml:id="I2.p3.p2.p1" about="#I2.p3.p2.p1" stex:srcref="paper.tex#textrange(from=82;46,to=83;30)">will trigger the LaTeX formatting the target
+</p>
+ </CMP>
+ </omtext>
+ <omtext xml:id="I2.p4" about="#I2.p4" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">
+ <metadata xml:id="I2.p4.p1" about="#I2.p4.p1" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">
+ <dc:title xml:id="I2.p4.p1.p1" about="#I2.p4.p1.p1" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">
+ <p xml:id="I2.p4.p1.p1.p1" about="#I2.p4.p1.p1.p1" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">
+ <phrase class="code" xml:id="I2.p4.p1.p1.p1.p1" about="#I2.p4.p1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">make mpdf</phrase>
+ </p>
+ </dc:title>
+ </metadata>
+ <CMP xml:id="I2.p4.p2" about="#I2.p4.p2" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">
+ <p xml:id="I2.p4.p2.p1" about="#I2.p4.p2.p1" stex:srcref="paper.tex#textrange(from=83;47,to=84;31)">will trigger the LaTeX formatting the modules
+</p>
+ </CMP>
+ </omtext>
+ <omtext xml:id="I2.p5" about="#I2.p5" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">
+ <metadata xml:id="I2.p5.p1" about="#I2.p5.p1" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">
+ <dc:title xml:id="I2.p5.p1.p1" about="#I2.p5.p1.p1" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">
+ <p xml:id="I2.p5.p1.p1.p1" about="#I2.p5.p1.p1.p1" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">
+ <phrase class="code" xml:id="I2.p5.p1.p1.p1.p1" about="#I2.p5.p1.p1.p1.p1" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">make sms</phrase>
+ </p>
+ </dc:title>
+ </metadata>
+ <CMP xml:id="I2.p5.p2" about="#I2.p5.p2" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">
+ <p xml:id="I2.p5.p2.p1" about="#I2.p5.p2.p1" stex:srcref="paper.tex#textrange(from=84;57,to=85;30)">will trigger the re-generation of all semantic macro short
+forms of modules (this is implicitly called in all the other <phrase class="code" xml:id="I2.p5.p2.p1.p1" about="#I2.p5.p2.p1.p1" stex:srcref="paper.tex#textrange(from=85;10,to=86;79)">make</phrase> targets)
+</p>
+ </CMP>
+ </omtext>
+ </omgroup>
+ <omtext xml:id="intro.p5.p4" about="#intro.p5.p4" stex:srcref="paper.tex#textrange(from=75;0,to=108;13)">
+ <CMP xml:id="intro.p5.p4.p1" about="#intro.p5.p4.p1" stex:srcref="paper.tex#textrange(from=75;0,to=108;13)">
+ <p xml:id="intro.p5.p4.p1.p1" about="#intro.p5.p4.p1.p1" stex:srcref="paper.tex#textrange(from=75;0,to=75;42)">To use this, we need to set up a <phrase class="code" xml:id="intro.p5.p4.p1.p1.p1" about="#intro.p5.p4.p1.p1.p1" stex:srcref="paper.tex#textrange(from=87;24,to=88;55)">Makefile</phrase> of the following form:
+</p>
+ <listingblock xmlns="http://dlmf.nist.gov/LaTeXML" class="language_make" xml:id="LSTx1">
+ <tabular xml:id="LSTx1.p1" about="#LSTx1.p1">
+ <tr xml:id="LSTx1.p1.p1" about="#LSTx1.p1.p1">
+ <td class="linenumber" xml:id="LSTx1.p1.p1.p1" about="#LSTx1.p1.p1.p1"/>
+ <td xml:id="LSTx1.p1.p1.p2" about="#LSTx1.p1.p1.p2">
+ <text class="lstline">STEXDIR<text class="lstspace"> </text>=<text class="lstspace"> </text>../..</text>
+ </td>
+ </tr>
+ <tr xml:id="LSTx1.p1.p2" about="#LSTx1.p1.p2">
+ <td class="linenumber" xml:id="LSTx1.p1.p2.p1" about="#LSTx1.p1.p2.p1">2</td>
+ <td xml:id="LSTx1.p1.p2.p2" about="#LSTx1.p1.p2.p2">
+ <text class="lstline">TARGET<text class="lstspace"> </text>=<text class="lstspace"> </text>paper.tex</text>
+ </td>
+ </tr>
+ <tr xml:id="LSTx1.p1.p3" about="#LSTx1.p1.p3">
+ <td class="linenumber" xml:id="LSTx1.p1.p3.p1" about="#LSTx1.p1.p3.p1"/>
+ <td xml:id="LSTx1.p1.p3.p2" about="#LSTx1.p1.p3.p2">
+ <text class="lstline">MODSLIBDIR<text class="lstspace"> </text>=<text class="lstspace"> </text>../background</text>
+ </td>
+ </tr>
+ <tr xml:id="LSTx1.p1.p4" about="#LSTx1.p1.p4">
+ <td class="linenumber" xml:id="LSTx1.p1.p4.p1" about="#LSTx1.p1.p4.p1">4</td>
+ <td xml:id="LSTx1.p1.p4.p2" about="#LSTx1.p1.p4.p2">
+ <text class="lstline"/>
+ </td>
+ </tr>
+ <tr xml:id="LSTx1.p1.p5" about="#LSTx1.p1.p5">
+ <td class="linenumber" xml:id="LSTx1.p1.p5.p1" about="#LSTx1.p1.p5.p1"/>
+ <td xml:id="LSTx1.p1.p5.p2" about="#LSTx1.p1.p5.p2">
+ <text class="lstline">include<text class="lstspace"> </text>$(STEXDIR)/make/Makefile.vars</text>
+ </td>
+ </tr>
+ <tr xml:id="LSTx1.p1.p6" about="#LSTx1.p1.p6">
+ <td class="linenumber" xml:id="LSTx1.p1.p6.p1" about="#LSTx1.p1.p6.p1">6</td>
+ <td xml:id="LSTx1.p1.p6.p2" about="#LSTx1.p1.p6.p2">
+ <text class="lstline">all:<text class="lstspace"> </text>omdoc<text class="lstspace"> </text>mods<text class="lstspace"> </text>pdf</text>
+ </td>
+ </tr>
+ <tr xml:id="LSTx1.p1.p7" about="#LSTx1.p1.p7">
+ <td class="linenumber" xml:id="LSTx1.p1.p7.p1" about="#LSTx1.p1.p7.p1"/>
+ <td xml:id="LSTx1.p1.p7.p2" about="#LSTx1.p1.p7.p2">
+ <text class="lstline">include<text class="lstspace"> </text>$(STEXDIR)/make/Makefile.in</text>
+ </td>
+ </tr>
+ </tabular>
+ </listingblock>
+ <p xml:id="intro.p5.p4.p1.p3" about="#intro.p5.p4.p1.p3" stex:srcref="paper.tex#textrange(from=75;0,to=75;42)">The variable <text xmlns="http://dlmf.nist.gov/LaTeXML" class="listing ">STEXDIR</text> has to be set to the main directory of the <phrase xml:id="intro.p5.p4.p1.p3.p1" about="#intro.p5.p4.p1.p3.p1" stex:srcref="paper.tex#textrange(from=92;1,to=93;86)">sTeX</phrase>
+distribution. The variable <text xmlns="http://dlmf.nist.gov/LaTeXML" class="listing ">TARGET</text> specifies the target document (all other
+<phrase class="code" xml:id="intro.p5.p4.p1.p3.p2" about="#intro.p5.p4.p1.p3.p2" stex:srcref="paper.tex#textrange(from=94;73,to=95;17)">*.tex</phrase> files that are not excluded in the <text xmlns="http://dlmf.nist.gov/LaTeXML" class="listing ">BUTFILES</text> variables are
+considered as modules). Here, the <phrase class="code" xml:id="intro.p5.p4.p1.p3.p3" about="#intro.p5.p4.p1.p3.p3" stex:srcref="paper.tex#textrange(from=95;32,to=96;56)">background</phrase> directory for convenience. The
+<text xmlns="http://dlmf.nist.gov/LaTeXML" class="listing ">MODSLIBDIR</text> specifies the location of the prefix and postfix files
+<phrase class="code" xml:id="intro.p5.p4.p1.p3.p4" about="#intro.p5.p4.p1.p3.p4" stex:srcref="paper.tex#textrange(from=97;68,to=98;19)">pre.tex</phrase> and <phrase class="code" xml:id="intro.p5.p4.p1.p3.p5" about="#intro.p5.p4.p1.p3.p5" stex:srcref="paper.tex#textrange(from=97;44,to=98;43)">post.tex</phrase> that will be prepended and appended to the
+modules to make them into complete files TeX files that can be converted. The last
+<!-- %**** paper.tex Line 100 **** -->three lines just include the Makefiles from the <phrase xml:id="intro.p5.p4.p1.p3.p6" about="#intro.p5.p4.p1.p3.p6" stex:srcref="paper.tex#textrange(from=99;32,to=100;56)">sTeX</phrase> distribution and configure the
+default make target (<phrase class="code" xml:id="intro.p5.p4.p1.p3.p7" about="#intro.p5.p4.p1.p3.p7" stex:srcref="paper.tex#textrange(from=100;31,to=101;40)">make all</phrase>) to be produce the pdf version
+</p>
+ <p xml:id="intro.p5.p4.p1.p4" about="#intro.p5.p4.p1.p4" stex:srcref="paper.tex#textrange(from=75;0,to=108;13)">Note that in the directory <phrase class="code" xml:id="intro.p5.p4.p1.p4.p1" about="#intro.p5.p4.p1.p4.p1" stex:srcref="paper.tex#textrange(from=102;36,to=103;49)">background</phrase> we have a very similar Makefile as
+above. The only differences are that the variable <text xmlns="http://dlmf.nist.gov/LaTeXML" class="listing ">STEXDIR</text> is adapted and
+that the <text xmlns="http://dlmf.nist.gov/LaTeXML" class="listing ">BUTFILE</text> variable is set to <phrase class="code" xml:id="intro.p5.p4.p1.p4.p2" about="#intro.p5.p4.p1.p4.p2" stex:srcref="paper.tex#textrange(from=104;5,to=105;69)">pre.tex</phrase> and
+<phrase class="code" xml:id="intro.p5.p4.p1.p4.p3" about="#intro.p5.p4.p1.p4.p3" stex:srcref="paper.tex#textrange(from=105;51,to=106;20)">post.tex</phrase>, so that they are not converted. In the directory
+<phrase class="code" xml:id="intro.p5.p4.p1.p4.p4" about="#intro.p5.p4.p1.p4.p4" stex:srcref="paper.tex#textrange(from=106;56,to=107;22)">background</phrase> we have followed good practice by establishing a phony
+</p>
+ </CMP>
+ </omtext>
+ </omgroup>
+ </omgroup>
+ <omgroup layout="sectioning" xml:id="sec.math" about="#sec.math" stex:srcref="paper.tex#textrange(from=112;0,to=116;13)">
+ <metadata xml:id="sec.math.p1" about="#sec.math.p1" stex:srcref="paper.tex#textrange(from=112;0,to=112;50)">
+ <dc:title stex:srcref="paper.tex#textrange(from=112;0,to=116;13)" xml:id="sec.math.p1.p1" about="#sec.math.p1.p1">
+ <p xml:id="sec.math.p1.p1.p1" about="#sec.math.p1.p1.p1" stex:srcref="paper.tex#textrange(from=112;0,to=116;13)">Mathematical Content</p>
+ </dc:title>
+ </metadata>
+ <omtext xml:id="sec.math.p2" about="#sec.math.p2" stex:srcref="paper.tex#textrange(from=112;0,to=13;13)">
+ <CMP xml:id="sec.math.p2.p1" about="#sec.math.p2.p1" stex:srcref="paper.tex#textrange(from=112;0,to=13;13)">
+ <p xml:id="sec.math.p2.p1.p1" about="#sec.math.p2.p1.p1" stex:srcref="paper.tex#textrange(from=112;0,to=13;13)">We present some standard mathematical definitions, here from calculus.
+</p>
+ </CMP>
+ </omtext>
+ <omgroup layout="sectioning" xml:id="sec.contfuncs" about="#sec.contfuncs" stex:srcref="continuous.tex#textrange(from=1;0,to=13;13)">
+ <metadata xml:id="sec.contfuncs.p1" about="#sec.contfuncs.p1" stex:srcref="continuous.tex#textrange(from=1;0,to=12;12)">
+ <dc:title stex:srcref="continuous.tex#textrange(from=1;0,to=13;13)" xml:id="sec.contfuncs.p1.p1" about="#sec.contfuncs.p1.p1">
+ <p xml:id="sec.contfuncs.p1.p1.p1" about="#sec.contfuncs.p1.p1.p1" stex:srcref="continuous.tex#textrange(from=1;0,to=13;13)">Continuous Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="continuous" about="#continuous" stex:srcref="continuous.tex#textrange(from=2;0,to=12;12)">
+ <imports from="../background/functions.omdoc#functions" xml:id="continuous.p1" about="#continuous.p1" stex:srcref="continuous.tex#textrange(from=3;0,to=3;46)"/>
+ <imports from="../background/reals.omdoc#reals" xml:id="continuous.p2" about="#continuous.p2" stex:srcref="continuous.tex#textrange(from=4;0,to=4;38)"/>
+ <symbol name="continuousfunctions" xml:id="continuousfunctions.sym" about="#continuousfunctions.sym" stex:srcref="continuous.tex#textrange(from=5;1,to=5;54)"/>
+ <notation cd="continuous" name="continuousfunctions">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="continuous" cr="fun" name="continuousfunctions"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" xml:id="continuous.m1" text="C ^ 0 * open-interval@(arg:1, arg:2)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMS cd="arith1" name="times"/>
+ <om:OMA>
+ <om:OMS cd="ambiguous" name="superscript"/>
+ <om:OMV name="C"/>
+ <om:OMI>0</om:OMI>
+ </om:OMA>
+ <om:OMA>
+ <om:OMS cd="latexml" name="open-interval"/>
+ <om:OMV name="arg:1"/>
+ <om:OMV name="arg:2"/>
+ </om:OMA>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mrow>
+ <m:msup>
+ <m:mi mathvariant="script">C</m:mi>
+ <m:mn>0</m:mn>
+ </m:msup>
+ <m:mo>⁢</m:mo>
+ <m:mfenced open="(" close=")">
+ <m:mrow>
+ <m:mi>arg:1</m:mi>
+ <m:mo>,</m:mo>
+ <m:mi>arg:2</m:mi>
+ </m:mrow>
+ </m:mfenced>
+ </m:mrow>
+ </m:math>
+ </Math>
+ </rendering>
+ </notation>
+ <symbol name="continuous" xml:id="continuous.def.sym" about="#continuous.def.sym" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)"/>
+ <definition for="continuous" xml:id="continuous.p5" about="#continuous.p5" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)">
+ <CMP xml:id="continuous.p5.p1" about="#continuous.p5.p1" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)">
+ <p xml:id="continuous.p5.p1.p1" about="#continuous.p5.p1.p1" stex:srcref="continuous.tex#textrange(from=7;1,to=11;16)">
+A function <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\fun{f}{\RealNumbers}{\RealNumbers}" xml:id="continuous.p5.p1.p1.m1" text="fun@(f, RealNumbers, RealNumbers)"><om:OMOBJ><om:OMA><om:OMS cd="functions" name="fun"/><om:OMV name="f"/><om:OMS cd="reals" name="RealNumbers"/><om:OMS cd="reals" name="RealNumbers"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi mathcolor="red">fun</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>f</m:mi><m:mo>, </m:mo><m:mi mathcolor="red">RealNumbers</m:mi><m:mo>, </m:mo><m:mi mathcolor="red">RealNumbers</m:mi></m:mrow></m:mrow></m:math></Math> is called <idx xml:id="continuous.p5.p1.p1.p2" about="#continuous.p5.p1.p1.p2" stex:srcref="continuous.tex#textrange(from=7;4,to=8;76)"><idt><term cd="continuous" name="continuous" role="definiendum" xml:id="continuous.p5.p1.p1.p2.p1" about="#continuous.p5.p1.p1.p2.p1" stex:srcref="continuous.tex#textrange(from=7;4,to=8;76)">continuous</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">continuous</text></idp></ide></idx> at
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\inset{x}{\RealNumbers}" xml:id="continuous.p5.p1.p1.m2" text="inset@(x, RealNumbers)"><om:OMOBJ><om:OMA><om:OMS cd="functions" name="inset"/><om:OMV name="x"/><om:OMS cd="reals" name="RealNumbers"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi mathcolor="red">inset</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>x</m:mi><m:mo>, </m:mo><m:mi mathcolor="red">RealNumbers</m:mi></m:mrow></m:mrow></m:math></Math>, iff for all <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\epsilon&gt;0" xml:id="continuous.p5.p1.p1.m3" text="epsilon &gt; 0"><om:OMOBJ><om:OMA><om:OMS cd="latexml" name="greater-than"/><om:OMV name="ϵ"/><om:OMI>0</om:OMI></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi>ϵ</m:mi><m:mo>&gt;</m:mo><m:mn>0</m:mn></m:mrow></m:math></Math> there is a <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\delta&gt;0" xml:id="continuous.p5.p1.p1.m4" text="delta &gt; 0"><om:OMOBJ><om:OMA><om:OMS cd="latexml" name="greater-than"/><om:OMV name="δ"/><om:OMI>0</om:OMI></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi>δ</m:mi><m:mo>&gt;</m:mo><m:mn>0</m:mn></m:mrow></m:math></Math>, such that
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\absval{f(x)-f(y)}&lt;\epsilon" xml:id="continuous.p5.p1.p1.m5" text="absval@(f * x - f * y) less epsilon"><om:OMOBJ><om:OMA><om:OMS cd="latexml" name="less-than"/><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="latexml" name="minus"/><om:OMA><om:OMS cd="arith1" name="times"/><om:OMV name="f"/><om:OMV name="x"/></om:OMA><om:OMA><om:OMS cd="arith1" name="times"/><om:OMV name="f"/><om:OMV name="y"/></om:OMA></om:OMA></om:OMA><om:OMV name="ϵ"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mrow><m:mi mathcolor="red">absval</m:mi><m:mo>⁡</m:mo><m:mrow><m:mrow><m:mi>f</m:mi><m:mo>⁢</m:mo><m:mfenced open="(" close=")"><m:mi>x</m:mi></m:mfenced></m:mrow><m:mo>-</m:mo><m:mrow><m:mi>f</m:mi><m:mo>⁢</m:mo><m:mfenced open="(" close=")"><m:mi>y</m:mi></m:mfenced></m:mrow></m:mrow></m:mrow><m:mo>&lt;</m:mo><m:mi>ϵ</m:mi></m:mrow></m:math></Math> for all <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\absval{x-y}&lt;\delta" xml:id="continuous.p5.p1.p1.m6" text="absval@(x - y) less delta"><om:OMOBJ><om:OMA><om:OMS cd="latexml" name="less-than"/><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="latexml" name="minus"/><om:OMV name="x"/><om:OMV name="y"/></om:OMA></om:OMA><om:OMV name="δ"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mrow><m:mi mathcolor="red">absval</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>x</m:mi><m:mo>-</m:mo><m:mi>y</m:mi></m:mrow></m:mrow><m:mo>&lt;</m:mo><m:mi>δ</m:mi></m:mrow></m:math></Math>
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!-- %%% Local Variables:
+ %%% mode: LaTeX
+ %%% TeX-master: "paper"
+ %%% End:-->
+ <omgroup layout="sectioning" xml:id="sec.differentiable" about="#sec.differentiable" stex:srcref="differentiable.tex#textrange(from=1;0,to=12;13)">
+ <metadata xml:id="sec.differentiable.p1" about="#sec.differentiable.p1" stex:srcref="differentiable.tex#textrange(from=1;0,to=11;12)">
+ <dc:title stex:srcref="differentiable.tex#textrange(from=1;0,to=12;13)" xml:id="sec.differentiable.p1.p1" about="#sec.differentiable.p1.p1">
+ <p xml:id="sec.differentiable.p1.p1.p1" about="#sec.differentiable.p1.p1.p1" stex:srcref="differentiable.tex#textrange(from=1;0,to=12;13)">Differentiable Functions</p>
+ </dc:title>
+ </metadata>
+ <theory xml:id="differentiable" about="#differentiable" stex:srcref="differentiable.tex#textrange(from=2;0,to=11;12)">
+ <imports from="./continuous.omdoc#continuous" xml:id="differentiable.p1" about="#differentiable.p1" stex:srcref="differentiable.tex#textrange(from=3;0,to=3;37)"/>
+ <symbol name="difffunctions" xml:id="difffunctions.sym" about="#difffunctions.sym" stex:srcref="differentiable.tex#textrange(from=4;1,to=4;48)"/>
+ <notation cd="differentiable" name="difffunctions">
+ <prototype>
+ <om:OMA>
+ <om:OMS cd="differentiable" cr="fun" name="difffunctions"/>
+ <expr name="arg1"/>
+ <expr name="arg2"/>
+ </om:OMA>
+ </prototype>
+ <rendering>
+ <Math xmlns="http://dlmf.nist.gov/LaTeXML" xml:id="differentiable.m1" text="C ^ 1 * open-interval@(arg:1, arg:2)">
+ <om:OMOBJ>
+ <om:OMA>
+ <om:OMS cd="arith1" name="times"/>
+ <om:OMA>
+ <om:OMS cd="ambiguous" name="superscript"/>
+ <om:OMV name="C"/>
+ <om:OMI>1</om:OMI>
+ </om:OMA>
+ <om:OMA>
+ <om:OMS cd="latexml" name="open-interval"/>
+ <om:OMV name="arg:1"/>
+ <om:OMV name="arg:2"/>
+ </om:OMA>
+ </om:OMA>
+ </om:OMOBJ>
+ <m:math display="inline">
+ <m:mrow>
+ <m:msup>
+ <m:mi mathvariant="script">C</m:mi>
+ <m:mn>1</m:mn>
+ </m:msup>
+ <m:mo>⁢</m:mo>
+ <m:mfenced open="(" close=")">
+ <m:mrow>
+ <m:mi>arg:1</m:mi>
+ <m:mo>,</m:mo>
+ <m:mi>arg:2</m:mi>
+ </m:mrow>
+ </m:mfenced>
+ </m:mrow>
+ </m:math>
+ </Math>
+ </rendering>
+ </notation>
+ <symbol name="differentiable" xml:id="differentiable.def.sym" about="#differentiable.def.sym" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)"/>
+ <definition for="differentiable continuous" xml:id="differentiable.p4" about="#differentiable.p4" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)">
+ <CMP xml:id="differentiable.p4.p1" about="#differentiable.p4.p1" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)">
+ <p xml:id="differentiable.p4.p1.p1" about="#differentiable.p4.p1.p1" stex:srcref="differentiable.tex#textrange(from=6;1,to=10;16)">
+A function <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\fun{f}{\RealNumbers}{\RealNumbers}" xml:id="differentiable.p4.p1.p1.m1" text="fun@(f, RealNumbers, RealNumbers)"><om:OMOBJ><om:OMA><om:OMS cd="functions" name="fun"/><om:OMV name="f"/><om:OMS cd="reals" name="RealNumbers"/><om:OMS cd="reals" name="RealNumbers"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi mathcolor="red">fun</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>f</m:mi><m:mo>, </m:mo><m:mi mathcolor="red">RealNumbers</m:mi><m:mo>, </m:mo><m:mi mathcolor="red">RealNumbers</m:mi></m:mrow></m:mrow></m:math></Math> is called <idx xml:id="differentiable.p4.p1.p1.p2" about="#differentiable.p4.p1.p1.p2" stex:srcref="differentiable.tex#textrange(from=6;4,to=7;80)"><idt><term cd="differentiable" name="differentiable" role="definiendum" xml:id="differentiable.p4.p1.p1.p2.p1" about="#differentiable.p4.p1.p1.p2.p1" stex:srcref="differentiable.tex#textrange(from=6;4,to=7;80)">differentiable</term></idt><ide index="default"><idp><text xmlns="http://dlmf.nist.gov/LaTeXML">differentiable</text></idp></ide></idx> at
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\inset{x}{\RealNumbers}" xml:id="differentiable.p4.p1.p1.m2" text="inset@(x, RealNumbers)"><om:OMOBJ><om:OMA><om:OMS cd="functions" name="inset"/><om:OMV name="x"/><om:OMS cd="reals" name="RealNumbers"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi mathcolor="red">inset</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>x</m:mi><m:mo>, </m:mo><m:mi mathcolor="red">RealNumbers</m:mi></m:mrow></m:mrow></m:math></Math>, iff for all <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\epsilon&gt;0" xml:id="differentiable.p4.p1.p1.m3" text="epsilon &gt; 0"><om:OMOBJ><om:OMA><om:OMS cd="latexml" name="greater-than"/><om:OMV name="ϵ"/><om:OMI>0</om:OMI></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi>ϵ</m:mi><m:mo>&gt;</m:mo><m:mn>0</m:mn></m:mrow></m:math></Math> there is a <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\delta&gt;0" xml:id="differentiable.p4.p1.p1.m4" text="delta &gt; 0"><om:OMOBJ><om:OMA><om:OMS cd="latexml" name="greater-than"/><om:OMV name="δ"/><om:OMI>0</om:OMI></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mi>δ</m:mi><m:mo>&gt;</m:mo><m:mn>0</m:mn></m:mrow></m:math></Math>, such that
+<Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\rfrac{\absval{f(x)-f(y)}}{\absval{x-y}}&lt;\epsilon" xml:id="differentiable.p4.p1.p1.m5" text="rfrac@(absval@(f * x - f * y), absval@(x - y)) less epsilon"><om:OMOBJ><om:OMA><om:OMS cd="latexml" name="less-than"/><om:OMA><om:OMS cd="reals" name="rfrac"/><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="latexml" name="minus"/><om:OMA><om:OMS cd="arith1" name="times"/><om:OMV name="f"/><om:OMV name="x"/></om:OMA><om:OMA><om:OMS cd="arith1" name="times"/><om:OMV name="f"/><om:OMV name="y"/></om:OMA></om:OMA></om:OMA><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="latexml" name="minus"/><om:OMV name="x"/><om:OMV name="y"/></om:OMA></om:OMA></om:OMA><om:OMV name="ϵ"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mrow><m:mi mathcolor="red">rfrac</m:mi><m:mo>⁡</m:mo><m:mrow><m:mrow><m:mi mathcolor="red">absval</m:mi><m:mo>⁡</m:mo><m:mrow><m:mrow><m:mi>f</m:mi><m:mo>⁢</m:mo><m:mfenced open="(" close=")"><m:mi>x</m:mi></m:mfenced></m:mrow><m:mo>-</m:mo><m:mrow><m:mi>f</m:mi><m:mo>⁢</m:mo><m:mfenced open="(" close=")"><m:mi>y</m:mi></m:mfenced></m:mrow></m:mrow></m:mrow><m:mo>, </m:mo><m:mrow><m:mi mathcolor="red">absval</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>x</m:mi><m:mo>-</m:mo><m:mi>y</m:mi></m:mrow></m:mrow></m:mrow></m:mrow><m:mo>&lt;</m:mo><m:mi>ϵ</m:mi></m:mrow></m:math></Math> for all <Math xmlns="http://dlmf.nist.gov/LaTeXML" mode="inline" tex="\absval{x-y}&lt;\delta" xml:id="differentiable.p4.p1.p1.m6" text="absval@(x - y) less delta"><om:OMOBJ><om:OMA><om:OMS cd="latexml" name="less-than"/><om:OMA><om:OMS cd="reals" name="absval"/><om:OMA><om:OMS cd="latexml" name="minus"/><om:OMV name="x"/><om:OMV name="y"/></om:OMA></om:OMA><om:OMV name="δ"/></om:OMA></om:OMOBJ><m:math display="inline"><m:mrow><m:mrow><m:mi mathcolor="red">absval</m:mi><m:mo>⁡</m:mo><m:mrow><m:mi>x</m:mi><m:mo>-</m:mo><m:mi>y</m:mi></m:mrow></m:mrow><m:mo>&lt;</m:mo><m:mi>δ</m:mi></m:mrow></m:math></Math>.
+</p>
+ </CMP>
+ </definition>
+ </theory>
+ </omgroup>
+ <!-- %%% Local Variables:
+ %%% mode: LaTeX
+ %%% TeX-master: "paper"
+ %%% End:-->
+ </omgroup>
+ <omgroup layout="sectioning" xml:id="concl" about="#concl" stex:srcref="paper.tex#textrange(from=118;0,to=121;13)">
+ <metadata xml:id="concl.p1" about="#concl.p1" stex:srcref="paper.tex#textrange(from=118;0,to=118;37)">
+ <dc:title stex:srcref="paper.tex#textrange(from=118;0,to=121;13)" xml:id="concl.p1.p1" about="#concl.p1.p1">
+ <p xml:id="concl.p1.p1.p1" about="#concl.p1.p1.p1" stex:srcref="paper.tex#textrange(from=118;0,to=121;13)">Conclusion</p>
+ </dc:title>
+ </metadata>
+ <omtext xml:id="concl.p2" about="#concl.p2" stex:srcref="paper.tex#textrange(from=118;0,to=121;13)">
+ <CMP xml:id="concl.p2.p1" about="#concl.p2.p1" stex:srcref="paper.tex#textrange(from=118;0,to=121;13)">
+ <p xml:id="concl.p2.p1.p1" about="#concl.p2.p1.p1" stex:srcref="paper.tex#textrange(from=118;0,to=121;13)">In this note we have given an example of standard mathematical markup and shown how a a
+<phrase xml:id="concl.p2.p1.p1.p1" about="#concl.p2.p1.p1.p1" stex:srcref="paper.tex#textrange(from=119;42,to=120;8)">sTeX</phrase> collection can be set up for automation.
+</p>
+ </CMP>
+ </omtext>
+ </omgroup>
+ <bibliography xmlns="http://dlmf.nist.gov/LaTeXML" files="kwarc" xml:id="bib">
+ <title>References</title>
+ </bibliography>
+</omdoc>
diff --git a/Master/texmf-dist/doc/latex/stex/example/paper/paper.xml.log b/Master/texmf-dist/doc/latex/stex/example/paper/paper.xml.log
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/paper/paper.xml.log
diff --git a/Master/texmf-dist/doc/latex/stex/example/test/Makefile b/Master/texmf-dist/doc/latex/stex/example/test/Makefile
new file mode 100644
index 00000000000..8417d489e81
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/stex/example/test/Makefile
@@ -0,0 +1,7 @@
+STEXDIR = ../..
+TARGET = Konzept-Bremsmodell.tex
+MODSLIBDIR = background
+
+include $(STEXDIR)/make/Makefile.vars
+all: omdoc mods pdf
+include $(STEXDIR)/make/Makefile.in