Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I read the documentation for both fancytooltips and fancy-preview here, and I don't really understand what their differences are, or when I should prefer one over the other. I see that fancytooltips is a TeX package (a .sty file), while fancy-preview is a Perl script. But they seem to have the same capability (which is the capability in the pictures on this page.)

share|improve this question
    
From the documentation it seems as if fancytooltips is what to use if you are generating the document in LaTeX, and fancy-preview is an external script you run to extract text from equations, theorems, etc into a separate PDF for use with fancytooltips (so you don't have to manually put the tool tip content into a separate PDF). –  Peter Grill Apr 5 '13 at 23:11

1 Answer 1

Fancytooltips allow to insert pictures (pages of external PDF file) on the page. The user have to prepare the external file and use commands to insert tooltips in the main document.

Fancy-preview creates the external file with tooltips automatically from equations, figures etc and adds the tooltips to \ref-like commands also automatically.

Both require pdflatex (pdflualatex should be also O.K.), but in principle it is possible to add support also for xelatex.

Similar solutions (add material to PDF page and allow buttons to hide/reveal this material) are ocg-x, ocg-p,ocgtools and the macro \tooltip written by AlexG as an answer to pdftooltip from pdfcomment package: Using LaTeX code in tooltip . In these solutions, the TeX code for the tooptip is in the main TeX file. ocgtools needs pdflatex (is is possible to add support also for xelatex), the other packages and macros allow xelatex or dvips route.

Similar packages are also cooltooltips and pdfcomment. These packages do not allow any LaTeX code in the tooltips, but the support in various browser may be better.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.