Re: Converting markdown to PDF
On Thu, Apr 01, 2021 at 10:46:09PM +0200, Linux-Fan wrote:
> Paul M Foster writes:
>
> > I'm trying to use pandoc to convert markdown files to PDF. But when I try,
> > pandoc dumps out with an error that it needs "pdflatex" or some other
> > similar converter to do its job. No such "pdflatex" package exists in the
> > Buster stable archives. I'm sure something does this, but I don't know what
> > it is. Does anyone else know?
>
> pdflatex is provided by package texlive-latex-base.
>
> Some hints about which packages might be needed can be seen in pandoc's
> "Suggests":
>
> ~$ aptitude show pandoc
[snip]
Thanks. When I used "-t latex" and tried outputting to PDF after installing
some of these dependencies, I did get a PDF. Unfortunately, it looks about
as horrible as most LaTeX docs. I'll keep tweaking it.
Paul
--
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com
Reply to: