Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A pandoc filter for interlinear glosses

Project description

# pangloss

Provides support for interlinear glosses with Markdown example lists.

## Example

The following code snippet demonstrates the most important features of
pangloss:

```
As you can see in the following examples, pangloss is really easy to use:

(@) Jorge llama a Maria.
George calls-3s.PRES.IND to Maria
'George calls Maria.'
(@) Aussi, vous pouvez avoir de multiples exemples.
also you can-2p.PRES.IND have.INF of multiple-PL example-PL
'You can also have multiple examples.' {#ex:french}

You can even refer to examples, as in @ex:french.
```

Each example consists of three lines: an original, a word-by-word analysis, and
an overall translation. Placing `{#ex:...}` after the translation line
introduces a new label, which can then be referred to with the `@ex:...`
syntax as in [pandoc-crossref](https://github.com/lierdakil/pandoc-crossref).
Similar customization of labels and more advanced references are coming soon.

## Installation

Install with:

```
pip install -U pangloss
```

Use with:

```
pandoc in.md -F pangloss -o out.{pdf,html}
```


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 pangloss, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size pangloss-0.2.0-py2.py3-none-any.whl (8.1 kB) File type Wheel Python version py2.py3 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 SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page