Comments (8)
模板是使用pdflatex编译的。pdflatex只支持jpg(jpeg)和pdf图片。eps图像一般是矢量的,最好转换成pdf格式,这样能保持矢量特性。
开源的解决方案有可以用Inkscape将eps转换成pdf格式。同时inkscape也支持设置画布大小,可以点击按钮自动将画布设置为图像的大小,达到自动去白边的目的。
另外Acrobat Pro也可以自动去白边。
from uestcthesis.
这个issue由我关闭吧。这样能提醒我,把这个事写到说明文档里。我会配上操作截图的。
from uestcthesis.
搞定了,非常感谢!
在 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.
有没有试过用dvipdfm编译啊,那个支持eps的。
from uestcthesis.
那样就又不支持jpg格式了。pdflatex编译还是方便的。jpg支持标量图,pdf支持矢量图。用inkscape都能方便转换。
from uestcthesis.
@shifujun epstopdf宏包可以解决这个问题,很方便的。参见这里,还有这里。
from uestcthesis.
@andnot 那个宏包应该也是内部转换了格式吧。pdflatex不支持eps格式是编译器决定的。如果那个宏包可以直接插入eps文件,你实验过很好使的话,你可以把使用方法写在Wiki里。
from uestcthesis.
@shifujun 对,这个宏包本质上就是把eps自动转换为pdf格式的图片。不过用它有个好处,就是代码复用性增强了。
比如用户以往的TeX文档都是直接插入eps,则源代码中的图片后缀都是.eps。现在写学位论文时若打算将之前的TeX文档内容复制过来,又不愿一个个修改源代码中的文件后缀,则可以直接在导言区加上epstopdf包,可保证编译成功;还免去了挨个手动转换eps图片的麻烦,简单快捷。
from uestcthesis.
Related Issues (20)
- 章节问题
- Citating URL
- Source of figure appearing on List of figures
- 怎么用algorithm环境插入伪代码来表示算法呢? HOT 1
- 编译模板时生成的PDF中参考文献是空白
- 编译报错,然后中止编译了 HOT 3
- 如何使用模板的插图命令插入pgf/tikz画的图? HOT 1
- windows10运行compile脚本不报错,也不生成任何编译后的pdf文件 HOT 2
- main_multifile的问题
- 本科毕业设计论文的“外文资料原文”“外文资料译文”在目录中会重复出现 HOT 1
- section and subsection
- Windows 编译脚本出错
- 请问如何让参考文献只显示我引用过的文献? HOT 3
- 切换控制台代码页为65001(UTF-8),编译失败
- I can't find file `CJK.enc' HOT 1
- mac利用mactex不能编译 HOT 3
- 请问如何用算法格式? HOT 1
- subfloat and url command are not working
- wiki 中的 lshort-zh-cn.pdf 链接已失效 HOT 4
- Package glossaries Error: You must use \makeglossaries with automake=immediate. \end{document} HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uestcthesis.