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: 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 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 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: > 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:

Re: Outline based LaTeX source code navigation.

2023-05-09 Thread Hongyi Zhao
On Tue, May 9, 2023 at 4:00 PM Mandar Mitra wrote: > > Hongyi Zhao wrote (Tue, May 09, 2023 at 08:51:59AM +0800): > > Hi here, > > > > I'm not sure whether there is a convenient way to generate an outline > > based on the current master tex source file to facilitate the source > > code

Re: Outline based LaTeX source code navigation.

2023-05-09 Thread Mandar Mitra
Hongyi Zhao wrote (Tue, May 09, 2023 at 08:51:59AM +0800): > Hi here, > > I'm not sure whether there is a convenient way to generate an outline > based on the current master tex source file to facilitate the source > code navigation. reftex-toc, bound to C-c =, works for me. Also helm-imenu

Re: Outline based LaTeX source code navigation.

2023-05-08 Thread Hongyi Zhao
On Tue, May 9, 2023 at 9:13 AM Hongyi Zhao wrote: > > On Tue, May 9, 2023 at 8:51 AM Hongyi Zhao wrote: > > > > Hi here, > > > > I'm not sure whether there is a convenient way to generate an outline > > based on the current master tex source file to facilitate the source > > code navigation. > >

Re: Outline based LaTeX source code navigation.

2023-05-08 Thread Hongyi Zhao
On Tue, May 9, 2023 at 8:51 AM Hongyi Zhao wrote: > > Hi here, > > I'm not sure whether there is a convenient way to generate an outline > based on the current master tex source file to facilitate the source > code navigation. Based on the description here [1-2], it seems that the outshine