由买买提看人间百态

topics

全部话题 - 话题: dvips
1 2 3 下页 末页 (共3页)
q*****g
发帖数: 1568
1
一个小问题,我用dvipdf生成pdf文件的时候总是有这样一个warning:
dvips: warning: no config file for `generic'
当然这个不是什么大问题,但是每次都看见这样一个warning还是很烦。
不知道如何让dvipds/dvips default成用letter 大小?
谢谢。
T*******n
发帖数: 493
2
Assuming that you have the teTeX distribution installed, you can run
"texconfig" to set the default paper size and dpi resolution for dvips
(and xdvi too). Or you can edit /usr/share/texmf/dvips/config.ps
directly if you know what you are doing.
a******s
发帖数: 232
3
来自主题: TeX版 - dvips怎么include eps文件?
在linux下用dvips -t letter -o a.ps a.dvi,生成的a.ps文件是没有eps文件的,
所以很小,怎么让dvips生成带eps文件的ps呢?windows下面用miktex如果dvi->ps就是
带eps的,所以很大.
谢谢
T*******n
发帖数: 493
4
来自主题: TeX版 - dvips怎么include eps文件?
If you use xdvi to view the DVI file, do you see the EPS
file on the page? The DVI file only contains a link to the EPS
file, and both xdvi and dvips use the same search path to follow
this link and find the EPS file.
When you ran LaTeX on the source file on Linux, did LaTeX
complain that it couldn't find the EPS file? Check the .log file
for warning or error messages. LaTeX also uses the same
search path as xdvi and dvips to find EPS files.
Are the DVI file and the EPS file in the same direc
T*******n
发帖数: 493
5
来自主题: TeX版 - dvips怎么include eps文件?
When you view the final PS file produced by dvips, is the EPS
picture there? If it looks okay, it should be okay. You can
always look inside the final PS file with a text editor and see
whether EPS file is in there.
Here's a wild guess: the EPS file may have contained a preview
bitmap, which can be huge. Maybe dvips threw away the preview
but kept the actual printing code for the figure when it included
the EPS file.


d***s
发帖数: 55
6
\documentclass[dvips]{beamer}
\begin{document}
abcdefg
\end{document}
生成的dvi是对的,但ps和pdf都只在左下角
如果把[dvips]去掉,用pdflatex编译,能生成正确的slide
请问怎么让 latex+dvi2ps+ps2pdf 正确编译啊? 因为有eps图,还用了psfrag,好像
不能
用pdflatex了
q*****g
发帖数: 1568
7
【 以下文字转载自 Linux 讨论区 】
发信人: qiuxing (球星), 信区: Linux
标 题: Re: dvips: warning: no config file for `generic' (转载)
发信站: BBS 未名空间站 (Sat Aug 27 17:16:15 2005), 转信
Google了好久,没有发现任何直接的答案。倒是发现了一个新的问题,
好像Linux里头所有和打印相关的命令by default都用A4纸。可是在美
国一般打印机都用letter size。这个现在我也也不知道该怎么去改。
a******s
发帖数: 232
8
来自主题: TeX版 - dvips怎么include eps文件?
对不起,可能我没说清楚,我的问题不是找不到.eps文件,latex/xdvi/dvips都工作正常

