a**e 发帖数: 5794 | 1 latex -version
MiKTeX-pdfTeX 2.7.2987 (1.40.7) (MiKTeX 2.7)
Copyright (C) 1982 D. E. Knuth, (C) 1996-2006 Han The Thanh
TeX is a trademark of the American Mathematical Society.
Han The Thanh就是pdftex的作者吧 |
|
c*******h 发帖数: 1096 | 2 also note that using pdftex as the engine is different from
calling pdftex as a compilation command. |
|
T*******n 发帖数: 493 | 3 The reason is that pdfTeX was written by Han The Thanh for his PhD thesis,
and for technical and commercial reasons he did not include implementation
of a PS interpreter within pdfTeX. |
|
c*******h 发帖数: 1096 | 4 all what you have to do is to
1) include the epstopdf package after the graphicx package, and
2) run `pdflatex' with the option --shell-escape.
i don't know of any modern people using the `pdftex' command nowadays. |
|
a**e 发帖数: 5794 | 5
miktex从2.5开始,把latex命令指向了pdftex |
|
c*******h 发帖数: 1096 | 6 i am pretty sure that in miktex, the latex engine is pdfetex.
it cannot be pdftex. |
|
c*******h 发帖数: 1096 | 7 查了一下,原来去年的时候pdftex把pdfetex暴力合并了。。。 |
|
K****n 发帖数: 23 | 8 要投一篇文章,会议要求PDF里面所有的字体都是嵌入的
我是用windows里的pdftex来生成PDF的。
文章里有张用GNUPLOT作的图片,里面用到了TIMES NEW ROMAN 字体,还有特殊符号mu
我是先用GNUPLOT输出PS,再用别的工具转换成PDF图片
最后这张图片里的TIMES NEW ROMAN和符号,就不能嵌入PDF文章
想问问有什么简便的方法可以在最后的PDF文件里嵌入所有字体和符号?
或者可以在GNUPLOT里面解决? |
|
K****n 发帖数: 23 | 9 要投一篇文章,会议要求PDF里面所有的字体都是嵌入的
我是用windows里的pdftex来生成PDF的。
文章里有张用GNUPLOT作的图片,里面用到了TIMES NEW ROMAN 字体,还有特殊符号mu
我是先用GNUPLOT输出PS,再用别的工具转换成PDF图片
最后这张图片里的TIMES NEW ROMAN和符号,就不能嵌入PDF文章
想问问有什么简便的方法可以在最后的PDF文件里嵌入所有字体和符号?
或者可以在GNUPLOT里面解决? |
|
K****n 发帖数: 23 | 10 要投一篇IEEE文章,会议要求PDF里面所有的字体都是嵌入的
我是用windows里的pdftex来生成PDF的。
文章里有张用GNUPLOT作的图片,里面用到了TIMES NEW ROMAN 字体,还有特殊符号mu
我是先用GNUPLOT输出PS,再用别的工具转换成PDF图片
最后这张图片里的TIMES NEW ROMAN和符号,就不能嵌入PDF文章
想问问有什么简便的方法可以在最后的PDF文件里嵌入所有字体和符号?
或者可以在GNUPLOT里面解决? |
|
K****n 发帖数: 23 | 11 要投一篇文章,会议要求PDF里面所有的字体都是嵌入的
我是用windows里的pdftex来生成PDF的。
文章里有张用GNUPLOT作的图片,里面用到了TIMES NEW ROMAN 字体,还有特殊符号mu
我是先用GNUPLOT输出PS,再用别的工具转换成PDF图片
最后这张图片里的TIMES NEW ROMAN和符号,就不能嵌入PDF文章
想问问有什么简便的方法可以在最后的PDF文件里嵌入所有字体和符号?
或者可以在GNUPLOT里面解决? |
|
c*******h 发帖数: 1096 | 12 tex+dvi用的是传统的latex命令,是不认pdf和jpg格式的图片的。它走的路线是tex->
dvi(->ps)->pdf。
texshop里面的pdftex用的是pdflatex命令。它除了认pdf和jpg等多种图片格式外,还
会将不认的eps格式先转换成pdf格式。它走的路线是直接从tex到pdf,一步到位。
---------- 非geek不要看 ----------
---------- 非把你绕晕不可 ----------
texshop里面的pdftex用的是pdflatex命令。texshop里面的tex+dvi用的是latex命令。
现在一般的latex发行版里面的latex命令指向的是pdftex命令 |
|
a**e 发帖数: 5794 | 13 LaTeX是基于TeX的一些宏。Knuth本人理论水平很高,实现能力稍弱。
所以他的TeX提供了很好的算法和发动机(engine),但是语法比较
原始、繁琐。
Lamport把TeX封装、修饰了一下,这就是LaTeX。它提供了较好的格
式(format)。其他人开发了很多基于这种格式的宏包(package)。
TeX的直接输出是DVI,后来有人把它扩展为pdfTeX,可以直接输出
PDF。后来人们给pdfTeX加上了对一种脚本语言Lua的支持,也就是
LuaTeX
TeX由于历史的局限,只能处理8位字符。所以后来出现了XeTeX,支
持Unicode和OpenType等。
所以发动机端目前有TeX, pdfTeX, LuaTeX和XeTeX。格式端有LaTeX
及其变种XeLaTeX,还有ConTeXt。LuaTeX目前只能和ConTeXt一起用,
而XeTeX可以和XeLaTeX、ConTeXt混用。
我现在用XeTeX和XeLaTeX,因为它们是三个代表、浴室拘禁的。
在发动机和格式之上有个更高层的概念,发行包(distribution)。
这个层次的有MikTeX, TeXLiv |
|
g******g 发帖数: 145 | 14 我用ctex有个问题。 再插入图片的时候, 用.eps文件的话,放在 .tex同一个文件夹
下,老是出现error,说这个eps文件找不到。 用jpg pdf图片的话,顶部packge{pdftex
}, 用出现error, 说pdftex.sty找不到。 有没有类是经验的。请指教。 thanks |
|
w*****n 发帖数: 438 | 15
pdftex
你include图片的时候是不是用错了?
从网上下载一个pdftex.sty |
|
a**e 发帖数: 5794 | 16 What is "顶部packge{pdftex}"?
pdftex |
|
g******g 发帖数: 145 | 17 update: 多谢答复的几位。上传了文件,前两个是想用eps 嵌入, 后两个文件是想用
pdf 图嵌入。 请大家看看。
我用ctex有个问题。 再插入图片的时候, 用.eps文件的话,放在 .tex同一个文件夹
下,老是出现error,说这个eps文件找不到。 用jpg pdf图片的话,顶部packge{pdftex
}, 用出现error, 说pdftex.sty找不到。 有没有类是经验的。请指教。 thanks |
|
g******g 发帖数: 145 | 18 有什么不一样吗? 我在ctex里编译。图片使出的pdf. 代码用了package{pdftex}, 然
后想将这个pdf图片贴进去。 一直有问题,说没有pdftex.try文件。 第一个一直没有
图片出来。 |
|
n*******l 发帖数: 2911 | 19 现在我的一片文章里有很多图,都是Matlab生成的,pdf格式,也有几个是jpg格式。
我用的是Mac上的TexShop写论文。
现在的问题是用pdftex编译没问题,但是如果用tex+dvi就会报错,说是
can not determine size of graph, no bounding box.
现在我就是用pdftex编译,然后把所有文件传给杂志编辑部,让他们自己折腾。
他们是可以搞定的。但是我还是想知道如何能够又快又好的解决这个问题。
哪位大神知道这个问题怎么解决?多谢了。
我曾经上网查过,似乎有人说是Mac上的Matlab生成的图形的问题。 |
|
p****o 发帖数: 1340 | 20 do you use linux? if so, it is possible to have the system to
convert eps to pdf figures automatically for you.
\usepackage[pdftex]{graphicx}
\DeclareGraphicsExtensions{.pdf,.eps}
\usepackage{epstopdf}
when you refer an image file foobar.eps in the tex, use
\includegraphics{foobar}
then you can compile the latex files
pdflatex -shell-escape your-latex-file
of course, you can change the pdftex.cfg to make "shell-escape"
a default option for pdflatex. |
|
A**********e 发帖数: 3102 | 21 各位老大,pdflatex 总是给出 dvi 来,不能生成 pdf。
按照 manual,
initexmf --edit-config-file pdftex.cfg
加上了
output_format 1
还是老样子。是不是需要跑个啥东西把改过的 pdftex.cfg 给更新一下啥的啊?
多谢多谢! |
|
n*****1 发帖数: 172 | 22 一般来说,如果source里没有图片的话,我都用pdftex来typeset
但是要是想用pstricks的话,就得改成用TeX and DVI来typeset
有没有办法让TeXshop根据情况自动选择用哪个来typeset?就是说,没有图片的话就用
pdftex来typeset,要是source里
用了pstricks的话就用TeX and DVI来typeset? |
|
w*****0 发帖数: 93 | 23 我用miktex2.9自带的texworks. 用feynMF,能显示出来费曼图,用了{fmfgraph*}
,label的内容却无法显示。
我抄了一段别人的例子如下:
\documentclass{article}
\usepackage{feynmf}
\begin{document}
\begin{fmffile}{simplelabels}
\begin{fmfgraph*}(140,125)
\fmfleft{i1,i2}
\fmfright{o1,o2}
\fmflabel{$e^-$}{i1}
\fmflabel{$e^+$}{i2}
\fmflabel{$e^+,\mu^+$}{o1}
\fmflabel{$e^-,\mu^-$}{o2}
\fmflabel{$i\sqrt{\alpha}$}{v1}
\fmflabel{$i\sqrt{\alpha}$}{v2}
\fmf{fermion}{i1,v1,i2}
\fmf{fermion}{o1,v2,o2}
\fmf{photon,label=$\gamma,,Z^0$}{v1,v2}
\end{fmfgraph... 阅读全帖 |
|
b*****u 发帖数: 445 | 24 已经加载了amsmath,用这三个命令都试过了,还是不行。。。
报错:
Underfull \hbox (badness 10000) in paragraph at lines 20--23
Underfull \hbox (badness 10000) in paragraph at lines 25--27
SyncTeX warning: Synchronization was disabled from
the command line with -synctex=0
Changing the value of \synctex has no effect.[1{C:/ProgramData/MiKTeX/2.9/
pdftex/config/pdftex.map}]
! Undefined control sequence.
l.37 $\llbracket \test
{SESP} \rrbracket=\llbracket \verb|SES| \rrbracket (\l
...
? |
|
b*****n 发帖数: 71 | 25 第一个没问题
你是用latex编译吗?不是pdflatex
代码有些小问题,比如最好用\centering而不是\center环境
图的宽度可以指定一些
\usepackage{graphicx}为什么用了两次?
pdftex |
|
b*****n 发帖数: 71 | 26 图片是eps格式的用latex编译,再dvi-ps-pdf或者dvi-pdf生成PDF文件
图片是pdf,png,jpg格式的用pdflatex编译,直接生成PDF文件
pdftex不是宏包而是命令,自然不能用package
楼主再试验一下吧
第一个图也没问题,上面那位朋友也说明了 |
|
g******g 发帖数: 145 | 27 那如果使用pdf图片的话,在ctex如何应用呢? 下面是附件3的编译(源文件好像有点
问题,应该是figure.pdf 而不是figure.eps)。
\documentclass{article}
\usepackage{amsmath}
\usepackage[dvips]{graphicx}
\usepackage{graphicx}
\usepackage{pdftex}
\begin{document}
\begin{figure}
\begin{center}
\includegraphics[scale=0.85]{figure.pdf}
\end{center}
\end{figure}
\end{document}
其中figure.pdf是想要的图片。 有什么问题吗?
‘图片是pdf,png,jpg格式的用pdflatex编译,直接生成PDF文件’ |
|
b*****n 发帖数: 71 | 28 \documentclass{article}
\usepackage{amsmath}
\usepackage[pdftex]{graphicx}
\begin{document}
\centering
\begin{figure}
\includegraphics[scale=0.85]{figure.pdf}
\end{figure}
\end{document}
pdflatex编译 |
|
i********e 发帖数: 174 | 29
Use ps2pdf in command line.
If you use latex and have pdftex, then the pdfpages package can be used to
combine multiple pdf files. |
|
n********e 发帖数: 1655 | 30 多谢回复,这个要加在哪里?我试着加在.lex文件里,结果提示说:
package pdftex.def error: File 'flies-eps-converted-to.pdf' not found
这其实是对应一个flies.eps文件的,但看样子是没有转换成功。 |
|
d**********o 发帖数: 1321 | 31 我与Emacs的不解情缘(9)
差不多去年暑假后回学期也学会了自己写macro,贴个前段时间做题时写过的写lc的模
板吧:M-x lc ENT :
(fset 'lc
[?# ?i ?n ?c ?l ?u ?d ?e ? ?< ?i ?o ?s ?t ?r ?e ?a ?m ?> return ?# ?i ?n
?c ?l ?u ?d ?e ? ?< ?v ?e ?c ?t ?o ?r ?> return ?# ?i ?n ?c ?l ?u ?d ?e ?
?< ?a ?l ?g ?o ?r ?i ?t ?h ?m ?> return ?# ?i ?n ?c ?l ?u ?d ?e ? ?< ?c ?s
?t ?r ?i ?n ?g ?> return ?# ?i ?n ?c ?l ?u ?d ?e ? ?< ?c ?m ?a ?t ?h ?>
return ?# ?i ?n ?c ?l ?u ?d ?e ? ?< ?s ?t ?a ?c ?k ?> return ?# ?i ?n ?c ?l
?u ?d ?e ? ?< ?q ?u ?e ?u ?e ?> retur... 阅读全帖 |
|
d**********o 发帖数: 1321 | 32 我与Emacs的不解情缘(9)
差不多去年暑假后回学期也学会了自己写macro,贴个前段时间做题时写过的写lc的模
板吧:M-x lc ENT :
(fset 'lc
[?# ?i ?n ?c ?l ?u ?d ?e ? ?< ?i ?o ?s ?t ?r ?e ?a ?m ?> return ?# ?i ?n
?c ?l ?u ?d ?e ? ?< ?v ?e ?c ?t ?o ?r ?> return ?# ?i ?n ?c ?l ?u ?d ?e ?
?< ?a ?l ?g ?o ?r ?i ?t ?h ?m ?> return ?# ?i ?n ?c ?l ?u ?d ?e ? ?< ?c ?s
?t ?r ?i ?n ?g ?> return ?# ?i ?n ?c ?l ?u ?d ?e ? ?< ?c ?m ?a ?t ?h ?>
return ?# ?i ?n ?c ?l ?u ?d ?e ? ?< ?s ?t ?a ?c ?k ?> return ?# ?i ?n ?c ?l
?u ?d ?e ? ?< ?q ?u ?e ?u ?e ?> retur... 阅读全帖 |
|
a*****j 发帖数: 72 | 33 看了,我把那个miktex refresh了
不知道是不是我的pdftex的版本不够? |
|
j******d 发帖数: 70 | 34 有没有办法在一个tex里插入eps和jpg?
要插入jpg我只知道先转pdf,不过好像pdf和eps不能同时被插入,
因为texify不认识pdf,pdftex不认识eps...
怎么办呢?谢谢. |
|
k******e 发帖数: 2 | 35 You can also write something like that:
\ifx\pdfoutput\undefined
% we are running LaTeX, not pdflatex
\usepackage{graphicx}
\else
% we are running pdflatex, so convert .eps files to .pdf
\usepackage[pdftex]{graphicx}
\usepackage{epstopdf}
\fi
换
操 |
|
o******e 发帖数: 10 | 36 第一次用beamer做slides,遇到这么一个问题:
因为不想让一页东西一下子都显示出来,所以用了
\itme <1-> blah...
\item <2-> blah blah...
然后用pdftex,结果出来的file有很多的pages,虽然只有20张slides,
结果page差点有50.
如果打印的话就是一大堆,太浪费纸张了。
其次,现在对于我到底有多少张slides也很难直接观察到。这个也很麻烦,
因为presentation时间是定的,我准备三分钟一张slide,所以我在选择
内容的时候要时刻围绕一个大致的slide的数目。现在因为不能从page数目
看slides数目,所以我老在tex文件里数来数去的,很痛苦。
请问这个问题有没有解决的办法?谢谢 |
|
w****a 发帖数: 186 | 37 gsview可以看eps文件。
如果你最终的目标是生成PDF文件,那么有好几种方式:
1)PDFTex: Tex -> PDF
2)dvipdfm(x): Tex -> DVI -> PDF
3)dvips+ps2pdf: Tex -> EPS -> PDF
每种都调用不同的程序,这些程序应该在你的Tex 系统(比如MikTex)中已经有了,不用
再下载。在TexnicCenter里面应该可以增加更多的方式吧。 |
|
T*******n 发帖数: 493 | 38 pdftex and pdflatex don't have a built-in Postscript interpreter
and therefore cannot convert EPS figures into PDF. |
|
G***p 发帖数: 59 | 39 I have solved the problem. Under the menu 'typeset', change 'pdftex' to 'tex
and ghostscript'. |
|
s***i 发帖数: 600 | 40 【 以下文字转载自 Linux 讨论区 】
发信人: sfbai (Paul), 信区: Linux
标 题: Latex class file 问题求助
发信站: BBS 未名空间站 (Tue Apr 24 01:25:32 2007)
我自己做了一个Latex 的 class file.
其它东西都搞定了,就一个问题没有解决:
hyperref.
后来发现是\addcontentline
和hyperref的兼容问题。
如果不加这个\usepackage[pdftex,colorlinks]{hyperref},
什么问题都没有,加上这个就是编译不过。
哪位大侠是高手,请多多指教。
我做了一个minium example, 用pdflatex编译: |
|
S**I 发帖数: 15689 | 41 Miktex 2.5包含latex和pdftex,latex不支持jpg,插入jpg图片需要第三方软件协助。 |
|
s***t 发帖数: 195 | 42 it depends on the hyperref settings. if you're using dvips,
hyperref by default doesn't break links. if you're using pdftex,
it does break links by default. but there's a setting you can
change to allow link breaking. |
|
j******a 发帖数: 1599 | 43 this maybe slighter longer, sorry
\documentclass[dvips, mathserif]{beamer}
% [dvips] allows use of latex->dvips->ps2pdf instead of pdflatex
%\documentclass[handout,xcolor=pdftex,dvipsnames,table]{beamer}
\usepackage{beamerthemesplit}
\usepackage{color}
\usepackage{graphicx}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{geometry}
\usepackage[english]{babel}
\usepackage{epic}
\usepackage{eepic}
\usepackage{color}
\usepackage{epsfig}
\usepackage{bm}
\usepackage{amscd} |
|
h****m 发帖数: 405 | 44 use sidecap package, as following:
\documentclass{article}
\usepackage[pdftex]{graphicx}
\usepackage{sidecap}
\begin{document}
\begin{SCfigure}
\centering
\includegraphics ...
\caption{ ... caption text ... }
\end{SCfigure}
\end{document} |
|
h****m 发帖数: 405 | 45 没仔细看你的code,但是pdftex要用pdf图吧?可以用eps2pdf转化。 |
|
h*******r 发帖数: 1083 | 46 是bug,还是有意的?我觉得插入eps图形应该是最简单的,为什么这么多年了,没把这
个功能加进去? |
|
h*******r 发帖数: 1083 | 47 那么用什么?我还在用,虽然是用我的texmaker简单调用。 |
|
|
T*******n 发帖数: 493 | 49
Yeah, really nice guy, met him at the TUG conference in Oxford. |
|
c*******h 发帖数: 1096 | 50 TUG的年会是有funding还是你自己出的钱呢?
TUG和practical TeX的会我都想去但不知道哪里可以搞到钱 |
|