4 ms·
Some background would be nice. Wasn't LaTeX notoriously hard to port – to the point that a LateX app for iPad actually ran in an emulator initially [1]. Is this
by micheljansen 14y ago
Some background would be nice. Wasn't LaTeX notoriously hard to port – to the point that a LateX app for iPad actually ran in an emulator initially [1]. Is this port based on web2c as well?
[1] http://www.litchie.com/?p=419 http://www.litchie.com/?p=419
- simonster 14y agoThis looks like emscripten to me
- mih 14y agoNevertheless it's a good effort as a proof of concept. I'd also appreciate info on whether Latex packages will be supported in the future. At the moment this does not seem to be the case, though I can imagine this would be a challenging problem to solve for in-browser compilation of documents.
- manuels__ 14y agoLatex packages are not supported automatically. The script has to download the required files in advance which is currently only done for the font file etc. In theory one could search the LaTeX code for '\usepackage' stings and download the required files and mount them into the virtual filesystem of emscripten. See https://github.com/manuels/texlive.js/blob/master/website/main.js#L38 https://github.com/manuels/texlive.js/blob/master/website/ma...