0

Using GNU Emacs 26.3, I have a tex file with \usepackage{graphicx} and AUCTeX enabled. However, inserting a includegraphics macro does not prompt for the optional arguments defined in graphicx.el LaTeX-graphicx-key-val-options but only for llx, lly and urx, ury.

Any ideas on how to debug the wrong behavior?

1
  • Updating auctex solved the issue. – Somebody Feb 2 at 16:40
0

graphicx.el has this entry for includegraphics:

'("includegraphics" (TeX-arg-conditional (member "graphics" (TeX-style-list))
                                         (["llx,lly"] ["urx,ury"])
                                         ([ LaTeX-arg-graphicx-includegraphics-key-val ]))

I suspect you're also loading the graphics package besides graphicx in your .tex file.

1
  • Unfortunately I don't. I tested with a minimal .tex which exclusively uses graphicx and emacs -q. – Somebody Jan 20 at 19:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.