Skip to main content

A pandoc filter for changing color in LaTeX

Project description

Installation

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

pandoc-latex-color is a pandoc filter for setting the color to Span 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

$ pipx install pandoc-latex-color

To upgrade to the most recent release, use

$ pipx upgrade pandoc-latex-color

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.

It uses the xcolor LaTeX package to handle correctly colors in spans 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.

Contribute

Instructions

Install hatch, then run

$ hatch run pip install pre-commit
$ hatch run pre-commit install

to install pre-commit before working on your changes.

Tests

When your changes are ready, run

$ hatch test
$ hatch fmt --check
$ hatch run lint:check
$ hatch run docs:build
$ hatch build -t wheel

for running the tests, checking the style, building the documentation and building the wheel.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pandoc_latex_color-2.0.0.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file pandoc_latex_color-2.0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pandoc_latex_color-2.0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f365429d6e7d96bfe54d12f96a112e6cea4840d9999c360e6ad89a2aa53ef42
MD5 79db67d4562859feead4ee38e9478515
BLAKE2b-256 6680dcbb4f97626c1943b5904b7818d156cef46fa715eabdd1dafb2b2679ad75

See more details on using hashes here.

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