gemtext2latex
This is a trivial tool for converting text in Gemini format to LaTeX. It assumes the presence of a minimal LaTeX class called mk-plain.
The tool simply reads Gemini text on stdin and emits a reasonable LaTeX document, which in turn can produce a reasonable PDF via pdflatex.
Usage once the interface has re-stabilised
$ gemtext2latex < example.gemini > example.tex
$ pdflatex example.tex
Installers
It is intended that one should be able to install this via Python's normal packaging tools, e.g.,
$ pipx install gemtext2latex
Alternatively, binary installers are going to be generated on Github. These probably install all of Python, so are a bit of overkill.
To do
- provide docs
- tidy up the code
Licence
To the extent that such a small piece of code is subject to copyright, I am happy to make it available under the Apache Software Licence, v2.0.
Release files for gemtext2latex 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 | |
|---|---|---|---|
| gemtext2latex-0.1.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gemtext2latex-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.9 kB
Release files / gemtext2latex-0.1.tar.gz
| Download URL | gemtext2latex-0.1.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df1372c5ec47d39caef597ce9e5a87cee23da875469197a7f568de5d47c335b1
|
|
BLAKE2b-256 checksum How to use checksums |
d79a38eb386bd59e253fbb8331219eeb2d248351a94785492e68e4fcf88725c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / gemtext2latex-0.1-py3-none-any.whl
| Download URL | gemtext2latex-0.1-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c74c81be90e46017c52461f1829ebdab13c69212ad9d67f60b0c0e5a597692bb
|
|
BLAKE2b-256 checksum How to use checksums |
a5311f5e5617f8b950e2d9c015b9230c4e4bc04b504ac0e493c245caa6920ad1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|