5

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?

KenS
  • 30,202
  • 3
  • 34
  • 51
Unaboober
  • 81
  • 2

1 Answers1

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