auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AUCTeX does not ask for width for \includegraphics macro anymore


From: Kourosh Kalayeh
Subject: Re: AUCTeX does not ask for width for \includegraphics macro anymore
Date: Thu, 09 Nov 2023 20:50:29 -0500
User-agent: mu4e 1.10.7; emacs 29.1

On Nov 09, 2023 Arash Esbati <arash@gnu.org> wrote:

> Thanks, now I understand what's happening.  beamer.el contain these
> lines:
>
>     '("includegraphics" [TeX-arg-beamer-overlay-spec]
>       [TeX-arg-key-val (LaTeX-graphicx-key-val-options) nil nil ?\s]
>       LaTeX-arg-includegraphics)
>
> So it overrules the definition in graphicx.el by adding one more
> optional argument which you see as '(Optional) Overlay:'.  Now you hit
> return and this means that the optional argument is rejected.  With the
> setup below:
>
>> Its value is `'show-optional-args''.
>
> You are not asked for the next optional argument which can contain
> 'width', and that's what you're looking for.  So you can set
> `TeX-insert-macro-default-style' to `show-all-optional-args' and try it
> again.

Perfect, it did the trick.

Thanks a lot Arash.

Kourosh 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]