#48971: pandoc fails to convert Markdown to PDF due to missing dependencies --------------------------------+-------------------------------- Reporter: markus.mahlberg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: pandoc | --------------------------------+-------------------------------- Comment (by markus.mahlberg@…): Replying to [comment:1 gnwiii@…]:
Not all pandoc users want PDF's, and those who do have lots of options. For most users who want PDF's it is simpler to just install all the texlive packages than to work out a minimal list that fits their requirements.
I dare to object. The PDF creation of pandoc is enabled and documented in the manpage, so the port should provide said capabilities as per POLS.
A mapping from a list of package to the specific ports could be useful beyond pandoc -- a typical "use case" is some port that fails to build docs because some macros package isn't installed. In this case the user may just want the fastest route to getting the docs for the original port. One of the downsides to macports is that many Portfiles (R, nco come to mind) omit PDF docs that would require TeX/LaTeX to format, so there is a wider need for guidance on how to manage texlive ports than just pandoc so Portfile authors can enable PDF doc building without going to a lot of extra work.
I was just referring to the package-to-port mapping for pandoc's dependencies. ;) For the general problem I am not sure what you have in mind. A tutorial would be rather easy("Do a `port provides` on the missing STY."). An automation for this (eg in for of a wrapper) would require rather costly recursive file parsing and constant `port provides` queries. -- Ticket URL: <https://trac.macports.org/ticket/48971#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X