A few options for docker images running Textidote.
Available on Docker Hub at nsbruce/textidote.
Check out the linked repo above. It's a tool for spell and grammar-checking LaTeX documents.
This was my first foray into Docker-land so I did some playing. There are three Dockerfiles available. Obviously the size of them is dependent on the base images in use but the sizes at the time of this writing (Feb 2019) are listed below along with the difference between the images.
Alpine (Dockerfile)
The smallest, at 311MB.
Debian (Dockerfile.openjdk)
The only one running Textidote's .deb
instead of the .jar
at 460MB.
Java (Dockerfile.java)
The largest (788MB) but I suppose most likely to be stable? To use it, you need to download the .jar from the Textidote repo and build the docker image with textidote.jar
in the active directory.
(Easiest to just pull it right from Docker Hub.)
-
Rename whichever Dockerfile you choose from above to Dockerfile (no extension). If you choose the vanilla-Java version, also download
textidote.jar
. -
Build the docker image `docker build -t mytextidote .
-
Make textidoteDockerCMD.sh executable:
$ chmod +x textidoteDockerCMD.sh
. -
Run on your
.tex
file with$ .textidoteDockerCMD.sh yourFile.tex
- You can run normal textidote commands on it too..
$ ./textidoteDockerCMD.sh --check en --read-all --html yourFile.tex > yourOutput.html
- You can run normal textidote commands on it too..
Sylvain Hallé for Textidote