manuels / texlive.js

Compiling LaTeX (TeX live) in your browser
http://manuels.github.com/texlive.js/
GNU General Public License v2.0
1.25k stars 140 forks source link

Changes to compile with current emscripten& fix for gzip issue #33

Closed fzimmermann89 closed 8 years ago

fzimmermann89 commented 8 years ago

These are patches to compile with emscripten 1.35.

Instead of having the binaries (tangle, ...) in the repo those created with the binary target are used. Using the texmf.cnf file from texlive and putting the latex.fmt file in the correct location simplifies the pdflatex call. texlive is updated to 2015 and stripped of some unneccessary files (eg binaries, help, useless fmt files). The changes made to pdftex-worker.js after the last recompile are applied to pre.js, and those are made closure compatible.

The recompile is done with a patched emscripten compile which fixes the gzip issue.

xylo04 commented 8 years ago

Woo! If you've fixed that dang gzip issue, I will buy you a beer or any other beverage you want! Slimming down the fileset is a welcome change too!

manuels commented 8 years ago

Sorry for treating this project so shabbily in the last time. I've got so many things in my head right now.

xylo04 commented 8 years ago

@manuels no worries, life happens! :) I have no idea when I might get time to integrate this.