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 139 forks source link

XeLaTeX #4

Closed hoorzad closed 11 years ago

hoorzad commented 11 years ago

Is it possible that you make a js version of xelatex as well? I work with bidirectional documents that can't be compiled properly with pdftex.

manuels commented 11 years ago

probably. You have to create a tex format file (*.fmt).

for latex I created the format file like this (see pdftex.js repo for pdftex-bin): pdftex-bin -ini -etex latex.tex

hoorzad commented 11 years ago

I'm not TeXpret, but as far as I know XeLaTeX relies on XeTeX typesetting engine which is different from pdftex. I don't understand how it is possible to typeset a bidirectional document with pdftex just by creating a format file.

manuels commented 11 years ago

Oh, ok my fault. then you cannot use pdftex and you must compile the XeTeX compiler using emscripten.

manuels commented 11 years ago

Is this question answered. If so, can I close this issue?

hoorzad commented 11 years ago

Yes, thank you.

2013/1/21 manuels notifications@github.com

Is this question answered. If so, can I close this issue?

— Reply to this email directly or view it on GitHubhttps://github.com/manuels/texlive.js/issues/4#issuecomment-12478189.

lyze commented 8 years ago

I'm a little late to the party, but here's xelatex and xdvipdfmx in Javascript: lyze/xetex-js.

manuels commented 8 years ago

Cool, nice project, @lyze!