On Sun, 28 Apr 2019 21:44:48 +0200 (CEST) Thomas Meulendijks <t.meulendi...@tuta.io> wrote: > Hi all, > > I am currently using pandoc to convert my markdown files into pdf. > I do this because of a few things, > > - I want to be able to manage my documents in git. > - I want to edit my documents in my text editor of choice > - I want to first type and afterwards worry about styling (for this I use > latex templates now) > I want to move away from pandoc since (on arch Linux at least) the > package with dependency is 420MiB.
This is because it needs the Haskell compiler (ghc), cabal, and a bunch of Haskell packages. Pandoc also distributes binaries, which you can use. There's even an AUR package for it: https://aur.archlinux.org/packages/pandoc-bin/ Whenever I wanted to make PDF documents converted the Markdown files to HTML and then to PDF (using Firefox's PDF printer). It's not perfect, but easy enough to set up and I never needed to do this enough to look for anything better. One advantage is that you can use inline HTML for stuff that's not supported in Markdown if you need it.
pgpmQXcbXzU7D.pgp
Description: OpenPGP digital signature