A pandoc filter for adding tip in LaTeX
pandoc-latex-tip is a pandoc filter for adding icon tooltips in the margin using the Font-Awesome icons collection (Font Awesome by Dave Gandy - http://fontawesome.io). It uses the icon_font_to_png package to generate on-fly images.
See the wiki pages.
To apply the filter, use the following option with pandoc:
Install pandoc-latex-tip as root using the bash command
pip install pandoc-latex-tip
To upgrade to the most recent release, use
pip install --upgrade pandoc-latex-tip
To upgrade the Font-Awesome icons collection add the --force flag
pip install --upgrade --force pandoc-latex-tip
pip is a script that downloads and installs modules from the Python Package Index, PyPI. It should come installed with your python distribution. If you are running linux, pip may be bundled separately. On a Debian-based system (including Ubuntu), you can install it as root using
apt-get update apt-get install python-pip
Make sure you have required packages for Pillow installation. On linux you have to install some extra libraries before pandoc-latex-tip. On a Debian-based system (including Ubuntu), you can install it as root using
apt-get build-dep python-imaging apt-get install libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev
If you have any difficulties with pandoc-latex-tip, please feel welcome to file an issue on github so that we can help.