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 install --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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08ec3e630d6a04abde96ddcb5a04604712bc902bb599a900488c85cdafe2cc3b |
|
MD5 | b83d688aa9a77a994854abdd5807bec2 |
|
BLAKE2b-256 | deea9ee8545c064e2957e20b6fcc9d6c2f73b34edce5883f0ff703a58d7b3f7b |
Hashes for pandoc_latex_admonition-1.3.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3368bc39952089cb942384d7f0bd248403dc579e81ab9333bbad6675dc522d6 |
|
MD5 | 97d961c9379a2dafaf0ef6977d9164b7 |
|
BLAKE2b-256 | 8dc9371a7b5940d6a178eb48f2d4278f16d82dbb70a6951f585856224815f9ba |