I built the pdf guide a while ago, and I noticed a few problems that I
managed to work around.

One point is that you need to have lots of other packages installed, and
if you don't, it doesn't say anything clear.

I installed all of the following to make it work:

    asciidoc
    texlive-full
    docbook
    source-highlight
    context-nonfree
    context-doc-nonfree
    docbook-dsssl-doc
    docbook-defguide
    python-apt-doc
    vim-doc
    w3m
    lynx
    links
    vim-scripts
    epubcheck
    sgmls-doc

(This was a while ago, under Debian Stretch.)

A second point is that under Buster and Bullseye, the convert program
(from ImageMagick) won't accept pdf's.  The reason has to do with an old
Ghostscript but and security concerns.

This problem of convert losing this capability also causes the Debian
package pdfsandwich to no longer work.  It is all a real problem.  Note,
that there are many other ways to do what needs to be done.  To put
images into a pdf you can use the Debian package img2pdf.  To go the
other way, you can use pdfimages or pdftocairo (in poppler-utils).

Somehow it seems that this should be fixed in the imagemagick package
since there must be other programs that depend on it.

I agree with the comments from people about it probably not being a good
idea to just edit /etc/ImageMagick-6/policy.xml to let Ghostscript do
stuff.  That definitely makes me too nervous to do.

On Sun, Dec 19, 2021 at 9:33 PM Ryan Kavanagh <r...@debian.org> wrote:
>
> Another status update for those following at home:
>
> The mlton package (upstream release 20210117) now bootstraps and builds!
>
> For some reason I can't get the guide to compile (pdflatex spits out a
> bunch of errors and then dies, and the tool that calls pdflatex suggests
> the docbook input is invalid), so I might just temporarily disable
> building/installing it. I figure having an installable mlton package
> sans PDF guide is better than having no mlton package whatsoever in the
> meantime.
>
> I have considerably more time to work on this now that the semester is
> over, so I'm hoping to get it uploaded in the next week or so.
>
> Best,
> Ryan
>
> --
> |)|/  Ryan Kavanagh  | 4E46 9519 ED67 7734 268F
> |\|\  https://rak.ac | BD95 8F7B F8FC 4A11 C97A

Reply via email to