Re: Outline based LaTeX source code navigation.

2023-05-10 Thread Arash Esbati
Hongyi Zhao writes: > But I still cannot figure out how to use the method described here: > https://www.gnu.org/software/auctex/manual/auctex/Outline.html Did you try 'M-x outline-minor-mode RET' as described here:

Soft wrap (again?)

2023-05-10 Thread Sergio Callegari
Hi, I know that the matter has been discussed in the past (e.g., https://lists.gnu.org/archive/html/auctex/2012-01/msg00025.html), however looking at those past discussions I could not find a solution to my specific problem, so please take my apology in advance for re-opening the topic. I

Re: Outline based LaTeX source code navigation.

2023-05-10 Thread Hongyi Zhao
On Wed, May 10, 2023 at 3:58 PM Arash Esbati wrote: > > Hongyi Zhao writes: > > > But I still cannot figure out how to use the method described here: > > https://www.gnu.org/software/auctex/manual/auctex/Outline.html > > Did you try 'M-x outline-minor-mode RET' as described here: I tried it but

Re: Outline based LaTeX source code navigation.

2023-05-10 Thread Arash Esbati
Hongyi Zhao writes: > I tried it but out got a menu with so many options. In fact, I wonder > whether I can just obtain the outline, e.g., like the one shown in > pdf-tools mode, which is more concise and intuitive to use with the > toc as the titles of the outline? `reftex-toc' comes to my

Re: Outline based LaTeX source code navigation.

2023-05-10 Thread Arash Esbati
Hongyi Zhao writes: > I've added the following setting into my init.el according to the above guide: > > (setq TeX-outline-extra > '(("[ \t]*\\(bib\\)?item\\b" 7) > ("bibliography\\b" 2))) Here is what I tried: • emacs -Q • Activated AUCTeX with 0 configuration •

Re: Outline based LaTeX source code navigation.

2023-05-10 Thread Hongyi Zhao
On Thu, May 11, 2023 at 12:40 AM Arash Esbati wrote: > > Hongyi Zhao writes: > > > I've added the following setting into my init.el according to the above > > guide: > > > > (setq TeX-outline-extra > > '(("[ \t]*\\(bib\\)?item\\b" 7) > > ("bibliography\\b" 2))) > > Here

Re: LaTeX, long line, and synctex.

2023-05-10 Thread Hongyi Zhao
On Thu, May 11, 2023 at 10:54 AM Hongyi Zhao wrote: > > Hi here, > > When working with AUCTeX, if I have long-lines in LaTeX file, then the > SyncTeX positioning will not so accurate. How to tackle this problem? It seems that the only feasible way is to use `M-q ( fill-paragraph )` to do the

LaTeX, long line, and synctex.

2023-05-10 Thread Hongyi Zhao
Hi here, When working with AUCTeX, if I have long-lines in LaTeX file, then the SyncTeX positioning will not so accurate. How to tackle this problem? Regards, Zhao -- Assoc. Prof. Hongsheng Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering No.

bug#63396: \foreignlanguage in babel style file

2023-05-10 Thread Arash Esbati
Hi Gustavo, Gustavo Barros writes: > just a quick and simple one. > > `\foreignlanguage' specs in `babel.el' are missing the optional > argument it takes, both in `TeX-add-symbol` and in > `font-latex-add-keywords`. > > Also, `\foreignlanguage' is included in the `function' font-lock > class.

Re: font-latex.el: Introducing new keyword class 'function-noarg'

2023-05-10 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > I'm neutral to that idea, but it won't do particular harm. So I'm fine > if you install it. Thanks for your response; installed with commit 93fa8bde57. Best, Arash

In-buffer completion for package names and options

2023-05-10 Thread Arash Esbati
Hi all, I think I have a working setup for in-buffer completion of arguments of \usepackage and/or \RequirePackage. It needed some preparation (commit 28aa6b99e4) but it seems to work. I could apply the same idea to \documentclass. Patch is attached. Any comments welcome. Best, Arash diff

master c9ab5d58: Update style/babel.el to package version 3.88

2023-05-10 Thread Arash Esbati
branch: master commit c9ab5d58f327c759a23f7f6b8618383b2822dcdc Author: Arash Esbati Commit: Arash Esbati Update style/babel.el to package version 3.88 * style/babel.el ("babel"): Add support for optional argument for \foreignlanguage macro and otherlanguage* environment.

bug#63396: \foreignlanguage in babel style file

2023-05-10 Thread Gustavo Barros
Hi Arash, On Wed, 10 May 2023 at 04:46, Arash Esbati wrote: > Thanks for the report. You were thinking about a change like this? > > --8<---cut here---start->8--- > diff --git a/style/babel.el b/style/babel.el > index 2483b73b..2110289b 100644 > ---

bug#63396: \foreignlanguage in babel style file

2023-05-10 Thread Arash Esbati
Gustavo Barros writes: > Yes, very much so. Thank you! Thanks for your response. I installed that change (commit c9ab5d58) incl. some other minor issues I found. Closing this report. Best, Arash ___ bug-auctex mailing list bug-auctex@gnu.org

Re: Improving fontification support for biblatex qualified citation lists

2023-05-10 Thread Arash Esbati
Hi Gustavo, Gustavo Barros writes: > The problem here is that the bibkeys of biblatex's citation lists are > not really mandatory, and yet they are given in braces. But we could > extend the syntax of `font-latex.el' to accommodate this case. We > could use, for example, a closing brace to

Re: Improving fontification support for biblatex qualified citation lists

2023-05-10 Thread Gustavo Barros
Hi Arash, On Wed, 10 May 2023 at 07:35, Arash Esbati wrote: > Thanks for looking at this and your ideas about this issue. To be > honest, I'm not convinced that we should go through this only in order > to get cite lists working. The benefits for some macros provided by one > single package,

master da28858e: Improve handling of beamer class options

2023-05-10 Thread Arash Esbati
branch: master commit da28858e46013d6cf36acf33a6fad1c6ee08c170 Author: Arash Esbati Commit: Arash Esbati Improve handling of beamer class options * style/beamer.el (LaTeX-beamer-class-options-list): New variable containing the class options. (LaTeX-beamer-class-options):