I tried .PSPIC image.eps
and .PSPIC image.ps
after converting a jpeg to postscript on converthub.com, compiled with groff -ms -p file.ms -Tpdf > file.pdf
, and it shows up as a box with the correct dimensions but just the file name as a label and no image. That's exactly what this thread said to do, but doesn't work. I can do text just fine, but don't know much about ps images. What am I doing wrong?
Asked
Active
Viewed 2,272 times
5
-
3Try using -Tps so that the backend is `grops` which handles this macro. Then convert with `ps2pdf`. – meuh Oct 29 '18 at 09:45
-
Thanks, that worked! – Unaboober Oct 29 '18 at 12:17
1 Answers
0
From the groff_tmac(5)
man page:
The following output devices support inclusion of PS images: -Tps, -Tdvi, -Thtml, and -Txhtml; for all other devices the image is replaced with a hollow rectangle of the same size.
You can use -Tps
instead of -Tpdf
, and then convert with ps2pdf
:
groff -ms -p file.ms -Tps | ps2pdf - file.pdf

Shane Bishop
- 3,905
- 4
- 17
- 47