Skip to main content

A pandoc filter for changing color in LaTeX

Project description


Python package Coveralls Scrutinizer PyPI version PyPI format License Python version Poetry version Pandoc version Development Status Docs

pandoc-latex-color is a pandoc filter for setting the color to Span, and Div that have speficied classes or latex-color attribute.


pandoc-latex-color 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-color using the bash command

$ pip install pandoc-latex-color

To upgrade to the most recent release, use

$ pip install --upgrade pandoc-latex-color

To upgrade to the current code, use

$ pip install --upgrade --force git+

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

It uses the xcolor LaTeX package to handle correctly colors in spans and divs and the soulutf8 package for highlighing the text.

Getting Help

If you have any difficulties with pandoc-latex-color, please feel welcome to file an issue on github so that we can help.

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_color- (6.7 kB view hashes)

Uploaded source

Built Distribution

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