texlive.js
texlive.js copied to clipboard
latex.fmt doesn't match pdftex.pool
When trying to create a pdf file I get this error:
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
restricted \write18 enabled.
---! //texmf-var/web2c/pdftex/latex.fmt doesn't match pdftex.pool
(Fatal format file error; I'm stymied)
The latex.fmt
file itself appears to be fine, the exemplary index.html
runs well with texlive.js in its own directory... when I want to use it in my project, it won't work though. Guess it is some weird directory structure or filesystem problem then. From the networking tab of Firefox's devtools I can see that the latex.fmt
is requested and received properly, very strange thing. Maybe someone has an idea?
You probably have recompiled the project, right? Then you must use the newly compiled latex.fmt and pdftex.pool. I also experienced some strange issues with caching in Firefox (I think you can try the 'private mode' to check if this is an issue).
Can you elaborate on the caching issues?
2016-03-18 9:54 GMT+01:00 manuels [email protected]:
You probably have recompiled the project, right? Then you must use the newly compiled latex.fmt and pdftex.pool. I also experienced some strange issues with caching in Firefox (I think you can try the 'private mode' to check if this is an issue).
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/manuels/texlive.js/issues/41#issuecomment-198262135
A note on recompiling: You will need emscripten 1.35.5 or newer
2016-03-18 12:58 GMT+01:00 Felix Zimmermann [email protected]:
Can you elaborate on the caching issues?
2016-03-18 9:54 GMT+01:00 manuels [email protected]:
You probably have recompiled the project, right? Then you must use the newly compiled latex.fmt and pdftex.pool. I also experienced some strange issues with caching in Firefox (I think you can try the 'private mode' to check if this is an issue).
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/manuels/texlive.js/issues/41#issuecomment-198262135
Can you elaborate on the caching issues?
Well, I experienced some strange behavior a while a go: I got this error in Firefox (my default browser) but not in Chrome using exactly the same setup. Then I used the private mode in Firefox and it worked there, too. So I cleared the Firefox cache and I got rid of this error.
Yes I did recompile it, but I've also tried the original version. I linked the texlivejs directory in my project, therefore it is using the very same files which are also used when I open the index.html from texlivejs directly.
I saw that the size of the retrieved latex.fmt
differs quite a lot from the proper one so it seems to be indeed a caching issue. But it is a very strange one. Neither a private window nor clearing the cache manually and restarting firefox solves it. In Chrome everything works but I run into memory limitations (which is a different story).