Inkscape"PDF +乳胶"出口 [英] Inkscape "PDF + Latex" export

查看:49
本文介绍了Inkscape"PDF +乳胶"出口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用inkscape生成矢量图形,将它们保存为SVG格式,以便以后以"PDF + Latex"格式导出.在TUG inkscape + pdflatex指南中很有用.

I'm using inkscape to produce vector figures, save them in SVG format to export them later as "PDF + Latex" much in the vein of TUG inkscape+pdflatex guide.

但是,尝试制作一个简单的图形却非常令人沮丧.

Trying to produce a simple figure, however, turns out to be extremely frustating.

第一个数字是我想以"PDF + Latex"形式导出的图形的一个示例.(以PNG格式显示在这里).

The first figure is an example of the figure I would like to export in the form of "PDF + Latex" (shown here in PNG format).

如果我将其导出到没有 乳胶宏的PDF图形中,则生成的PDF看起来完全一样,除了用于呈现文本的字体略有不同.

If I export this to a PDF figure without latex macros the PDF produced looks exactly the same, except for some minor differences with the fonts used to render the text.

当我尝试使用"PDF +乳胶"将其导出时,选项生成的PDF文件包含2页的PDF文档(此处也是.png):

When I try to export this using the "PDF + Latex" option the PDF file produced consists on a PDF document of 2 pages (again as .png here):

这当然在编译我的乳胶文档时看起来并不好.到目前为止,TUG的指南非常有帮助,但我仍然无法生成有效的"PDF + Latex"从inkscape导出.

This, of course, does not looks good when compiling my latex document. So far the guide at TUG has been very helpful, but I still can't produce a working "PDF + Latex" export from inkscape.

我在做什么错了?

推荐答案

我通过将图纸中的所有文本放在顶部

I worked around this by putting all the text in my drawing at the top

选择 text ,然后选择 Object->升到顶部

Inkscape 仅在文本位于另一个对象下方时才生成单独的页面.

Inkscape only generates the separate pages if the text is below another object.

这篇关于Inkscape"PDF +乳胶"出口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