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

Lots of problems with journal article tex's #40

Closed
jaggzh opened this issue Oct 16, 2017 · 1 comment
Closed

Lots of problems with journal article tex's #40

jaggzh opened this issue Oct 16, 2017 · 1 comment

Comments

@jaggzh
Copy link

jaggzh commented Oct 16, 2017

So, many publications in arxiv.org have their pdf's as well as their source files available. I've had almost no success with conversions of their documents to html.
Here's just one example of many:
https://arxiv.org/format/1708.01692
The PDF is there, with the "source" file (named .bin, but it's a tar).
I'm currently using a command-line like:

latex2html -noshow_section_numbers -verbosity 1 -no_math -split 0 -dir html whatever.tex

I get a lot of failed images (it seems the temporary image file is 0 length. I had to modify latex2html to examine that). Here's a failed image output error:
Converting image #75
pstoimg: Error: "/usr/bin/pnmcrop -verbose < /tmp/l2h1347/p16645.pnm > /tmp/l2h16347/p16645.t00" failed: Illegal seek

Again, that seems to be after the broken creation of the .pnm

Here is the full run's output:
http://paste.debian.net/990964/

Thanks a lot. I hope someone can help.

Jaggz

@jaggzh
Copy link
Author

jaggzh commented Oct 19, 2017

Other examples of image errors...
From the source file .bin (.tar) at: https://arxiv.org/format/1706.03762
Processing the file (from the .tar): model_architecture.tex

Converting image #21
Converting image #22
Converting image #23
pstoimg: Error: "/usr/bin/pnmcrop -verbose < /tmp/l2h9809/p10243.pnm | /usr/bin/pnmcrop -verbose -bot -sides -sides | /usr/bin/pnmcrop -verbose -l -sides -sides > /tmp/l2h9809/p10243.t00" failed: Illegal seek

Error while converting image

Error: Cannot read 'img23.png': No such file or directory
Converting image #24
Converting image #26 Converting image #27
Converting image #28 Converting image #29
Converting image #30
Converting image #31
Converting image #32
Converting image #34
Converting image #23
pstoimg: Error: "/usr/bin/pnmcrop -verbose < /tmp/l2h9809/p10422.pnm | /usr/bin/pnmcrop -verbose -bot -sides -sides | /usr/bin/pnmcrop -verbose -l -sides -sides > /tmp/l2h9809/p10422.t00" failed: Illegal seek

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

1 participant