[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Putting a bunch of jpg files on an mm document - too slow
From: |
Blake McBride |
Subject: |
Re: Putting a bunch of jpg files on an mm document - too slow |
Date: |
Sun, 2 Jun 2024 14:31:48 -0500 |
I 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.
Thanks!
Blake
On Sun, Jun 2, 2024 at 2:05 PM Blake McBride <blake1024@gmail.com> wrote:
> 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.
>
> Any suggestions on including jpg files into an mm document faster?
>
> Thanks!
>
> Blake
>
>