Article 6F0W8 Navigating a LaTeX file

Navigating a LaTeX file

by
John
from John D. Cook on (#6F0W8)

I like generating long LaTeX documents from org-mode because, for one thing, org-mode has nice section folding. But not everyone I work with uses Emacs, so its better to work in LaTeX directly rather than have Emacs generate LaTeX.

AUCTeX has section folding for LaTeX documents, though so far I've only has limited success at getting it to work. However, RefTeX worked right out of the box.

If you enter reftex-mode ctrl-c = then RefTeX will open a table of contents window.

reftex.png

Scrolling through the table of contents window scrolls through the body of the document. This isn't exactly section folding, but it serves a similar purpose.

RefTeX ships with Emacs, so there's probably no need to install it, but the mode is not enabled by default.

The post Navigating a LaTeX file first appeared on John D. Cook.
External Content
Source RSS or Atom Feed
Feed Location http://feeds.feedburner.com/TheEndeavour?format=xml
Feed Title John D. Cook
Feed Link https://www.johndcook.com/blog
Reply 0 comments