我试过 .PSPIC image.eps
和 .PSPIC image.ps
在 converthub.com 上将 jpeg 转换为 postscript 后,使用 groff -ms -p file.ms -Tpdf > file.pdf
编译,它显示为一个具有正确尺寸的框,但只有文件名作为标签,没有图像。这正是this thread说可以,但是不行。我可以很好地处理文字,但对ps图像了解不多。我究竟做错了什么?
最佳答案
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.
您可以使用
-Tps
而不是 -Tpdf
,然后用 ps2pdf
进行转换:groff -ms -p file.ms -Tps | ps2pdf - file.pdf
关于pdf - 将文件中的图像嵌入到 groff 中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53038378/