Home

Awesome

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

$ ./gemtext2latex.py < example.gemini > example.tex
$ pdflatex example.tex

To do

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.