Skip to main content

A pandoc filter for automatic numbering

Project description

Build Status Coveralls Scrutinizer PyPI version PyPI format License Python version Downloads Source Rank Development Status Docs Code style: black

license icon by Daniel Bruce, format icon by Picol, status icon by Just Icon, code style icon by Google Material Design icons

pandoc-numbering is a pandoc filter for numbering all kinds of things.

Documentation

See the Read the docs pages.

Usage

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

--filter pandoc-numbering

Installation

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

pip install pandoc-numbering

To upgrade to the most recent release, use

pip install --upgrade pandoc-numbering

To upgrade to the current code, use

pip install --upgrade --force --no-cache git+https://github.com/chdemko/pandoc-numbering

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

Make sure you have the

  • tocloft

LaTeX package. On linux you have to install some extra libraries before pandoc-numbering. On a Debian-based system (including Ubuntu), you can install it as root using

apt-get install texlive-latex-extra

Getting Help

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

Project details


Download files

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

Source Distribution

pandoc-numbering-3.2.1.0.tar.gz (22.5 kB view details)

Uploaded Source

File details

Details for the file pandoc-numbering-3.2.1.0.tar.gz.

File metadata

  • Download URL: pandoc-numbering-3.2.1.0.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.9

File hashes

Hashes for pandoc-numbering-3.2.1.0.tar.gz
Algorithm Hash digest
SHA256 b8fdc9f0d3806b70370ea4ad31bb3d39206aaa27ecb21ed314709d2a38053ec7
MD5 a632a72ca9d6428ee3d4aba1b08b8632
BLAKE2b-256 c0234a8e05c7e4106b929f5180f006d9e4d66f5184c85df4f76748aff1cad9c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page