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

2023-11-12 Thread Kourosh Kalayeh
On Nov 11, 2023 Arash Esbati wrote: > Kourosh Kalayeh writes: > >> On Nov 10, 2023 Arash Esbati wrote: >> >>> Great, glad this issue is resolved. I wonder if we should introduce >>> something similar to `TeX-arg-cite-note-p' for beamer which suppresses or

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

2023-11-10 Thread Kourosh Kalayeh
On Nov 10, 2023 Arash Esbati wrote: > Kourosh Kalayeh writes: > >> On Nov 09, 2023 Arash Esbati wrote: >> >>> 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 >>>

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

2023-11-09 Thread Kourosh Kalayeh
On Nov 09, 2023 Arash Esbati 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

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

2023-11-09 Thread Kourosh Kalayeh
Thanks for your response Arash. Sure, see below. On Nov 09, 2023 Arash Esbati wrote: > Kourosh Kalayeh writes: > >> I am still facing this issue (AUCTeX not asking for `width' in >> `\includegraphics' macro) in `beamer' mode. I have tried `Emacs -Q' >> and same th

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

2023-11-09 Thread Kourosh Kalayeh
Hi all, I am still facing this issue (AUCTeX not asking for `width' in `\includegraphics' macro) in `beamer' mode. I have tried `Emacs -Q' and same thing happens. Can anyone please confirm if the issue persists or resolved on your end. I am running AUCTeX 13.2.2 on GNU Emacs 29.1 (build 2,

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

2023-03-22 Thread Kourosh Kalayeh
On 17 Mar 2023, at 2:36, Tassilo Horn wrote: > Kourosh Kalayeh kay...@pm.me writes: > >>> I do, too, so just using those two shouldn't be problematic. BTW, >>> during key-val completion (through multi-prompt-key-value) I see no >>> sign of vertico/mag

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

2023-03-16 Thread Kourosh Kalayeh
On 8 Mar 2023, at 2:35, Tassilo Horn wrote: > Kourosh Kalayeh kay...@pm.me writes: > >>> Do you use some non-standard completion framework? >> >> Yes, I am using Vertico and Marginilia. > > I do, too, so just using those two shouldn't be problematic. BTW, >

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

2023-03-07 Thread Kourosh Kalayeh
Hi Tassilo and Ikumi, On 7 Mar 2023, at 13:57, Tassilo Horn wrote: > In that screenshot, you are queried for the overlay which is a free-form > string. That's nothing AUCTeX could complete. This was a mistake. Sorry about that. > Do you use some non-standard completion framework? Yes, I am

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

2023-03-06 Thread Kourosh Kalayeh
On 6 Mar 2023, at 2:34, Ikumi Keita wrote: > Didn't you hit just RET for "(Optional) Overlay:" query? If so, that's > default behavior of AUCTeX: When you hit just RET for a query of > optional argument, the rest of queries of optional argument is skipped. > To avoid that behavior, customize

Generating separate bibliography document from multiple LaTeX files

2022-10-04 Thread Kourosh Kalayeh
Hi everyone! I am working on an NIH grant, and as part of its requirements I have to have all my references from different documents (background and goals, research strategy, etc.) in one single file. The references need to be numbered in the documents and in continuation of one another (for

Re: \frametitle macro is not automatically indented in frame environment in beamer

2021-08-26 Thread Kourosh Kalayeh
On 26 Aug 2021, at 9:09, Tassilo Horn wrote: > Arash Esbati writes: > >>> I installed it through ELPA and emacs package manager >>> (`package-install auctex`). >> >> Ok, the next release might be soon if you kindly ask the release >> manager (CC'ed) :-). > > I've just released GNU AUCTeX

Re: \frametitle macro is not automatically indented in frame environment in beamer

2021-08-26 Thread Kourosh Kalayeh
On 26 Aug 2021, at 8:35, Arash Esbati wrote: Kourosh Kalayeh writes: I added `(add-hook 'LaTeX-mode-hook #'turn-on-auto-fill)` in my init file, and as suggested it does the automatic indenting but it messes up my formatting which might be fine, I am giving it a shot. Thanks. "Mess

Re: \frametitle macro is not automatically indented in frame environment in beamer

2021-08-26 Thread Kourosh Kalayeh
On 26 Aug 2021, at 7:51, Arash Esbati wrote: Thibaut Verron writes: On 25/08/2021 16:52, Arash Esbati wrote: Hence, you have to turn that mode on in order to get the old behaviour with something like this in your init file: (add-hook 'LaTeX-mode-hook #'turn-on-auto-fill) With the

Re: \frametitle macro is not automatically indented in frame environment in beamer

2021-08-25 Thread Kourosh Kalayeh
On 25 Aug 2021, at 10:45, Thibaut Verron wrote: No worries, thank you for clarification. I ran |C-h v| with |auto-fill-function| as an argument (while in AUXTeX mode), and I got its value as nil. Thanks, Kourosh Okay, then it looks like a new behavior indeed. It appears that the

Re: \frametitle macro is not automatically indented in frame environment in beamer

2021-08-25 Thread Kourosh Kalayeh
On 25 Aug 2021, at 10:27, Thibaut Verron wrote: On 25/08/2021 16:11, Kourosh Kalayeh wrote: On 25 Aug 2021, at 10:06, Thibaut Verron wrote: On 25/08/2021 16:00, Kourosh Kalayeh wrote: Hi all, After most recent update of AUCTeX, I have noticed something has changed

Re: \frametitle macro is not automatically indented in frame environment in beamer

2021-08-25 Thread Kourosh Kalayeh
On 25 Aug 2021, at 10:27, Thibaut Verron wrote: On 25/08/2021 16:11, Kourosh Kalayeh wrote: On 25 Aug 2021, at 10:06, Thibaut Verron wrote: On 25/08/2021 16:00, Kourosh Kalayeh wrote: Hi all, After most recent update of AUCTeX, I have noticed something has changed

Re: \frametitle macro is not automatically indented in frame environment in beamer

2021-08-25 Thread Kourosh Kalayeh
On 25 Aug 2021, at 10:06, Thibaut Verron wrote: On 25/08/2021 16:00, Kourosh Kalayeh wrote: Hi all, After most recent update of AUCTeX, I have noticed something has changed in entering “frame” environment in beamer using |C-c C-e| key; it does not automatically indent |\frametitle| macro

\frametitle macro is not automatically indented in frame environment in beamer

2021-08-25 Thread Kourosh Kalayeh
Hi all, After most recent update of AUCTeX, I have noticed something has changed in entering “frame” environment in beamer using `C-c C-e` key; it does not automatically indent `\frametitle` macro anymore. Can anyone help me figuring out how I can achieve this. I am running AUCTeX 13.0.13

Re: Multiple TeX-masters

2021-07-22 Thread Kourosh Kalayeh
On 20 Jul 2021, at 3:14, Mandar Mitra wrote: Kourosh Kalayeh wrote (Mon, Jul 19, 2021 at 10:42:57PM -0400): Also, does changing TeX-master in my “personal_macros.sty” only affect my ability to compile my master file in “personal_macros.sty”. What I mean is that if TeX-master

Re: Multiple TeX-masters

2021-07-22 Thread Kourosh Kalayeh
On 22 Jul 2021, at 14:45, Tassilo Horn wrote: > Kourosh Kalayeh writes: > > Hi Kourosh, > >>> With a personal_macros.tex file which you include in multiple documents, >>> you'd usually set TeX-master to the symbol `shared'. >> >> This is great, how

Re: Multiple TeX-masters

2021-07-19 Thread Kourosh Kalayeh
Hi Tassilo, Thank you for your response and sorry for the confusion. I meant (b) i.e., each of those “logical” sections are separate files. > With a personal_macros.tex file which you include in multiple documents, > you'd usually set TeX-master to the symbol `shared'. This is great, how can

Multiple TeX-masters

2021-07-19 Thread Kourosh Kalayeh
Hi community, I am working on a NIH grant which consists of several separate sections; specific aims, background and goals, significance, etc. I have a separate LaTeX file for each of these sections with one file for macros. My question is how I can tell AUCTeX that the macro file is shared

Re: [AUCTeX] Carets and underscores become red occasionally in math mode .

2018-08-23 Thread Kourosh Kalayeh
On 22 Aug 2018, at 21:04, Ivan Andrus wrote: Sorry, that's in the cl-extra package. You can change it to cl-map and it should work (it's autoloaded). Alternately you can run (require 'cl) before running the function. I've had that in my .emacs for so long, that I forgot about it. I

Re: [AUCTeX] Carets and underscores become red occasionally in math mode .

2018-08-20 Thread Kourosh Kalayeh
Ivan, thank you for email. You can see what face it's using with the function below. That might give some clues. -Ivan (defun fontification-at-point (p) (interactive "d") (sit-for 0) (message "Text properties: %s\nOverlays: %s" (text-properties-at p) (map 'list

Re: [AUCTeX] Carets and underscores become red occasionally in math mode .

2018-08-16 Thread Kourosh Kalayeh
On 14 Aug 2018, at 16:20, Arash Esbati wrote: > "Kourosh Kalayeh" writes: > >> I disabled my loaded theme but the issue persists. Any other >> suggestion? > > No, not really. I think it is time to get into debugging. My > suggestion is to update yo

Re: [AUCTeX] Carets and underscores become red occasionally in math mode .

2018-08-13 Thread Kourosh Kalayeh
On 13 Aug 2018, at 15:31, Arash Esbati wrote: "Kourosh Kalayeh" writes: I have a minor question regarding the syntax highlighting in math mode that has been bugging me for a while. I was wondering if anyone can help me with that. Here it is, AUCTeX sometimes color

[AUCTeX] Carets and underscores become red occasionally in math mode .

2018-08-12 Thread Kourosh Kalayeh
Hi all, I have a minor question regarding the syntax highlighting in math mode that has been bugging me for a while. I was wondering if anyone can help me with that. Here it is, AUCTeX sometimes color the caret (^) and the underscore (_) red in math mode (which should normally be orange).

Re: [AUCTeX] Not including the full path in \includegraphics

2018-07-25 Thread Kourosh Kalayeh
On 25 Jul 2018, at 16:05, Mosè Giordano wrote: Hi Kourosh, 2018-07-22 17:50 GMT+02:00 Kourosh Kalayeh : Dear all, Sorry if my question is repeated. I was not able to find an answer on the Web and AUCTeX mailing list. I was wondering if there is anyway that I can tell AUCTeX

[AUCTeX] Not including the full path in \includegraphics

2018-07-22 Thread Kourosh Kalayeh
Dear all, Sorry if my question is repeated. I was not able to find an answer on the Web and AUCTeX mailing list. I was wondering if there is anyway that I can tell AUCTeX to not to include a full path when using \includegraphics path. More specifically, below is my workflow; I usually use