Skip to content

callum-atwal/texlive.js

 
 

Repository files navigation

texlive.js

This is a port of TeX live 2016 to Javascript. It creates PDF files from LaTeX code and supports packages.

Usage

This library supports both pdfTeX and bibTeX. However, the implementation of both differs slightly due to the nature of how you compile both.

To compile a file that does not have references (ie just pdftex input.tex), the code is as follows

let texlive = new TeXLive();
texlive.pdftex.compile(latex_source).then((pdf) => {
    // pdf is a base64 encoded string you can use
});

About

Compiling LaTeX (TeX live) in your browser for PeerLeaf

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TeX 97.8%
  • Perl 0.8%
  • HTML 0.3%
  • Lua 0.3%
  • PostScript 0.3%
  • Shell 0.2%
  • Other 0.3%