Re: [dev] Pandoc replacement that sucks less

From: Martin Tournoij <martin_AT_arp242.net>
Date: Mon, 29 Apr 2019 15:52:00 +1200

On Sun, 28 Apr 2019 21:44:48 +0200 (CEST) Thomas Meulendijks <t.meulendijks_AT_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.

Received on Mon Apr 29 2019 - 05:52:00 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 29 2019 - 06:00:09 CEST