由买买提看人间百态

topics

全部话题 - 话题: psfrag
1 (共1页)
c****s
发帖数: 2487
1
来自主题: TeX版 - psfrag的问题
seems that psfrag would only be able to work properly
on the whole string, not part of it.
so if there's a string in the .eps
temperature (celsius)
and following substitution is done in .tex
\psfrag{celsius}{\textcelsius}
it'd be listed in .dvi, but not in .ps, nor in .pdf
so instead, do
\psfrag{temperature (celsius)}{temperature (\textcelsius)}
T*******y
发帖数: 6523
2
来自主题: TeX版 - psfrag 的新问题
tex新手,对psfrag有些发怵,不知有没有好的tutorial来介绍这个?
目前有一个具体的问题,我用visio画的图,里面有不少文本。从visio只能直接打印成ps
或者pdf。
pdf的文本很清楚,但是由于以前那个"图像使用了在某些应用程序中无法正确分色的色彩
空间"的问题,pdf无法直接另存成eps。哪怕我存成了黑白图也一样有这个错误。所以我
只能先把visio的图打印成ps,再用imageMagick转成eps。但是ps文件里的文本不清楚,最
终出来的eps图像里的文本也不清楚。
不知道这样生成的eps文件还能不能用psfrag了。感觉不太可能,因为那些文本大概已经
被当成图片来处理了。
但是有没有什么软件能像visio一样好用,而且能生成psfrag能处理的eps图片呢?
c****s
发帖数: 2487
3
来自主题: TeX版 - psfrag的问题
here it is... though i do think there must be something else wrong
well, the whole story is, I had a curve printed out as .ps, then
converted the .ps to .fig with pstoedit, then edited it with xfig,
finally exported the .eps
I also tried another way around: imported the .ps into corel draw,
then exported the eps after editting. still the same beep.
%%%%%%%%%%
\begin{figure}
\centering
\psfrag{celsius}{\textcelsius}
\psfrag{Vout}{$V_{out}$}
\includegraphics[width=\textwidth]{fig.eps}
\c
l******t
发帖数: 108
4
来自主题: TeX版 - psfrag的问题
a wild guess: during pstoedit, your text might be converted to bitmap or
other things which could not be found by psfrag any more.
is the printed .ps working with psfrag?
c****s
发帖数: 2487
5
来自主题: TeX版 - psfrag的问题

part of the editting with xfig/corel draw was to rewrite all the texts,
otherwise they are simply heaps of curves or dots. so what psfrag dealt
with were 'real' texts. I once thought corel draw could keep some font
info which cannot be recognized by psfrag, though I explicitly chose
the 'neutral' courier fond. it tured out that even xfig could not accomplish
the mission.
for two reasons i did not try it
1) the texts are not real texts, see above.
2) for sake a resizing, boundaries are needed, s
f**h
发帖数: 1149
6
来自主题: TeX版 - Psfrag的奇怪问题 (转载)
【 以下文字转载自 EE 讨论区 】
发信人: fath (fath), 信区: EE
标 题: Psfrag的奇怪问题
发信站: BBS 未名空间站 (Tue May 8 01:46:33 2007)
我在一篇文章里面用到psfrag有个很奇怪的问题里,有些图片的字符串替代很好,但在
另外一些图片里这些字符串就不识别,只能替代单个字符,不知道怎么回事,有人遇到
相同的问题吗??
w******s
发帖数: 95
7
做了一个eps文件,里面文字是aaa要换成bbb
文档如下
\documentclass[11pt]{article}
\usepackage{psfrag}
\begin{document}
\psfrag{aaa}{bbb}
\includegraphics{my.eps}
\end{document}
网上说要先latex 再dvi2ps 再ps2pdf
我按照操作咋啥都没有换呢?
有谁知道为什么呢,
thanks
c****s
发帖数: 2487
8
来自主题: TeX版 - psfrag的问题

is it actually possible to make psfrag work on .ps?
includegraphics seems not to be able to take .ps ...
T*******y
发帖数: 6523
9
来自主题: TeX版 - psfrag 的新问题
那用什么画图软件好呢?windows下,还有mac下。
还有psfrag有什么好的tutorial吗?
T*******e
发帖数: 47
10
来自主题: TeX版 - psfrag 的新问题
I cannot find a good one, actually.
My solution is cygwin + xfig/tgif.
psfrag manual is already good enough le ba?
T*******e
发帖数: 47
11
来自主题: TeX版 - psfrag 的新问题
actually, if you are using xfig or tgif,
you don't need psfrag package at all. Both of them
have ways to include the formula directly in
eps file.
d*******g
发帖数: 36
12


I usually use \psfrag{a}{b} to replace something there especially for some
mathmatical symbols.
l******t
发帖数: 108
13
来自主题: Software版 - Re: [转载] eps figure questions.

