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

\graphicspath again #787

casio7131 opened this issue Jul 10, 2016 · 1 comment

\graphicspath again #787

casio7131 opened this issue Jul 10, 2016 · 1 comment


Copy link

[I originally followed up in ticket #773 but I making a new ticket since it seems it was missed since that is closed]

But I just got around to testing with the \graphicspath fix from above. I'm not sure whether I'm making a mistake?, or whether there is another bug here? So I will post here and see.

See this ZIP for simple example (sorry I can't see how to attach to the ticket).

Here is my: \graphicspath{{../../fig/},{../fig/}} where my figures are located in the 2nd folder. When I use these commands:

latexml graphicspath.tex --dest=OUT.xml
latexmlpost OUT --dest=OUT.html

I get an error about missing graphics file:

(Graphics OUT.html processing...
Warning:expected:source No graphic source specified; skipping
    In Post::Graphics[@0x4656748] ->processGraphic
 0.03 sec)

But if I manually add the "../fig" folder to the path like this:

latexml graphicspath.tex --dest=OUT.xml --path=../fig
latexmlpost OUT --dest=OUT.html

then the figure is found.

So I'm wondering whether this extra `--path=../fig' is actually necessary? I would assume it isn't and that the ../fig folder should be picked up from \graphicspath. But maybe I'm wrong?

@dginev dginev added this to the LaTeXML-0.8.3 milestone Jul 10, 2016
Copy link

Ugh, typo, so paths didn't get carried over into the processing-instructions; fixed now. Thanks for the report!

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

No branches or pull requests

3 participants