I'm working on a piece of code that would allow me to make tooltips displaying contents of another cell (EquationNumbered style).
Tooltip["TEST!", Rasterize[Style[DisplayForm@((NotebookRead@ Cells[CellTags -> {"tagName"}][[1]])[[1, 1]]), FontFamily -> "Times", FontSize -> 18], Background -> None]] This one works ok:
However it doesn't update if the referenced cell changes. Simply adding Dynamic @ doesn't seem to work. On the other hand removing Rasterization gives me a blank tooltip:
Edit: (for clarification) I don't generate the cell, I create it by hand, then by keyboard shortcut CMD+J I create a tag for the cell ex, "tagName". The real purpose of this is that I want to use this code to generate a preview of referenced equations and plots, of course those cells are usually not visible, somewhere deep in the notebook.



