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}
```
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file pangloss-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pangloss-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e18f5c5e62a0840234f142819275e61d720dfa3bcfa78944aa257ac4f8f753eb |
|
MD5 | 1b8f0dea69f44da96078a6238adc347e |
|
BLAKE2b-256 | 53cb1dd7f04b474f267eec12b8d5558cef96cd5d56ddf4c09282af4c5cc366c5 |