I'm dreaming about a feature of a TeX editor (read: emacs, but for the sake of generality I'd be interested in answers about other editors, too) that displays the title of the current (read: the one that the cursor/point is in) chapter/section/subsection etc. (bonus points for displaying more than one level simultaneously, e.g. in the format "chapter:section" or whatever) somewhere (top of the screen/window/frame seems a natural choice for that). I read about the which-func-mode
for emacs, but don't know (yet) how to make it work for LaTeX (and ConTeXt, for that matter).
Does anybody know how to do it in emacs, so that I don't reinvent the wheel? Are there other editors which such capabilities?
label
commands,ref
,section
at all.AUCTeX
+reftex
can do that too, but that won't tell you where is the pointer exactly.TeXShop
andTeXworks
).