Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latex.fmt doesn't match pdftex.pool #41

Open
swenzel opened this issue Mar 15, 2016 · 5 comments
Open

latex.fmt doesn't match pdftex.pool #41

swenzel opened this issue Mar 15, 2016 · 5 comments

Comments

@swenzel
Copy link

swenzel commented Mar 15, 2016

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?

@manuels
Copy link
Owner

manuels commented Mar 18, 2016

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).

@fzimmermann89
Copy link
Contributor

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
#41 (comment)

@fzimmermann89
Copy link
Contributor

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
#41 (comment)

@manuels
Copy link
Owner

manuels commented Mar 18, 2016

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.

@swenzel
Copy link
Author

swenzel commented Mar 22, 2016

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants