18

我有 Windows 7 64 位。我按照给定的顺序安装了这些:

  1. Miktex (基本-miktex-2.9.4521.exe)
  2. 幽灵脚本 (gs905w32.exe)
  3. GSView (gsv50w32.exe)
  4. pstoedit (pstoeditsetup_win32.exe)
  5. Inkscape (Inkscape-0.48.2-1-win32.exe)

但是,我仍然无法Extensions -> Render -> Latex FormulaInkscape. 什么不见​​了?

4

5 回答 5

17

好的,添加miktext,gspstoedit; PATH它工作得很好。

例如,为了添加pstoedit到路径:

Computer > Properties > Advanced > Environment Variables > PATH > Edit 

添加以下内容:

;C:\Program Files (x86)\pstoedit;

PS:不要忘记分号。

祝你好运。

于 2012-08-07T16:02:14.720 回答
5

这对我有帮助,但我仍然遇到错误。一段时间后我解决了它们,所以这是你必须注意的:

将程序添加到路径时,不要在分号后使用空格!!

当您稍后在 Incscape 中键入代码时,它需要美元符号来指示公式,即使它要求 LaTeX 公式,所以看起来您应该已经处于数学模式。示例:$\vec{r_p}$。你仍然会收到很多警告,但至少它会产生你想要的。

只是添加这个以防其他人可能有同样的问题:)

于 2014-05-01T19:45:34.670 回答
1

我想补充一点,最新的 ghostscript 版本(在撰写本文时)9.22 会引发一些贬值错误,但使用已接受的答案(由 Sait)9.05 中建议的版本,为我修复了所有问题。谢谢!

我在 Windows 10 上使用了以下版本:

  1. Miktex(我认为是 MiKTeX2.9,32 位;这个可能是 Basic-miktex-2.9.4521.exe)
  2. Ghost 脚本(gs905w32.exe,不是当时最新的,gs922w32.exe)
  3. GSView (gsv50w32.exe)
  4. pstoedit (pstoeditsetup_win32.exe)
  5. ImageMagick (ImageMagick-7.0.7-Q16)
  6. Inkscape(Inkscape 0.92.2(5c3e80d,2017-08-06),大概是 32 位)

注意事项:

  1. 我用的是 32 位的版本,64 位的版本一开始没有其他问题)

  2. Ghost Script 9.22 版引发了一些折旧错误。9.05 版就像一个魅力。

  3. 在安装 pstoedit 时,我检查了:“用于在其他程序中使用 pstoedit.dll 的 .h 和 .lib 文件”和“插件 SVG、MIF、EMF、CGM 格式(共享软件)”
  4. 我安装了图像魔法。

来源: http: //knowledgepayback.blogspot.be/2017/09/surface-pro-2017-optimising-for.html

于 2017-10-23T14:02:00.557 回答
1

我发现现有的答案不令人满意。MikTeX 已经附带了将 PDF 转换为 SVG 以及将 LaTeX 编译为 PDF 的工具,因此这些依赖项似乎是人为的。我发现可以使用这些工具构建更新版本的 LaTeX 扩展https://github.com/juanjosegarciaripoll/inkscape-latex-miktex

Just copy the *.inx and *.py files into the Inkscape/share/extensions folder and start Inkscape. The interface is very primitive, and equations cannot be edited, but it works.

于 2018-07-30T14:56:46.530 回答
0

这个站点解释了使乳胶与 Inkscape 一起工作的过程...... 唯一应该检查的是添加到环境变量中的路径(如果使用了更新的版本)。

这是提议程序的引述(对不起,它是法语):

Choisissez les fichiers d'installation 32 或 64 bits en fonction de votre système。Si vous ne savez pas lequel il vous faut : Clic droit sur l'icône Ordinateur (sur le Bureau ou dans le Menu Windows) → Propriétés, l'information est affichée dans Système : 类型 du système。

  • 安装程序 Miktex、Ghostscript、Ghostview、ImageMagick
  • 安装程序 pstoedit en personnalisant l'installation :
    • 安装 dans le dossier de Gostgum : C:\Program Files\Ghostgum\pstoedit
    • Cocher : « .h 和 .lib 文件,用于在其他程序中使用 pstoedit.dll » et « 插件 SVG、MIF、EMF、CGM 格式(共享软件)»
  • 复印机文件 textext.py 和 textext.inx dans : C:\Program Files\Inkscape\share\extensions
  • Extraire site-packages.zip dans : C:\Program Files\Inkscape\python\Lib\site-packages
  • Clic droit Ordinateur (sur le Bureau ou dans le Menu Windows) : Propriétés → Paramètres système avancés → Variables d'environnement... Dans Variables système → Path, ajouter : ;C:\Program Files\gs\gs9.15\lib;C: \Program Files\gs\gs9.15\bin;C:\Program Files\ghostgum\pstoedit
于 2016-06-10T12:27:06.857 回答