.eps文件也显示很好,我就是想问怎么把eps文件都编译到ps文件里面去,好像linux下面
的ps就是不编译到里面的,但是win下面的miktex就是包括eps文件的,至少缺省设置是
这样的.我问这个问题其实是两个系统生成的ps文件有点不一样,我想可能是这个原因.
a***n
发帖数: 404
9
一个好好地彩色的dvi文件,里面有个彩色的图片,是png 格式的,在Ctex里面先生成了
dvi 文件, 这个文件中该图片还是彩色的,可是用 dvips 之后生成的ps里面这个图片
就变成黑白的了,然后用ps2pdf该图片就继续保持黑白。
郁闷啊,为啥就是这个 png 的图片在 dvi 换ps的时候变黑白了呢? 其他的eps都正常
的啊,那些mathlab生成的彩色的图都正常。。
请教牛人解答~~
代码如下:
\begin{figure}[!h]
\begin{center}
\includegraphics[bb=0 0 490 737,width=2.3in]{figure1.png}
\end{center}
\caption{Experiment result.} \label{fig:result}
\end{figure}
r*******d
发帖数: 958
10
同一个latex源文档
发现用dvipdfmx 产生的pdf文件是3.1M
用dvips >ps2pdf 产生的pdf文件只有682K
但这个682K的pdf好像没有嵌入字体,因为在我的本子上字体显示跟在其他但脑上不同。
想必是因为dvipdfmx嵌入了字体导致文件巨大?
大家都用哪一种编译方式?
b**s
发帖数: 67
11
来自主题: Software版 - Re: LATEX 高手请指教!
\documentclass{article}
\usepackage{graphicx,lscape}
\begin{document}
\begin{landscape}
This is in landscape
\end{landscape}
\end{document}
If your ps driver is not dvips, then add it as:
\usepackage[dvips]{graphicx,lscape}
^^^^^^
The default is dvips, use whatever you use.
Also, you can check "rotating" "sidewaytable" etc packages.
j******a
发帖数: 1599
12
来自主题: TeX版 - beamer里面的字是白色的?
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}
T*******n
发帖数: 493
13
DVI files only contain special directives regarding EPS and other files.
It is up to the dvi processor (xdvi, dvips, dvipdf, dvi-to-whatever) to
understand the directive and do something about it. For example, if the
DVI file contains a directive pointing to an EPS file, xdvi will invoke
ghostscript to display the figure, and dvips will embed the EPS into the
PS output; if you delete the EPS file, both xdvi and dvips will complain.
p*********g
发帖数: 89
14
来自主题: TeX版 - dvi 显示的问题
我用的是 WinEdt 5.5 and MikTex 2.6 和Kluwer的论文模板。我在文件里加入条目的
时候,比如
\begin{itemize}
\item a
\end{itemize}
就会出现问题。Latex编译没有问题,但要是用dvi显示的话,就会出现两个错误框,第
一个
MikTek Problem Report
"Not all fonts could be loaded. See 'File->Document Properties', for details
."
我点ok 之后,就出现第二个错误框
"This is dvips(k) 5.96 Copyright 2007 Radical Eye Software (www.radicaleye.
com)
' TeX output 2007.12.15:1052' ->


