[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Converting markdown to PDF




On April 1, 2021 4:45:03 PM CDT, Paul M Foster <paulf@quillandmouse.com> wrote:
>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.

I like the markdown -> docbook -> formatting objects(fo) -> PDF pipeline. It tends to produce PDF documents that look more "business" and less "academic" than the latex pipeline.


Reply to: