0

Running MacTex 2019, all packages updated, and suddenly every \includegraphics instance returns the following error:

Package luatex.def Error: File 'path/to/file' not found: using draft setting.

I haven't any clue about what's going on except this other post about a similar issue with MiKTeX: MiKTeX graphics version 1.3b bug on Windows 10 (\set@curr@file undefined)

Every file I tried was compiling fine a month ago or so.

fdiog
  • 197

1 Answers1

0

Sorry, path/to/file was just a placeholder.

But I found the exact problem and possible workarounds while it is fixed.

My exact problem is described here: grffile & lualatex does not work together anymore (Oct 2019)

And here is the discussion on Github: https://github.com/ho-tex/oberdiek/issues/73

A temporary workaround is explained here: https://github.com/ho-tex/oberdiek/issues/73#issuecomment-543101052

fdiog
  • 197
  • 3
    note that no one other than you could have answered your question as you hadn't even mention grffile in the question. – David Carlisle Nov 04 '19 at 18:17
  • I am very sorry about that. But, by the time I wrote my first message I didn't have any clue about what was going on. Further research pointed me to that direction, the interaction between grffile and lualatex. I mark the post as answered in case it is useful to anyone. My apologies. – fdiog Nov 06 '19 at 17:51
  • sure: no harm done really but just to explain why questions should almost always include a complete small document that shows the error. Then you don't need to guess what the issue is, people can see it and debug. – David Carlisle Nov 06 '19 at 18:27