z*****n
发帖数: 7639
15
来自主题: TeX版 - a problem of page layout
well, i got some hints that I should use this switch in
dvips:
dvips -tlandscape yourdvifile.dvi
It works, but the whole content is flipped up side down. so Funny.
Anyone can give me a hand to fix this problem?
C*S
发帖数: 135
16
来自主题: TeX版 - How to embed fonts
Hi, I got a problem.
The conference asks authers to embed all fonts in the final pdf file. But when
I use MikTex or other Latex software to do:
latex => dvips => ps2pdf
the fonts Times-* Helvetica* were never embedded in the pdf. And after long
searching on the internet, I am convenienced that Adobe Distiller and dvips
will not embed these fonts because they are basic fonts that do not need to
be embedded.
However, the conference checking software would not let the pdf pass the check
if these fo
T*******n
发帖数: 493
17
I don't use Windows, but on my Linux computer I do this:
latex file.tex
xdvi -paper usr file.dvi
(DVI files don't have information about page size, so need to tell xdvi)
dvips -t landscape file.dvi
ps2pdf file.ps
The resulting file.pdf looks okay in Acrobat Reader.
On Linux dvi2pdf actually runs dvips without the "-t landscape"
in the background, then runs ps2pdf, so the page orientation is
wrong too.

need
s***t
发帖数: 195
18
the "letter" option in .tex file doesn't have real effects on the
actual paper size. it only sets up correct margins etc. it's
dvips handles the paper size.
ps2pdf shouldn't give you any problem if you have a correct .ps file.
edit TEXMF/dvips/config/config.ps
move those lines about letter size paper ahead of those about a4 paper.
pdflatex should handle the paper size correctly.
c**z
发帖数: 1014
19
终于搞定了
我原来按照help里说得,修改的都是localtexml下的dvips,pdflatex等的config
file但是那样生成的ps是letter size的,但是用ps2pdf后页眉的地方就没用一点空间了
现在改了TEXMF/dvips/config/config.ps,已经一切ok了
多谢
不过按理说,应该localtexmf下面的设置先起作用才对啊,不管了,解决问题了就好
T*******n
发帖数: 493
20
来自主题: TeX版 - beamer里面的字是白色的?
I took your file, didn't change it, and ran it through latex and dvips
and the PS file looked fine. The word "Proof" does not appear on p. 3,
and it appear black on white on p. 4.
I also removed the "dvips," from line 1 of the file and ran it through
pdflatex, and the PDF file also looks correct.
I am not able to reproduce your problem of a white-on-white "Proof".
b******a
发帖数: 6
21
另外我还注意到这个error mesg:
Transcript written on "****.log"
This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (www.radicaleye.
com)
C:\Program Files\MiKTeX2.5\miktex\bin\dvips.exe: ! DVI file can't be opened.
LaTeX-Result: 0 Error(s), 1 Warning(s), ....
k**f
发帖数: 372
22

The ps file is generated using dvips over the dvi file generated by latex.
I suppose you are using TeXniccenter. In the output definition dialog box,
check the "Postprocessor" panel, make sure that the path of dvips is set
properly. The argument should be "%Bm.dvi".
p*********g
发帖数: 89
23
我用的Kluwer Academic Publishing的论文模板,出现了很初级的错误。
我用的是 WinEdt 5.5 and MikTex 2.6 和。我在文件里加入条目的时候,比如
\begin{itemize}
\item a
\end{itemize}
就会出现问题。Latex编译没有问题,但要是用dvi显示的话,就会出现两个错误框,第
一个
MikTek Problem Report
"Not all fonts could be loaded. See 'File->Document Properties', for details
."
我点ok 之后,就出现第二个错误框
"This is dvips(k) 5.96 Copyright 2007 Radical Eye Software (www.radicaleye.
com)
' TeX output 2007.12.15:1052' ->

l******t
发帖数: 108
24
there's a dvips.exe under YourMikTeXPath\miktex\bin
type dvips in the dos box to see its usage.
g******g
发帖数: 145
25
来自主题: Faculty版 - 大家都用哪款latex? 上传了文件
那如果使用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文件’
l**********1
发帖数: 5204
26
来自主题: Faculty版 - 问个潜规则
Pls refer
>To prevent Adobe PDF reader from errors like "Cannot extract the embedded
font...",
>add the PDF-specific option -Ppdf to dvips command line (e.g. in Kile/
WinEdt settings).
Also, avoid using usepackage[T1]{fontenc} but use {fontencoding{T1}...}
locally instead.
HTTPS double dot //www.maths.nottingham.ac.uk/personal/pmxic1/SciToolkit.php
r*******d
发帖数: 958
27
我都是自己整个脚本文件所有latex 命令放进去
运行一次完事
mac下下面的东西放一.sh文件里
--------------------
filename=xxxx
close $filename.pdf
rm -f $filename.bbl
rm -f $filename.pdf
latex $filename.tex
bibtex $filename
latex $filename.tex
latex $filename.tex
dvips -Pamz -Pcmz -t letter $filename.dvi -o $filename.ps
ps2pdf13 $filename.ps $filename.pdf
open $filename.pdf
rm -f *.out *.log *.aux *.blg *.dvi *.ps
clear
---------------
p**o
发帖数: 3409
28
winsows版本 compile.bat
set texin=main
set texout=main
latex %texin%.tex
bibtex %texin%
latex %texin%.tex
latex %texin%.tex
dvips %texin%
gswin32 -dBATCH -dPDFSETTINGS=/printer -dNOPAUSE -sDEVICE=pdfwrite -q -r600
-dCompatibilityLevel=1.4 -sDEFAULTPAPERSIZE=letter -sOutputFile=%texout%.pdf
-c save pop -f %texin%.ps
del %texin%.aux %texin%.dvi %texin%.log %texin%.out %texin%.blg %texin%.bbl
%texin%.ps
start %texout%.pdf
exit
p**o
发帖数: 3409
29
ACM SIG Alternate2的话,只需要
\usepackage{graphicx}
假设你有个example.eps在fig目录下:
\begin{figure}
\centering
\includegraphics[width=9cm]{fig/example}
\caption{An Example.}
\end{figure}
建议编译时先用dvips转成ps,然后再转pdf
(越过ps直接从dvi生成pdf的话,可能不接受eps文件,
需要先把eps转pdf——上次跟人合作就碰到这个问题)

