Is there any package that lets me insert "smart comments" in a LaTeX document?
What I mean by "smart commenting":
I have a source (.tex) file of notes of the lecture that happened in the classroom. However, the notes do not have the detailed discussion of the proofs. I want to edit the source file and add the comments, such that the output PDF file will be same as the output of the original source; except that it will have small buttons (or similar constructs), which on pressing, will reveal the additional comments that I have made.
Essentially, one could achieve this by adding editor notes using any of the PDF reading programs. However, those notes are not portable from program-to-program, and more importantly, I cannot insert mathematical equations using those annotation tools, which I can using LaTeX.
I know this sounds kind of vague, but can someone help?