I discovered a short time ago that M-x imenu plays nice with LaTeX documents – mostly. With a master/slave document setup (one file inputs another), imenu will not pick up on the structural elements in the child documents.
Similarly, running M-x imenu on the child document will not pick up on the rest of the document.
Both of these are understandable, but how can imenu be extended to 'do the right thing' here? (Probably making use of TeX-master-file.)
I am using AucTeX, but RefTeX is a bit too heavy-weight for my needs.