/pandoc-latex-fontsize

A pandoc filter for applying different font size on specific elements

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

pandoc-latex-fontsize

Build Status Coveralls Scrutinizer PyPI version PyPI format License Python version Development Status

pandoc-latex-fontsize is a pandoc filter for modifying font size to Code, CodeBlock, Span, and Div that have speficied classes or latex-fontsize attribute.

Documentation

See the wiki pages.

Usage

To apply the filter, use the following option with pandoc:

--filter pandoc-latex-fontsize

Installation

pandoc-latex-fontsize requires python, a programming language that comes pre-installed on linux and Mac OS X, and which is easily installed on Windows. Either python 2.7 or 3.x will do.

Install pandoc-latex-fontsize as root using the bash command

pip install pandoc-latex-fontsize

To upgrade to the most recent release, use

pip install --upgrade pandoc-latex-fontsize

To upgrade to the current code, use

pip install --upgrade --force git+https://github.com/chdemko/pandoc-latex-fontsize

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

apt-get update
apt-get install python-pip

Getting Help

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