Convert Gemini text to LaTeX
Project description
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.
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gemtext2latex-0.1.tar.gz.
File metadata
- Download URL: gemtext2latex-0.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df1372c5ec47d39caef597ce9e5a87cee23da875469197a7f568de5d47c335b1
|
|
| MD5 |
0c071420f0e9da7663a315c2d2047cd6
|
|
| BLAKE2b-256 |
d79a38eb386bd59e253fbb8331219eeb2d248351a94785492e68e4fcf88725c8
|
File details
Details for the file gemtext2latex-0.1-py3-none-any.whl.
File metadata
- Download URL: gemtext2latex-0.1-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c74c81be90e46017c52461f1829ebdab13c69212ad9d67f60b0c0e5a597692bb
|
|
| MD5 |
713ea15abf8c9c4a61314cc78609a6c3
|
|
| BLAKE2b-256 |
a5311f5e5617f8b950e2d9c015b9230c4e4bc04b504ac0e493c245caa6920ad1
|