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
Latexmlc epub generation fails on Windows #806
Comments
Hi @charlyms , the error you've pasted from the Windows run comes from Calibre rather than LaTeXML, which is rather confusing. How is calibre involved? As a general remark, latexml is developed and tested most heavily under linux, so you're bound to avoid a class of potential OS-compatibility problems by using it under Ubuntu. But we're happy to help fix Windows issues as well. |
I agree to OS-compatibility problems, but strange enough Calibre (Windows) opens epub-files converted on Ubuntu and not of it´s own OS. Traceback (most recent call last): |
So, if I'm following this, you're getting different epub files from running latexmlc on windows and ubuntu? And the one produced on windows isn't accepted by calibre? (on windows, unbuntu, or both?). If that's the case, I guess it would be necessary to compare the two files and see what's different about them. Alas @dginev is the epub expert around here :> |
The files produced by Windows are not accepted on Windows and Ubuntu! |
@charlyms earlier you had said they worked under Ubuntu, is that still the case? If it's a OS-difference in Calibre that is responsible, then it is indeed out of our hands here. If you think latexml is producing invalid/unacceptable epub, it would be really great to include an example file with some details, so that I can quickly patch it. But indeed calibre issues should be taken to the calibre team, sadly we can't be of much help on that front. Thanks for letting us know! |
Hello, |
Thanks, I have reclassified the issue and will take a look. Sadly, I no longer actively maintain a Windows installation of latexml, as it is not my primary operating system for development. If there is anyone reading this issue who is interested in helping with maintenance of latexml under Windows, help would be very highly appreciated! |
There's at least this misunderstanding: we never said that the problem is with calibre (although it ultimately might be.) The file you posted on filedropper: is that the epub produced under windows? It appears to be corrupt. I can't tell if that interpretation is consistent with the python stack trace. |
Hello, |
That's what "testing myself" meant above. |
Thanks, I have reclassified the issue and will take a look. Sadly, I no longer actively maintain a Windows installation of latexml, as it is not my primary operating system for development. If there is anyone reading this issue who is interested in helping with maintenance of latexml under Windows, help would be very highly appreciated! What are all the prerequisites to be a maintainer of latexml under windows. I am interested. |
@senthilmm: Cool! I think the main prerequisite is a willingness to try! :> Really, just windows, use a git clone, rather than only official releases, and enough familiarity with Perl (or good programming instincts) to experiment a bit. Our main problems with Windows, I think, are simply the collisions between our unixy intuitions about pathnames and callouts to the commandline (eg. kpsewhich) that clash with the windows ways of doing things. Past cases have found that counterintuitive (to me) trickery is needed to properly quote paths & commandlines that probably come natural to folks versed in Windows. |
Hello,
I tried to convert some arxiv.org-stuff from source to epub but failed with Windows 10:
Trying with Ubuntu 16.04 I succeed.
Do this depend on the different versions of LaTeXML?
Regards from Germany
Charlyms
The text was updated successfully, but these errors were encountered: