A pandoc filter for changing margins in LaTeX
Project description
pandoc-latex-margin
pandoc-latex-margin is a pandoc filter for changing 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 | 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
Hashes for pandoc-latex-margin-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 109364707cac12df4fe16058d5b3df5ff1c8d10e621c106dc790baf7ddf6a958 |
|
MD5 | b30062c1f6fe870e179b7bb017e3c42f |
|
BLAKE2b-256 | 422a45508244e2d68ca8e3a391693abd346c6f132ad5df0cfa892029af91eeca |
Hashes for pandoc_latex_margin-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad7883b2317a88ca1743fc7c70fa7b470e76ad311f0d794c837bc108c909f6e8 |
|
MD5 | a6de974e2cc4e5312a1cc7985256b1ae |
|
BLAKE2b-256 | 15155a19572e1823cc8d134050af34323b02db6e78adcdbef1cb9b1502857b4f |