I use pandoc:
pandoc input.md -o out.pdf
It can use LaTeX or pdfroff for the PDF generation as well as some other backends that I haven't tried yet. The --pdf-engine
flag lets you choose between them.
F-Droid is an installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform. The client makes it easy to browse, install, and keep track of updates on your device.
Matrix space | forum | IRC
I use pandoc:
pandoc input.md -o out.pdf
It can use LaTeX or pdfroff for the PDF generation as well as some other backends that I haven't tried yet. The --pdf-engine
flag lets you choose between them.
Oh, so there are some available engines on Termux? I had tried just what you did and not specifying the engine would result in an error of missing pdflatex
, could you give me the whole command please? Or the packages I need to install first
I must admit that I didn't realize that we were on c/F-Droid :) But I just gave it a go in termux and got it working there too:
apt install pandoc groff ghostscript
pandoc in.md -o out.pdf --pdf-engine=pdfroff
Pandoc is awesome. Highly recommend. Since it can also do numerous other conversions.
Joplin