sTeX: An Infrastructure for Semantic Preloading of LaTeX Documents
This repository contains the sTeX package collection, a version of TeX/LaTeX that allows to markup TeX/LaTeX documents semantically without leaving the document format, essentially turning it into a document format for mathematical knowledge management (MKM).
Copyright & License
Copyright (c) 2019 Michael Kohlhase
The package is distributed under the terms of the LaTeX Project Public License (LPPL)
The GIT version can just be cloned in a directory
<sTeXDIR> of your choosing.
cd <sTeXDIR> git clone https://github.com/slatex/sTeX.git
Then update your
TEXINPUTS environment variable, e.g. by placing the following line in your
For a LaTeX IDE, update the directory path where
pdflatex looks for paths accordingly.
If you want to use MathHub-compatible organization into
mathematical archives (and that is usually a good idea) then you have to create a
MathHub root directory, e.g.
~/localmh/MathHub, and set the
variable adding the following to your
The sTeX distribution contains the following directories
sty: The packages and classes of the sTeX distribution
lib: bibTeX bibliography and Makefile inputs for the package/class generation and documentation
bin: a couple of utilities that make your life easier
doc: a space for documentation, currently only blue notes (ideas for the future)
example: a worked example of an sTeX paper.
test: the sTeX test suite imported via
git subrepo; run
make -B testat top level to test; run
git subrepo pull testto update; and run
git subrepo push testto contribute tests back upstream.