【发布时间】:2017-09-26 13:33:29
【问题描述】:
实际上,我在使用 Inkscape 0.91 时发现了最初的问题 - 它可以选择在 SVG 表面上渲染 Latex 图像。稍微挖掘一下,似乎问题是由于pstoedit失败,单独调用时报告:
$ pstoedit -f svg test.ps test.svg
pstoedit: version 3.70 / DLL interface 108 (built: Sep 25 2017 - release build - g++ 4.9.3 - 64-bit) : Copyright (C) 1993 - 2014 Wolfgang Glunz
Unsupported output format svg
更深入地挖掘,pstoedit 似乎使用 plotutils 来完成这项工作,但从测试来看,plotutils 似乎做了它应该做的事情:
echo 0 0 1 1 2 0 | spline | graph > test.meta
成功创建了一个包含样条线的test.meta 文件,同时
plot -T svg test.meta > test.svg
将该元文件正确转换为test.svg
安装的版本是:
- plotutls 2.6(看起来不错,创建 svg)
- pstoedit 3.7(工作,除了 svg)
- Inkscape 0.91(Latex 出现在
extensions | render菜单中 但不起作用 - 因为 pstoedit 不会生成 所需的svg)
我还查看了 ./configure 选项以检查是否缺少某些东西 - 不走运。
分布是Slackware64-current。由于Slackware总是安装头文件,所以这里没有头文件(-dev,-devel...)丢失(我也检查过。安装plotutils后重新编译pstoedit)
【问题讨论】: