Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 846 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 846 Bytes

texlive.js

This is a port of TeX live 2012 to Javascript. It is based on my port of the pdftex TeX compiler to Javascript using emscripten. It creates PDF files from LaTeX code and supports (some) packages.

Supported Packages

To use packages in texlive.js, the corresponding package file must be downloaded before compilation, otherwise pdftex will not be able to find these files.

For adding support for new packages, find out which files are required by this package (e.g. by running strace -e open pdflatex test.tex on your computer for some test file that uses the package). Then add these files to main.js (see for example the entries for the geometry package).

Currently supported packages:

  • geometry
  • graphicx
  • begriff