Outline + imenu is the way I roll. For automatic bookmarking, you may look at Bookmark+. I believe it has such a functionality.
this post was submitted on 15 Nov 2023
1 points (100.0% liked)
Emacs
313 readers
3 users here now
A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!
Get Emacs
Rules
- Posts should be emacs related
- Be kind please
- Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.
Emacs Resources
Emacs Tutorials
- Beginner’s Guide to Emacs
- Absolute Beginner's Guide to Emacs
- How to Learn Emacs: A Hand-drawn One-pager for Beginners
Useful Emacs configuration files and distributions
Quick pain-saver tip
founded 1 year ago
MODERATORS
I tried turning outline mode on, however it turned off typst-ts-mode, so I may have to just work with imenu
and see about tweaking it as /u/mickeyp suggests above.
Did you try outline-minor-mode
?
I didn't see it when I did M-x
so I'll check to see if it needs installing.
As /u/mickeyp said, Imenu should do what you want. That presumes that LaTeX mode in Emacs has set up Imenu in a useful way for what you want. If it doesn't, you can do that yourself - define Imenu's menus for the mode you're using (e.g. LaTeX), to recognize the section headers you want, etc.