Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试在 converthub.com 上将 jpeg 转换为 postscript 后,用 编译.PSPIC image.eps,它显示为一个具有正确尺寸的框,但只是文件名作为标签而没有图像。这正是该线程所说的,但不起作用。我可以很好地做文字,但对ps图像知之甚少。我究竟做错了什么?.PSPIC image.psgroff -ms -p file.ms -Tpdf > file.pdf
.PSPIC image.eps
.PSPIC image.ps
groff -ms -p file.ms -Tpdf > file.pdf
从groff_tmac(5)手册页:
groff_tmac(5)
以下输出设备支持包含 PS 图像:-Tps、-Tdvi、-Thtml 和 -Txhtml;对于所有其他设备,图像被替换为相同大小的空心矩形。
您可以使用-Tps代替-Tpdf,然后使用 转换ps2pdf:
-Tps
-Tpdf
ps2pdf
groff -ms -p file.ms -Tps | ps2pdf - file.pdf