GithubHelp home page GithubHelp logo

关于插入eps图像 about uestcthesis HOT 8 CLOSED

shifujun avatar shifujun commented on August 26, 2024
关于插入eps图像

from uestcthesis.

Comments (8)

shifujun avatar shifujun commented on August 26, 2024

模板是使用pdflatex编译的。pdflatex只支持jpg(jpeg)和pdf图片。eps图像一般是矢量的,最好转换成pdf格式,这样能保持矢量特性。

开源的解决方案有可以用Inkscape将eps转换成pdf格式。同时inkscape也支持设置画布大小,可以点击按钮自动将画布设置为图像的大小,达到自动去白边的目的。

另外Acrobat Pro也可以自动去白边。

from uestcthesis.

shifujun avatar shifujun commented on August 26, 2024

这个issue由我关闭吧。这样能提醒我,把这个事写到说明文档里。我会配上操作截图的。

from uestcthesis.

lxhm avatar lxhm commented on August 26, 2024

搞定了,非常感谢!

在 2013-5-31,13:43,shifujun [email protected] 写道:

这个issue由我关闭吧。这样能提醒我,把这个事写到说明文档里。我会配上操作截图的。


Reply to this email directly or view it on
GitHubhttps://github.com//issues/15#issuecomment-18724280
.

from uestcthesis.

Readon avatar Readon commented on August 26, 2024

有没有试过用dvipdfm编译啊,那个支持eps的。

from uestcthesis.

shifujun avatar shifujun commented on August 26, 2024

那样就又不支持jpg格式了。pdflatex编译还是方便的。jpg支持标量图,pdf支持矢量图。用inkscape都能方便转换。

from uestcthesis.

andnot avatar andnot commented on August 26, 2024

@shifujun epstopdf宏包可以解决这个问题,很方便的。参见这里,还有这里

from uestcthesis.

shifujun avatar shifujun commented on August 26, 2024

@andnot 那个宏包应该也是内部转换了格式吧。pdflatex不支持eps格式是编译器决定的。如果那个宏包可以直接插入eps文件,你实验过很好使的话,你可以把使用方法写在Wiki里。

from uestcthesis.

andnot avatar andnot commented on August 26, 2024

@shifujun 对,这个宏包本质上就是把eps自动转换为pdf格式的图片。不过用它有个好处,就是代码复用性增强了。
比如用户以往的TeX文档都是直接插入eps,则源代码中的图片后缀都是.eps。现在写学位论文时若打算将之前的TeX文档内容复制过来,又不愿一个个修改源代码中的文件后缀,则可以直接在导言区加上epstopdf包,可保证编译成功;还免去了挨个手动转换eps图片的麻烦,简单快捷。

from uestcthesis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.