A pandoc filter for changing color in LaTeX
Project description
Installation
pandoc-latex-color is a pandoc filter for setting the color to Span
, and Div
that have speficied classes or latex-color
attribute.
Instructions
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+https://github.com/chdemko/pandoc-latex-color
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
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
File details
Details for the file pandoc_latex_color-1.0.0.0.tar.gz
.
File metadata
- Download URL: pandoc_latex_color-1.0.0.0.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39435a94d8bd1c41ee5431f1fbd12338643d24c6689260eca13d79f6a0a63326 |
|
MD5 | b0cd06d0232aac445ef1eb2488087568 |
|
BLAKE2b-256 | c3a598e1af8037c29a4bb121ec847e5df3f95f70271a9f198396e4d2149e3645 |
File details
Details for the file pandoc_latex_color-1.0.0.0-py3-none-any.whl
.
File metadata
- Download URL: pandoc_latex_color-1.0.0.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71fe6c3d6326dab031062306a79a0d908aa5a2be2ac0bbb52029eed6c5613807 |
|
MD5 | ef27b036c0f6a477e03719ce94b007d3 |
|
BLAKE2b-256 | b659f9957e9d3262bbe508f06604b15777c52d57cefbbd6372a2d4b69bc143d0 |