Skip to main content

A pandoc filter for adding admonition in LaTeX

Project description

Installation

Python package pre-commit Coveralls Scrutinizer Code Climate CodeFactor Codacy PyPI version Latest release Last commit PyPI format License Python version Poetry version Pandoc version Downloads Development Status Docs Code style: black Repo Size Code Size Source Rank

pandoc-latex-admonition is a pandoc filter for adding admonition to divs or codeblocks 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pandoc_latex_admonition-1.3.3.2.tar.gz (21.9 kB view hashes)

Uploaded Source

Built Distribution

pandoc_latex_admonition-1.3.3.2-py3-none-any.whl (14.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page