Skip to main content

A pandoc filter for changing margins in LaTeX

Project description

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

pandoc-latex-margin is a pandoc filter for changing the margin size to CodeBlock and Div that have speficied classes or latex-left-margin and latex-right-margin attributes.

Documentation

See the wiki pages.

Usage

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

--filter pandoc-latex-margin

Installation

pandoc-latex-margin 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-margin as root using the bash command

pip install pandoc-latex-margin

To upgrade to the most recent release, use

pip install --upgrade pandoc-latex-margin

To upgrade to the current code, use

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

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-margin, please feel welcome to file an issue on github so that we can help.

Project details


Release history Release notifications

Download files

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

Files for pandoc-latex-margin, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pandoc_latex_margin-0.1.0-py2.py3-none-any.whl (4.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pandoc-latex-margin-0.1.0.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page