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
$ pipx install pandoc-latex-admonition
To upgrade to the most recent release, use
$ pipx upgrade pandoc-latex-admonition
pipx
is a script to install and run python applications in isolated environments from the Python Package Index, PyPI. It can be installed using instructions given here.
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.
Notes
- format icon by Picol
- license icon by Icooon Mono
- download icon by zest
- status icon by Just Icon
- code style icon by Google Material Design icons
- size icon by Iconscout
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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7d005e22391d6bb66018b82f986a0f192e66d68f51672fee9e6f1a508bdcbc3 |
|
MD5 | d1aa13d573f6f05b3629376c21de878e |
|
BLAKE2b-256 | ddf46f5648c12bbca918dcd03ac94676eaafdf4080312640946bbcb05731f544 |
Hashes for pandoc_latex_admonition-1.3.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cfe75fe8a178adc4431f672d6a10c8f919f60413b5e8759236a00e9a238d6ad |
|
MD5 | c70b13ae50abfde7b5862707f9bf0b7a |
|
BLAKE2b-256 | adea0d34f8f96a46e57f38f2dce8e07455a7fec0627f05c2a52d4ebb7a2df7a3 |