Welcome to the TeX and LaTeX documentation lookup system.
You are visiting the front-end for the TeXdoc online software. In the backend, it is running a RESTful API that provides a few endpoints for you to use. Please make sure you read the following instructions about what to expect and what not to.
Each of these requests will return either HTTP status code 200 (OK) or, in the case of any error, HTTP status code 422 (Unprocessable Entity). The
/versionendpoint is guaranteed not to fail.
|This endpoint returns the versions of the API and data format (
|On this path, the list of entries is returned that a local call to
|This call results in the file corresponding to the documentation file at index
|This endpoint is actually a shortcut to the
|This endpoint returns the list of topics known to the application specified by their
|This endpoint returns details for a topic by returning the
TeXdoc online is an open-source product available at its GitLab repository page. It consists of one server component that does host the API and the front-end at the same time. If you simply want to have these features available to you, download the latest build artifacts from there (i.e. the JAR file with dependencies) and run it with your local Java installation. Please note that the software requires a local TeX distribution installed and internet connection for fetching the topics.
When running the JAR file, a local webserver will start up and host the service at
127.0.0.1:8080which is configurable through the command-line switches. Calling this address will open up the web interface. Appending API paths will execute the API calls and return the JSON objects. To stop the server from running, simply CTRL+Cthe Java process.
Alternatively, the preferred way to host your own instance should be running our Docker container (a list of available tags may be foundat GitLab). The Docker container runs the web service as its entrypoint so running the server will start up the web server . Because the Docker container is built on top of our TeXLive images, it does not require a local TeX installation which might be beneficial for web servers. Internet connection is required,though. This all comes at the cost of being quite a big docker image of some gigabytes.
If your Docker container runs for multiple days, it features an automated update of TeXLive. Every day at 00:01 in the morning, a full update of the distribution is performed updating to the latest and greatest package versions TeX Live has to offer. Please note, that updates between distribution releases will not be performed that way; in order to upgrade from TL 2020 to TL 2021 you would need to pull the latest Docker image again but that means that the need for re-pulling the Docker image reduces to once per year.