delphin-latex
LaTeX exporters for DELPH-IN data.
Currently only one exporter is available:
delphin.codecs.dmrstikz-- export DMRS for rendering withtikz-dependency
Contributions of other exporters are welcome!
Example
Here is an image of the PDF produced for the DMRS for "The chef whose soup spilled quit":
Installation and Requirements
This package is a plugin for PyDelphin. Install it with pip:
$ pip install delphin-latex
It depends on the delphin.dmrs and delphin.predicate modules in
PyDelphin version 1.0.0. For rendering, LaTeX and the
tikz-dependency package are required.
Usage
The delphin.codecs.dmrstikz module implements the output functions
of PyDelphin's Codec API:
dump()- serialize list and write to a filedumps()- serialize list and return a stringencode()- serialize a single instance and return a string
The dump() and dumps() functions insert the LaTeX preamble
and postamble so the result is a full document, while encode()
only serializes the individual dependency environment.
Related
For visually presenting MRSs, DMRSs, and derivation trees, you may also be interested in delphin-viz which can save visualizations as PNG or SVG files.
Metadata
Release files for delphin-latex 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| delphin-latex-1.0.1.tar.gz | 5.1 kB | Without provenance | Details for delphin-latex-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| delphin_latex-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for delphin_latex-1.0.1-py3-none-any.whl |
Total release size: 10.3 kB
Release files / delphin-latex-1.0.1.tar.gz
| Download URL | delphin-latex-1.0.1.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0bbc150f21f89fb39078d1021a4f3a05649bdee25d6b4fff310d9d43e4ac29f
|
|
BLAKE2b-256 checksum How to use checksums |
6367be7f71ddcb994421b54d728c83f78127e713441e737331cb0bdb0dab0401
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.5
|
Release files / delphin_latex-1.0.1-py3-none-any.whl
| Download URL | delphin_latex-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef923b2bf1face45771f7945de2d266c1ffb9137eb1e55c01fa4d69cf11481b0
|
|
BLAKE2b-256 checksum How to use checksums |
c8acd6a19509f311e7c6b134cd30bbacd398c2c86f167d896a8db6b053b92a9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.5
|
Security for delphin-latex 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.