A pandoc filter for adding admonition in LaTeX
Project description
Installation
pandoc-latex-admonition is a pandoc filter for adding admonition to div
s or codeblock
s elements.
It uses the tcolorbox LaTeX package to generate admonitions and the footnote LaTeX package to handle correctly footnotes in admonition.
Instructions
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.
Install pandoc-latex-admonition using the bash command
$ pip install pandoc-latex-admonition
To upgrade to the most recent release, use
$ pip install --upgrade pandoc-latex-admonition
To upgrade to the current code, use
$ pip install --upgrade --force git+https://github.com/chdemko/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
$ sudo apt-get install python3-pip
Make sure you have the
- tcolorbox
- footnote
- xcolor
- ifthen
LaTeX packages. 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
$ sudo apt-get install 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
Built Distribution
Hashes for pandoc_latex_admonition-1.3.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7771418e2ba7061a8d879d9486f638458b42d7567e7418d799d1e25f839c0046 |
|
MD5 | 2f77699d8d4a9f74c6bf0da6ff82655a |
|
BLAKE2b-256 | 01f45fe8facf7bf0037ef29b2fd1515da4115394f9963056b88f5dd5d53ccd0b |
Hashes for pandoc_latex_admonition-1.3.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b0ad70651ce5eb9fcdda1e913a3efe6f92dc54614db4038c580eefdca0d6277 |
|
MD5 | b56c67497d5d8ef636e8a7f91c4f6ab8 |
|
BLAKE2b-256 | f58ad83867ade9f01bf53836f6985a33e4619e5d19c3ce67c1d207dbd5812d78 |