/docker-latex

TexLive docker image with PSCyr support

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Supported tags and respective Dockerfile links

sigan/latex

What is LaTeX?

LaTeX is a document preparation system. When writing, the writer uses plain text as opposed to formatted text, as in WYSIWYG word processors like Microsoft Word or LibreOffice Writer. The writer uses markup tagging conventions to define the general structure of a document (such as article, book, and letter), to stylize text throughout a document (such as bold and italic), and to add citations and cross-references. A TeX distribution such as TeX Live or MikTeX is used to produce an output file (such as PDF or DVI) suitable for printing or digital distribution.

wikipedia.org/wiki/LaTeX

logo

How to use this image

Run a single TexLive script

To compile your LaTeX work use Docker image directly:

$ docker run -it --rm --name latexmk --net=none -v "$PWD":/data sigan/latex latexmk -pdf -pdflatex="pdflatex %O %S" your_super_latex_file

You can use any other latex commands if you know how.

Also, you can copy scripts from bin/ folder to you /usr/local/bin on the system. So, for example, jupyter-notebook will work.

Notes

The image assumes that your latex files, styles, and extra files are located in some directory and you run script described above from this location.

Image Variants

sigan/latex:latest

This is default image with preinstalled and configured TexLive package. Latex extras, science packages, and common fonts are included. Only English and Russian language packs are installed. There is also PSCyr fonts.

Supported Docker versions

This image is officially supported on Docker version 1.12.0.

Support for older versions (down to 1.6) is provided on a best-effort basis.

Please see the Docker installation documentation for details on how to upgrade your Docker daemon.

User Feedback

Issues

If you have any problems with or questions about this image, please contact us through a GitHub issue.

Contributing

You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests and do our best to process them as fast as we can.

Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.