0

Can anyone suggest an idea why the code below reports an error?

! Undefined control sequence.
\Ginclude@graphics ...\Ginput@path \set@curr@file 

                                                  {#1}\edef \uq@curr@file {\...

l.7 \includegraphics{HR.jpg}

I'm using MiKTeX 2.9 on Windows 10 and it fails with all LaTeX'es except LuaLateX.

\documentclass[10pt,a4paper]{article}
\usepackage{graphicx}

\begin{document}

\begin{figure}
\includegraphics{HR.jpg}
\end{figure}

\end{document}
epR8GaYuh
  • 2,432
  • Welcome to TeX.SE! See https://tex.stackexchange.com/questions/511749/miktex-graphics-bug-persists-for-miktex. – Zarko Oct 11 '19 at 03:53
  • Using recent 64-bit MikTeX I can compile your MWE with some my .png image without any problem. – Zarko Oct 11 '19 at 04:12
  • That is what I expected. I just wonder if anyone has ever met such kind of a problem and possibly have a solution to it. – sergey g Oct 11 '19 at 04:22
  • @sergeyg Probably you are running LateX instead of PDFLaTeX as you are using .jpg image... – MadyYuvi Oct 11 '19 at 05:48
  • The only difference I see is that LuaLatex uses LaTeX2e <2019-10-01>, while other failing latex'es are using LaTeX2e <2018-12-01>. – sergey g Oct 11 '19 at 06:02
  • Yes, it is duplicate as stated above. Thank you for helping me! – sergey g Oct 11 '19 at 06:04

0 Answers0