A pandoc filter for adding admonition in LaTeX
Project description
pandoc-latex-admonition is a pandoc filter for adding admonition to divs.
It uses the mdframed LaTeX package to generate admonitions.
Documentation
See the wiki pages.
Usage
To apply the filter, use the following option with pandoc:
--filter pandoc-latex-admonition
Installation
pandoc-latex-admonition requires python, a programming language that comes pre-installed on linux and Mac OS X, and which is easily installed on Windows. Either python 2.7 or 3.x will do.
Install pandoc-latex-admonition as root using the bash command
pip install pandoc-latex-admonition
To upgrade to the most recent release, use
pip install --upgrade pandoc-latex-admonition
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 the mdframed LaTeX package. On linux you have to install some extra libraries before pandoc-latex-admonition. On a Debian-based system (including Ubuntu), you can install it as root using
apt-get texlive-latex-extra
Getting Help
If you have any difficulties with pandoc-latex-admonition, please feel welcome to file an issue on github so that we can help.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for pandoc-latex-admonition-0.10.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b06142f9c3067871d9ea31524f1967986263a384ff3fc4e4a259f66d0d81497 |
|
MD5 | c13466bb5ac12f59e65b2cc6e410d75a |
|
BLAKE2b-256 | 1a8988df23afb52be0c84253326d0be7f9f29c75701f4baa71fd49d4076ff5c3 |