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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1a41679c44e28939f59f159b6436e6ce4d18176c21fb36cba08a2d6ff7bacbd |
|
MD5 | 77c812106267cb9620b24bec824b56a6 |
|
BLAKE2b-256 | 75583872dc3bb05f0f181b69cfe16e3da2b1958f49900183480b56bc634f2051 |
Hashes for pandoc_latex_admonition-1.3.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2364f39780fb9e5bb518802422d6313b7eb023fc3345cec2ba349d1a6d3a72f1 |
|
MD5 | 6197e7294270fd3dae32222963069ed2 |
|
BLAKE2b-256 | 87b2170a8f36621e12a962707aa21bd62e63986db1f7027295d21ee1c5d04dc5 |