l*2 发帖数: 21 | 1 我在一个pdf论文里抓了图,把图打印成pdf文件,再另存为eps。这样嵌入到tex文件里
。在windows下面用yap看生成的dvi文件,显示到这种图的时候,yap会弹出一个问题:
The document cannot be rendered properly because the current render method
does not support PostScript specials. Temporarily switch to the Dvips render
method?
选yes以后,就可以显示这些图片了。但是在linux下面用texlive2007编译,再用xdvi
看,这些图就不能显示,只有一片空白。那些用matlab直接打印的eps图片都可以显示
。而且我在xdvi的选项已经选了"显示ps和bounding"。
请问各位高手,在xdvi里面怎么能显示这些图片?或者有什么其他的dvi viewer for
linux? 多谢! |
|
p****o 发帖数: 1340 | 2 this eps file contains some non-standard postscript command. i also met
such a problem before. what i did is to use ps2epsi/ps2pdf etc to convert
the file among several formats. ususallyy, the output will eventually
be normal after several steps, but you might loss some precision during
the process.
render
xdvi |
|
s*******n 发帖数: 2828 | 3 这是我的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... 阅读全帖 |
|
e*******e 发帖数: 248 | 4 In the configuration page, I see the following:
TeX DVI View Command
(cond
((eq window-system 'x)
"xdvi")
((eq window-system 'w32)
"yap")
(t "dvi2tty * | cat -s"))
However, I don't have xdvi installed on my windows xp system, and I'd like
to use yap as my dvi viewer. So, I change xdvi to yap. Still, it won't work.
Everytime, I want to view dvi, emacs will try to launch xdvi.
I added the following line in my init file:
(setq tex-dvi-view-command "yap *")
Still the same. Does anyone know how t |
|
T*******n 发帖数: 493 | 5 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 | 6 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. |
|
G**Y 发帖数: 33224 | 7 正常退出,swp也不删掉。
我用vim编辑latex, 经过反复试验,好象是如果edit文本时用了xdvi看dvi文件,vi推出
的时候就会有swp, 这个很奇怪。因为xdvi应该是看*.dvi文件。不是vi正在编辑的文件
。 |
|
T*******n 发帖数: 493 | 8 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 |
|
A**********e 发帖数: 3102 | 9 kdvi 的反向搜索用习惯了,懒得去搞 xdvi 的反向搜索。应当没区别,xdvi 似乎更快
些。
))
))) |
|
a*****i 发帖数: 4391 | 10 可以去海盗湾去下eztv的xdvi torrent. |
|
I*********t 发帖数: 5258 | 11 skim,但是似乎不能同步更新,或者自己下源代码编译xdvi。你还不如用pdflatex生成
pdf,preview可以同步更新 |
|
L***n 发帖数: 6727 | 12 tiled windows+vim+latexsuite+xdvi, perfect solution to me, I don't
like auctex at all. |
|
w*****g 发帖数: 198 | 13 dviwin for windows
or xdvi for unix |
|
T*******n 发帖数: 493 | 14 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 | 15 对不起,可能我没说清楚,我的问题不是找不到.eps文件,latex/xdvi/dvips都工作正常
,
.eps文件也显示很好,我就是想问怎么把eps文件都编译到ps文件里面去,好像linux下面
的ps就是不编译到里面的,但是win下面的miktex就是包括eps文件的,至少缺省设置是
这样的.我问这个问题其实是两个系统生成的ps文件有点不一样,我想可能是这个原因. |
|
A**********e 发帖数: 3102 | 16 原先是 xdvi 的。除了要按照 kdvi 的说明搞 .emacs 以外,还要在 .emacs 里加这个:
(custom-set-variables
'(TeX-view-style (quote (("^letterpaper$" "kdvi %d")
("^landscape$" "kdvi %d -s 4") ("." "kdvi %d"))))
'(TeX-output-view-style (quote (("^letterpaper$" "kdvi %d")
("^landscape$" "kdvi %d -s 4") ("." "kdvi %d"))))
)
(setq tex-dvi-view-command "kdvi") |
|
h****m 发帖数: 405 | 17 有人能推荐一个mac上面可以实现类似功能的dvi viewer么?我现在用得是xdvi. |
|
i*****f 发帖数: 578 | 18 i'm using ubuntu 7.04, tex live
this is strange. When i compile a certain project ( not really big, but some
eps pics, bibtex, etc). When I compile to the dvi, I xdvi it, then system
hangs.
When I open the directory contains it, since my ubuntu tries to get the
preview of dvi, pdf, ps..., it hangs again -_-
I also tried to convert dvi to pdf, with dvipdf it, system hangs -_-
I tried it in windows using miktex, no problem at all. |
|