Skip to main content

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


Download files

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

Built Distribution

pangloss-0.2.0-py2.py3-none-any.whl (8.1 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page