Q: how do I get the bounds of a LaTeX footnote?
I'd like to be able to detect, programmatically, if point is inside a LaTeX footnote environment. Ideally, I'd like to be able to extract the beginning and end points of the footnote. How would one do so?
I'm aware of the TeX-current-macro
function, but it's not quite what I need. If, for example, point is inside a citation inside a footnote, it will stop at detecting the citation. It also does not provide the bounds.