Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chdemko/pandoc-latex-margin

A pandoc filter for changing margins in LaTeX
https://github.com/chdemko/pandoc-latex-margin

latex margins pandoc-filter

Last synced: about 1 month ago
JSON representation

A pandoc filter for changing margins in LaTeX

Awesome Lists containing this project

README

        

Installation
============

[![Python package](https://github.com/chdemko/pandoc-latex-margin/workflows/Python%20package/badge.svg?branch=develop)](https://github.com/chdemko/pandoc-latex-margin/actions/workflows/python-package.yml)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://pypi.org/project/black/)
[![Coveralls](https://img.shields.io/coveralls/github/chdemko/pandoc-latex-margin/develop.svg?logo=Codecov&logoColor=white)](https://coveralls.io/github/chdemko/pandoc-latex-margin?branch=develop)
[![Scrutinizer](https://img.shields.io/scrutinizer/g/chdemko/pandoc-latex-margin.svg?logo=scrutinizer)](https://scrutinizer-ci.com/g/chdemko/pandoc-latex-margin/)
[![Code Climate](https://codeclimate.com/github/chdemko/pandoc-latex-margin/badges/gpa.svg)](https://codeclimate.com/github/chdemko/pandoc-latex-margin/)
[![CodeFactor](https://img.shields.io/codefactor/grade/github/chdemko/pandoc-latex-margin/develop.svg?logo=codefactor)](https://www.codefactor.io/repository/github/chdemko/pandoc-latex-margin)
[![Codacy](https://img.shields.io/codacy/grade/7df59d426cab4adca51d86403f0cc4b6.svg?logo=codacy)](https://app.codacy.com/gh/chdemko/pandoc-latex-margin/dashboard)
[![PyPI version](https://img.shields.io/pypi/v/pandoc-latex-margin.svg?logo=pypi&logoColor=white)](https://pypi.org/project/pandoc-latex-margin/)
[![PyPI format](https://img.shields.io/pypi/format/pandoc-latex-margin.svg?logo=pypi&logoColor=white)](https://pypi.org/project/pandoc-latex-margin/)
[![License](https://img.shields.io/pypi/l/pandoc-latex-margin.svg?logo=pypi&logoColor=white)](https://raw.githubusercontent.com/chdemko/pandoc-latex-margin/develop/LICENSE)
[![Downloads](https://img.shields.io/pypi/dm/pandoc-latex-margin?logo=pypi&logoColor=white)](https://pepy.tech/project/pandoc-latex-margin)
[![Development Status](https://img.shields.io/pypi/status/pandoc-latex-margin.svg?logo=pypi&logoColor=white)](https://pypi.org/project/pandoc-latex-margin/)
[![Python version](https://img.shields.io/pypi/pyversions/pandoc-latex-margin.svg?logo=pypi&logoColor=white)](https://pypi.org/project/pandoc-latex-margin/)
[![Poetry version](https://img.shields.io/badge/poetry-1.2%20|%201.3%20|%201.4%20|%201.5%20|%201.6%20|%201.7%20|%201.8-blue.svg?logo=poetry)](https://python-poetry.org/)
[![Pandoc version](https://img.shields.io/badge/pandoc-2.11%20|%202.12%20|%202.13%20|%202.14%20|%202.15%20|%202.16%20|%202.17%20|%202.18%20|%202.19%20|%203.0%20|%203.1%20|%203.2%20|%203.3-blue.svg?logo=markdown)](https://pandoc.org/)
[![Latest release](https://img.shields.io/github/release-date/chdemko/pandoc-latex-margin.svg?logo=github)](https://github.com/chdemko/pandoc-latex-margin/releases)
[![Last commit](https://img.shields.io/github/last-commit/chdemko/pandoc-latex-margin/develop?logo=github)](https://github.com/chdemko/pandoc-latex-margin/commit/develop/)
[![Repo Size](https://img.shields.io/github/repo-size/chdemko/pandoc-latex-margin.svg?logo=github)](http://pandoc-latex-margin.readthedocs.io/en/latest/)
[![Code Size](https://img.shields.io/github/languages/code-size/chdemko/pandoc-latex-margin.svg?logo=github)](http://pandoc-latex-margin.readthedocs.io/en/latest/)
[![Source Rank](https://img.shields.io/librariesio/sourcerank/pypi/pandoc-latex-margin.svg?logo=libraries.io&logoColor=white)](https://libraries.io/pypi/pandoc-latex-margin)
[![Docs](https://img.shields.io/readthedocs/pandoc-latex-margin.svg?logo=read-the-docs&logoColor=white)](http://pandoc-latex-margin.readthedocs.io/en/latest/)

*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.

[pandoc]: http://pandoc.org/

Instructions
------------

*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].

Install *pandoc-latex-margin* using the bash command

~~~shell-session
$ pipx install pandoc-latex-margin
~~~

To upgrade to the most recent release, use

~~~shell-session
$ pipx upgrade pandoc-latex-margin
~~~

`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](https://pipx.pypa.io/stable/).

[python]: https://www.python.org
[on Windows]: https://www.python.org/downloads/windows
[PyPI]: https://pypi.org

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.

[file an issue]: https://github.com/chdemko/pandoc-latex-margin/issues