I am writing some lecture notes that are intended to be accessed through a computer most likely. They are kind of mathy and I was hoping that there was some way for me to clean up the number of words on the page using tooltips/hovering text in a systematic way that won't require a crap ton of copy-pasting.
The idea is, I want the sections to be relatively self contained, so they can be read in arbitrary order. However, this requires a ton of extra text in terms of redefining things that I already defined.
For instance, I introduced some manifolds, called M and W, and a map between them, called Phi, in the opening section or two of the text. In some later section I want just be able to talk about M, W, and Phi without taking up a half of page dedicated to redefining them. So if I were to write something like
"Consider M, W, and Phi"
the student could hover over M,W, or Phi and view their definitions. Something like "M is a differentiable manifold of dimension d," and even better if I can make differentiable manifold linkable (I have a makeshift glossary which is just a bunch of labeled text).
I saw a similar question on here mentioned cooltooltips as a package for making tooltips, but it looks very cumbersome to use if I want them every time I reference anything.
Thanks for the help!