groff
[Top][All Lists]
Advanced

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

Putting a bunch of jpg files on an mm document - too slow


From: Blake McBride
Subject: Putting a bunch of jpg files on an mm document - too slow
Date: Sun, 2 Jun 2024 14:43:37 -0500

Greetings,

I have a bunch of jpg files I need to put into an mm file.  The way I am
doing it right now is:

1. convert jpg files to ps files using:  convert pic.jpg pic.ps
2. Include the pics in the mm file using:  .PSPIC pic.ps 4in
3. Run groff:   groff -mm file.mm >file.ps
4. Convert the file to a PDF file with:  ps2pdf file.ps file.pdf

It works. The problem is that stem #4 takes a long time.  Sometimes more
than five minutes!

I tried using gs directly but that didn't help.

I also tried:

1.  Convert the jpg file to a pdf file with:  convert file.jpg file.ps
2.  Include the picture with:  .PDFPIC file.pdf 4in
3.  Run groff with:  pdfroff -mm -U file.mm >file.pdf

But line 3 gives me the following error:

GPL Ghostscript 9.55.0: Unrecoverable error, exist code 1
Segmentation fault (core dumped)

I'm sure the jpg and mm files are correct.

Any suggestions on including jpg files into an mm document faster?

Thanks!

Blake McBride


reply via email to

[Prev in Thread] Current Thread [Next in Thread]