Texmlbus (Tex to XML BUild System) supports the conversion process of documents written in LaTeX. Documents can not only be converted to pdf, but also to other output formats – such as markup languages like html. In particular, conversion to XML, HTML and MathML is supported via LaTeXML. texmlbus can schedule jobs among several workers (possibly on different hosts), extracts and analyzes the conversion process of each document and stores results in its own database. Result documents as well as statistics about the results of the build process can be easily retrieved using a web browser.
The whole system runs inside docker containers.
Download Docker Desktop for Mac or Windows. Docker Compose will be automatically installed. On Linux, make sure you have the latest version of Compose.
1. git clone https://github.com/stamer/texmlbus.git
2. cd texmlbus
3. docker-compose up
5. # Please be patient when images are downloaded the very first time, as a full
# TeXLive system will be installed. Later the system will startup much faster.
6. # Go to http://localhost:8080 or https://localhost:8443
7. # press Ctrl-C to stop the system.
If you would like to develop with latexml, you can also build the images yourself and update the images after changes.
1. git clone --recursive https://github.com/stamer/texmlbus.git
2. cd texmlbus
3. git submodule update --init --recursive
4. docker-compose -f docker-compose.yml -f docker-compose-build.yml build
# `docker compose build` (v2, without hyphen) does not currently work, use `build-images.bat`
# or `build-images.sh` then.
# see issues for explanation.
# Please be patient when the system is installed the very first time, as a full
# TeXLive system will be installed. Later the system will startup much faster.
# The system will continue after displaying OK: 3xxx MiB in 1xx packages. Please be patient.
5. docker-compose up
6. # Go to http://localhost:8080 or https://localhost:8443
7. # press Ctrl-C to stop the system.
In order to run several (here three) workers in parallel enter
docker-compose up --scale latexml_dmake=3
Install and start the app as described above.
- Goto http://localhost:8080
- Click on Create Sample Set in the top menu.
- Click on Create Samples button.
- Click on Scan samples directory button to import some sample documents
- Goto Documents alphabetically to see the documents.
- Click on queue to convert a document.
- Click on Destfile to see the converted document.
If you upgrade from previous versions, you might want to adapt your makefiles to the new source code layout. Go to Import / Manage
--> Fix Makefiles and click on the button there.
The wiki contains how-tos and provides help if you have any issues using texmlbus.
Any feedback is welcome, you can use the the issues page for that.
Many thanks to the great people at Overleaf for sponsoring this project.
This project is licensed under the MIT License - see the LICENSE.md file for details.