Package: pandoc
Version: 0.46+2
Severity: wishlist

Hello,

the shipped markdown2pdf program needs some LaTeX libraries provided
either by texlive-latex-recommended or by tetex-extra. These packages
are suggested for install by the pandoc package, sure, but it is
currently quite hard to guess which suggested package is needed to
enable a given optional functionality (assuming that having a program
shipped to /usr/bin work is optional functionality).

In order to eventually guess, without resorting to random suggested
packages installation, that I needed to install
texlive-latex-recommended, I first had to try running markdown2pdf and
watch it fail with :

--- error message ---

markdown2pdf: pdfLaTeX failed with error code 1
markdown2pdf: error context:
! LaTeX Error: File `ucs.sty' not found.

! Emergency stop.
<read *>

!  ==> Fatal error occurred, no output PDF file produced!
markdown2pdf: Please install the 'unicode' package from CTAN:
  http://www.ctan.org/tex-archive/macros/latex/contrib/unicode/

--- /error message ---

I then tried 'apt-cache search latex unicode', which does *not* return
the missing package; reading markdown2pdf(1) then provided me with
some clues on which other LaTeX packages were missing; that allowed me
to apt-cache search for a less generic name (fancyvrb), which
eventually returned texlive-latex-recommended, that I had seen in
pandoc’s Suggested field.

This process seems a bit complicated to me, and I’m thus proposing the
following : please add a README.Debian file that would explain how to
enable optional functionality, by making explicit which Suggested
packages one has to install. Another solution would be to patch
markdown2pdf(1) and Debianize the dependency information it
already contains.

Bye,
--
  intrigeri <[EMAIL PROTECTED]>



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to