templates )下载了Latex模板文件之后尝试编译,出现了如下错误:
c*****a
发帖数: 1046
30
来自主题: Apple版 - Mac下编译latex的执行脚本
比如可以写一个a.sh文件
latex a.tex
dvips -Pamz -Pcmz -t letter a.dvi -o a.ps
ps2pdf13 a.ps a.pdf
出来在terminal里面,chmod +x a.sh ./a.sh
v******y
发帖数: 4134
31
来自主题: Apple版 - macbook pro到底好在哪里呀?
在WINDOWS里能弄对的唯一一办法是pdflatex,但是我不喜欢,因为时间慢,不如dvips
来得快,而且图片也必须存成pdf
C******8
发帖数: 501
32
来自主题: Apple版 - macbook pro到底好在哪里呀?
windows上可以装cygwin

dvips
v******y
发帖数: 4134
33
来自主题: Apple版 - 有人在MACBOOK里运行LATEX吗?
谢谢好心人呀,我已经下下来了,可以用,而且用这种编辑器好象都不用SAVE之类的,
编译速度也很快,不用我在linux下面要latex,dvips,bibtex好几轮才办得好
给你发包子了
s***t
发帖数: 195
34
来自主题: CS版 - 大家都用什么做简单图
you can use xfig to export metapost. the run mpost on the file to get the
graphic files, which is a special kind of eps and can be include by both dvips
and pdflatex. and you can use latex command for all the symbols. very
convenient.
or convert the .fig to .mp using fig2vect http://fig2vect.sourceforge.net/
it gives better .mp than transfig that comes with xfig.
【 在 pippylu (pippylu) 的大作中提到: 】
z*****u
发帖数: 138
35
Here is some code I use:
all:
latex paper.tex
bibtex paper
latex paper.tex
latex paper.tex
dvips -Pcmz -Pamz -G0 paper -o paper.ps
ps2pdf -dPDFSETTINGS=/printer -dCompatibilityLevel=1.3 -dMaxSubsetPct=
100-dSubsetFonts=true -dEmbedAllFonts=true -sPAPERSIZE=letter paper.ps paper
.pdf
If you do not use bibtex, then remove the second and third lines.
a***y
发帖数: 19743
36
dvips(k) 5.95a Copyright 2005 Radical Eye Software
j**v
发帖数: 38
37
记得过去用过一个命令可以轻松的设定latex, dvips, ps2pdf, pdflatex各自使用的纸
张种类(a4paper, letter),想不起来了,请问是哪个?
Thanks!
E*V
发帖数: 17544
38
来自主题: Linux版 - Latex for linux
do you have the command `latex'
or dvips
dvipdf
g*****n
发帖数: 239
39
【 以下文字转载自 TeX 讨论区 】
发信人: gujason (gujason), 信区: TeX
标 题: 请教Gnuplot 画的图在不同latex template 下legend显示的问题
发信站: BBS 未名空间站 (Sat Oct 31 14:38:58 2009, 美东)
gnuplot画的图,在有的template下,图没有问题。但在别的template下,legend里单
词之间没有了空格。 是因为出现了dvips: font ??? used in file ??? is not in
the mapping file 的error吗?有什么解决的方法吗?多谢了!
s*******n
发帖数: 2828
40
来自主题: Linux版 - LaTex editor on Ubuntu
这是我的vimrc
let g:tex_flavor = "latex"
let g:Tex_CompileRule_dvi="latex -src-specials -interaction=nonstopmode $*"
let g:Tex_DefaultTargetFormat='pdf'
let g:Tex_MultipleCompileFormats='pdf'
let g:Tex_IgnoredWarnings =
\"Underfull\n".
\"Overfull\n".
\"specifier changed to\n".
\"You have requested\n".
\"Missing number, treated as zero.\n".
\"There were undefined references\n".
\"Citation %.%# undefined\n".
\"LaTeX Font Warning:\n"
" This number N says that latex-suite should ignore the first N of th... 阅读全帖
r**a
发帖数: 630
41
来自主题: Software版 - Re: problem with postscript printer
why not transfer dvi file to ps file directly ?
dvips
z*****n
发帖数: 7639
42
来自主题: TeX版 - a question of beamer
I just put the example code from
http://latex-beamer.sourceforge.net/
and made a ps output, but it generate slide at left-bottom
corner of every page. What is the problem?
by the way, how many page styles I can use and
where I can find the samples of them?
【clustering】
Run the following command after replacing %1 with your
latex file, without the "tex" extension.
latex --src-specials %1
bibtex %1
latex --src-specials %1
latex --src-specials %1
dvips -P pdf -tletter %1.dvi -o temp.ps
psnup -1 -W1
l******t
发帖数: 108
43
来自主题: TeX版 - any one use tex2im?
你看看tex2im的代码, 很容易懂的, 就是
dvips -E 得到 ps 文件, 然后用 convert 转成图形文件
T*******n
发帖数: 493
44
The DVI file does not actually contain the EPS file, only a
link to it, so yap invokes either a built-in or an external
PS interpreter to disply the actual EPS file. The problem is
likely occurring when you run dvipdf or dvips-ps2pdf, but I
have never seen anything like this happen with teTeX on
Linux. I don't think it has anything to do with winedt.
Are you using MikTeX or some other (La)TeX distribution?
S***y
发帖数: 186
45
来自主题: TeX版 - dvips怎么include eps文件?
pdflatex first, then pdf2ps?
not sure if this works. :)
V*****i
发帖数: 92
46
来自主题: TeX版 - A quick question about page margin
I'm writing a technical report, the instuction says the margin should
be top=1.75cm, left=right=bottom=2.54cm, no header or footer should be
used. So I set like this:
\documentclass[11pt,letterpaper]{article}
\usepackage{times}
\usepackage[dvips]{graphicx,color,psfrag}
\usepackage[left=2.54cm, right=2.54cm, top=1.75cm, bottom=2.54cm]{geometry}
\pagestyle{empty}
However, after the pdf was generated, the bottom margin is almost 5cm
(the other margin looks correct), anyone has some idea about what'
C*S
发帖数: 135
47
来自主题: TeX版 - How to embed fonts
regular Times fonts, for example, Times-Roman. In the Latex file, I used
\usagepackage{times}
The problem is that ps2pdf or distiller do not embed any times or helvetica
fonts if these fonts are NOT embedded in the ps file (by dvips or other things
).
s**n
发帖数: 178
48
来自主题: TeX版 - LaTeX 2.09 question
Hi,
I have to use a LaTeX 2.09 document style. And I must use the following
packages:
\usepackage{times,graphicx}
\usepackage{algorithmic}
\usepackage{algorithm}
\usepackage{wasysym}
\usepackage{pifont}
\usepackage{marvosym}
When I compile, I encouter the following error:
(usis.sty
Document Style `usis'. Released 15 December 1986.
(kt11.sty))
(/a/bud/u/bud-d1/local/teTeX/share/texmf/tex/plain/dvips/epsf.tex
This is `epsf.tex' v2.7k <10 July 1997>
)
! LaTeX Error: LaTeX2e command \usepackage in L
x*****t
发帖数: 8
49
Hi, I just installed MikTex (full version from math.utah.edu) and WinEdt.
However, after I compile my .tex file and tried to review .dvi, a message
poped out, saying
"the document can not be rendered properly because the current render
method does not support PostScript specials. Temporarily switch to the Dvips
render method?''
If I choose no, then all my figures (.eps) can not be shown. If I choose yes
, then it crashed.
How can I do for this problem? Any information is appreciated.
s***t
发帖数: 195
50
did you install ghostscripts?

Dvips
yes
1 2 3 下页 末页 (共3页)