{"id":21356946,"url":"https://github.com/csatizoltan/fancytooltips-usage","last_synced_at":"2026-05-19T04:08:12.780Z","repository":{"id":96444325,"uuid":"95668668","full_name":"CsatiZoltan/fancytooltips-usage","owner":"CsatiZoltan","description":"Installation and usage of the fancytooltips package","archived":false,"fork":false,"pushed_at":"2017-07-05T08:28:34.000Z","size":22,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-25T19:51:21.368Z","etag":null,"topics":["latex","miktex","perl","presentation"],"latest_commit_sha":null,"homepage":"","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CsatiZoltan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-06-28T12:51:38.000Z","updated_at":"2017-06-29T12:14:03.000Z","dependencies_parsed_at":"2023-04-12T10:36:05.186Z","dependency_job_id":null,"html_url":"https://github.com/CsatiZoltan/fancytooltips-usage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CsatiZoltan/fancytooltips-usage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CsatiZoltan%2Ffancytooltips-usage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CsatiZoltan%2Ffancytooltips-usage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CsatiZoltan%2Ffancytooltips-usage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CsatiZoltan%2Ffancytooltips-usage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CsatiZoltan","download_url":"https://codeload.github.com/CsatiZoltan/fancytooltips-usage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CsatiZoltan%2Ffancytooltips-usage/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267288877,"owners_count":24064724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["latex","miktex","perl","presentation"],"created_at":"2024-11-22T04:37:19.586Z","updated_at":"2026-05-19T04:08:07.752Z","avatar_url":"https://github.com/CsatiZoltan.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fancytooltips-usage\nInstallation and usage of the fancytooltips package\n\n\n\n## Introduction\n\nThere are several packages available that make it possible to insert tooltips into LaTeX generated PDF files, see e.g. [fancytooltips](https://bitbucket.org/robert.marik/fancytooltips/), [cooltooltips](https://www.ctan.org/pkg/cooltooltips?lang=en), [ocgx](https://github.com/polgab/ocgx), and some simplistic solutions like INSERT THE ONE WITH A SIMPLE TEX FILE AT HOME. Some features of these packages:\n\n- [cooltooltips](https://www.ctan.org/pkg/cooltooltips)\n    - shows pretty basic tooltips and mouse hovering does not work, just mouse clicking\n    - requires Adobe Reader\n- [pdfcomment](https://www.ctan.org/pkg/pdfcomment)\n    - as its name suggests, the tooltips are realized as comments\n    - requires Adobe Reader\n- [ocgx](https://www.ctan.org/pkg/ocgx)\n    - highly customizable layers which show up or disappear on clicking\n    - interoperability with TikZ\n    - does not rely on Javascript -\u003e can be used for other viewers than Acrobat Reader (e.g. Evince)\n    - powerful (see e.g. [this demo](http://mirrors.ircam.fr/pub/CTAN/macros/latex/contrib/ocgx/demo-ocgx.pdf)) but has steep learning curve\n- [fancytooltips](https://www.ctan.org/pkg/fancytooltips)\n    - no need to modify the source .tex file for effects, just include the *fancytooltips* header; it will automatically cut the clickable references\n    - possibility to include additional tooltips and animations manually (see the [examples](https://www.ctan.org/tex-archive/macros/latex/contrib/fancytooltips/examples))\n    - requires *perl*, Adobe Reader and the packages *ocg*, *acrotex*\n\n\n\n## Installation\n\nTheoretically, on-the-fly package installation should work with MiKTeX, but I had so many problems with it that for the sake of fancytooltips, I installed the full MiKTeX.\n\n1. Install the *fancytooltips* and the *acrotex* packages.\n    - *fancytooltips* is part of both TeXlive and MiKTeX: https://www.ctan.org/pkg/fancytooltips?lang=en\n    - *acrotex* is available in the MiKTeX package manager or can be manually downloaded from CTAN: https://www.ctan.org/pkg/acrotex?lang=en\n2. Install the *ocg* package. For me, neither the *ocgx*, nor the *ocg-p* packages worked with *fancytooltips*, so we need to install the original ocg:\n    - download ocg.sty (e.g. http://mirrors.ctan.org/graphics/asymptote/doc/ocg.sty)\n    - create a directory called ocg in /MiKTeX_dir/tex/latex and put ocg.sty into it.\n    - in MiKTeX Options, on the General tab, click on Refresh FNDB and on Update Formats\n3. Install perl. The author of the fancytooltips recommends ActivePerl for Windows: http://www.activestate.com/activeperl. It is easy to manage the perl modules with it, what we will need in the next step\n4. Open the Perl Package Manager and install the Config::IniFiles module.\n\n\n\n## Usage\n\nIt is recommended to create an .ini file that holds your settings so that you don't have to modify fancy-preview.\n\nCall fancy-preview from the command prompt:\n\n\tperl fancy-preview fileNameWithoutExtension -options\n\nWith the example files of this repository:\n\n\tperl fancy-preview mwe --ini_file=settings.ini\n\n\n\n## Using with *biber*\n\nI managed to modify the *fancy-preview* script to work with biber. However, it only works if the .bbl file has already been created. Unfortunately, it does not extract the bibliography, only the references. The *fancy-preview* script is licensed with the [LaTeX Project Public License](http://www.latex-project.org/lppl.txt). According to it: \"Distribution of only part of the Work is considered modification of the Work, and no right to distribute such a Derived Work may be assumed under the terms of this clause\", so I cannot upload it here.\n\n\n\n## Limitations\n\nCurrently there are some limitations of the fancy-preview script:\n\n- it is hard-coded for bibtex and not for biber\n- requires Adobe Reader/Acrobat\n- cropping with *pdfcrop* can can result in (relatively) large file sizes as is mentioned in the [manual](http://ftp.oleane.net/pub/CTAN/macros/latex/contrib/fancytooltips/fancytooltips.pdf) too. You can use pdftk instead.\n\n\n\n## Useful links\n\nhttp://tex.stackexchange.com/questions/82336/mouseover-events-in-beamer-hovering-on-eqref-and-a-comment-containing-the-orig\n\n\n\n## Contribution\n\nIf you have solutions for the improvements above or any other recommendations, feel free to send a pull request.\n\nIf you find any problems with this tutorial, raise an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsatizoltan%2Ffancytooltips-usage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsatizoltan%2Ffancytooltips-usage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsatizoltan%2Ffancytooltips-usage/lists"}