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

Errors "File `foo_0' not found." and "Unknown keyword ("foo_0".eps)" #135

Closed
magula opened this issue Jan 10, 2020 · 2 comments
Closed

Errors "File `foo_0' not found." and "Unknown keyword ("foo_0".eps)" #135

magula opened this issue Jan 10, 2020 · 2 comments

Comments

@magula
Copy link

magula commented Jan 10, 2020

When I'm trying to compile a simple graph plotting example from the documentation's gallery using asy -tex lualatex foo.asy, a log is printed, saying

This is LuaTeX, Version 1.10.0 (TeX Live 2019/Arch Linux) 
 restricted system commands enabled.
LaTeX2e <2019-10-01> patch level 1

[...]

(/usr/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))

! LaTeX Error: File `foo_0' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.55 \includegraphics{foo_0}
                          %
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./foo_.aux))
[...]

When I'm using asy -tex latex foo.asy instead, a log is printed, saying

dvips: Unknown keyword ("foo_0".eps) in \special will be ignored
dvips: No \special psfile was given; figure will be blank

When I'm using asy -tex [pdflatex|tex] foo.asy, everything seems to work as expected.

The same happens for at least another example from the gallery (but not for all of them), but it's not limited to graphs -- e.g., the following will produce the same errors (but not if you remove any one of the last two lines):

pair P = (350.794, 102.062);
pair Q = (-P.y, P.x);

label(rotate(angle(P)/3.1415926*180)*Label("Lion King"), 68pt * unit(P) + 12pt * unit(Q), align = unit(P), darkgray);
clip(scale(7.5cm)*unitsquare);

I know that the last example worked fine until recently, so the issue seems to be pretty new.

@lemniscati
Copy link
Contributor

Is it related to an issue on grffile (ho-tex/grffile#1) ?

@johncbowman
Copy link
Member

Yes, this is likely related to the grffile file bug; you may need to update grffile as described in the above bug report. Make sure you are using the latest version (2.61 or later) of asy.

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