resize it in latex, need graphicx package, sth like
\includegraphics[scale=0.5]{youreps}
\includegraphics[width=0.8\textwidth]{youreps}
do u want \caption{}? or add something to the eps? maybe you
can try pstricks, psfrag packages.
try subfigure package
c****s
发帖数: 2487
14
来自主题: TeX版 - psfrag的问题
替换的文字在dvi文件里可以列出来
当然不在应该在的位置
但是转换成ps或者pdf之后还是原来的文字
问题可能出在哪里?
多谢先!
T*******e
发帖数: 47
15
来自主题: TeX版 - psfrag的问题
at least please show us the code ba?
T*******e
发帖数: 47
16
来自主题: TeX版 - psfrag 的新问题
don't use visio for latex. you will meet big trouble.

ps



T*******n
发帖数: 493
17
来自主题: TeX版 - psfrag 的新问题

ps



Is the PS file fuzzy only on screen but prints okay, or is it fuzzy when
printed also?
If it is fuzzy only on screen, then you are looking at the low-res preview on
screen.
(Beware that some software programs don't know how to print a PS file, and
will print
the low-res preview image instead of the high-res vector graphics in the PS
file;
IrfanView is one such program.)

Take a look at http://www.itee.uq.edu.au/~emmerik/visioeps.html (I haven't read it and
don't use Visio, so I don't
c****s
发帖数: 2487
18
来自主题: TeX版 - psfrag 的新问题
winfig, corel draw, in case of the latter, stick to the courier font
a******s
发帖数: 232
19
来自主题: TeX版 - psfrag 的新问题
gnuplot is the best for 2D plot.
T*******y
发帖数: 6523
20
来自主题: TeX版 - psfrag 的新问题
Thank a lot, everybody!
I'll try it out.
V*****i
发帖数: 92
21
来自主题: 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'
l******t
发帖数: 108
22
来自主题: TeX版 - How to embed fonts
In xfig, you can use TeX fonts for text labels.
For eps files you have no control, you could try to use psfrag
to replace the text to whatever you want.
s**********r
发帖数: 46
23
psfrag
s**********r
发帖数: 46
24
来自主题: TeX版 - 最佳eps解决方案
问题在于omni graffle生成的eps不支持psfrag,
如果支持,就非常完美了。
J*******r
发帖数: 379
25
can you use psfrag?
T*******n
发帖数: 493
26
gnuplot + psfrag for graphs,
pstricks for other illustrations
p*****e
发帖数: 310
27
用psfrag吧,matlab对tex支持有限
T*******n
发帖数: 493
28
It might be that your strings are not matching exactly.
Open your EPS file in a text editor and try to find the text that
you want to replace, and see what the actual string is (it might
have an extra space that was added by the generating program).
d***s
发帖数: 55
29
是不是保存成eps时字体当成图片处理了,该怎么解决啊?
g*********r
发帖数: 124
30
可以试试 overpic 宏包
d***s
发帖数: 55
31
\documentclass[dvips]{beamer}
\begin{document}
abcdefg
\end{document}
生成的dvi是对的,但ps和pdf都只在左下角
如果把[dvips]去掉,用pdflatex编译,能生成正确的slide
请问怎么让 latex+dvi2ps+ps2pdf 正确编译啊? 因为有eps图,还用了psfrag,好像
不能
用pdflatex了
u***r
发帖数: 19
32
【 以下文字转载自 Linux 讨论区 】
【 原文由 umber 所发表 】
The symobol font should work. Like $\phi$ is f.
Or maybe psfrag package will do that? I never tried.
c*****t
发帖数: 26
33
来自主题: Economics版 - 大家用什么软件画图呀?
Try \usepackage{psfrag}. It can be found in any ctan.org archive with
companied manual.
It is said that you can change caption or legend in included figures to LaTex
style with this package as you wanted. But I have no experience with it. I
found it is too much complicated.
By the way, if you do it successfully, please post your experience here later.
Thanks!
n******d
发帖数: 18
34
来自主题: Economics版 - 大家用什么软件画图呀?
Very very cool!!
Now the graph is so professional looking.
If you know latex, then it's not complicated at all.
In the preamble section, add \usepackage{psfrag}
then when you have to add a graph, (which is usually
in the format of eps, let the graph's name be picture.eps)
you just do the simple substitution before you use the
\includegraphics command
a very simple example:
suppose you have some "x"'s in your graph, and you want to
change all of them to "\bar_{x}_1" ( "x bar sub 1")
do the follow
W*N
发帖数: 1354
35
If you use latex, you can use psfrag to replace strings in eps figures.
d**r
发帖数: 899
36
来自主题: EE版 - 急问matlab中的latex问题
you can try psfrag package for latex.
s******h
发帖数: 199
37
只知道画图的时候,图像中用一些字符,然后在tex文件中插入图像的时候用psfrag将
eps中的字符转成想要的数学公式。请问有没有直接插入该公式的办法?
1 (共1页)