Newsgroups: fj.comp.texhax
Path: galaxy.trc.rwcp.or.jp!jaist-news!cs.titech!wnoc-tyo-news!sh.wide!wnoc-kyo!kuis!kuamp!ishidakz
From: ishidakz@kuamp.kyoto-u.ac.jp (Kazuo Ishida)
Subject: psfrag ni kansuru shitsumon
Message-ID: <1993Aug25.051413.7189@kuamp.kyoto-u.ac.jp>
Sender: news@kuamp.kyoto-u.ac.jp (USENET News System)
Organization: Dept. of Applied Math. & Physics, Kyoto University, JAPAN
X-Newsreader: mnews [version 1.16]
Distribution: fj
Date: Wed, 25 Aug 1993 05:14:13 GMT
Lines: 396
Xref: galaxy.trc.rwcp.or.jp fj.comp.texhax:3906
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.comp.texhax&nb=3906&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$B@PED!w5~Bg(B $B$G$9(B

$B5-;v$,>/$7D9$/$J$C$F$7$^$$!"?=$7Lu$"$j$^$;$s(B

psfrag $B$K$D$$$F<ALd$5$;$F2<$5$$(B

---------------------------------------------------- test.tex ---
\documentstyle[12pt,epsbox,psfrag]{jarticle}

\begin{document}
\begin{figure}
\begin{center}
\begin{psfrags}
    \psfrag{x}{$ x $}
    \psfrag{y}{$ \hat{y} $}
    \epsfile{file=fig.eps,width=13cm}
\end{psfrags}
\end{center}
\caption{This is an example.}
\end{figure}

\end{document}
-----------------------------------------------------------------

$B>e$N$h$&$J(B LaTeX $B$N%=!<%9$r%3%s%Q%$%k$7$F(B gs $B$G8+$h$&$H$7$?$H$3$m(B
$B%(%i!<$,=P$F$7$^$$$^$7$?(B (fig.eps $B$O(B gnuplot $B$G=PNO$7$?%U%!%$%k$G!"(B
$B$3$N5-;v$N0lHV:G8e$K$D$1$F$"$j$^$9(B)
$B$A$g$C$HD9$$$G$9$,!"$=$N;~$NMM;R$r0J2<$K<($7$^$9(B

-----------------------------------------------------------------
% jlatex test.tex

This is TeX, C Version 2.99 - j1.7e (no format preloaded)
(test.tex
LaTeX Version 2.09 <7 Dec 1989>
(/usr/local/lib/tex/inputs/jarticle.sty
Document Style `jarticle' <18 Dec 88>.
(/usr/local/lib/tex/inputs/jart12.sty)) (epsbox.sty
EPSbox version 1.6 - Released May 5, 1992 (for LaTeX/jdvi2kps2.1)
Based on EPSF macro package. version 1.2 - Released July 16, 1990
) (psfrag.sty) (test.aux) <fig.eps(369.88582pt,258.91893pt)> (fig.epsfrag)
[1] (test.aux)
Output written on test.dvi (1 page, 848 bytes).
Transcript written on test.log.

% jdvi2kps -i psfrag.ps test > test.ps

 [/usr/lib/tex/jdvi2.ps] [psfrag.ps][1 [fig.eps]] 

% gs test.ps

Initializing... done.
Installing Kanji fonts... done.
Loading Courier font from /home2/local/lib/gs24/fonts/cour.pfa... 1238440 1224664 2 done.
Error: /undefined in --get--
Operand stack:
    120  [(\017\000\374\000?\301\377\000p\343\203\200x7\000\300\374\037\000`\374\037\000p~\017\0000|\017\000\030<\017\000\030\000\017\000\030\000\007\200\000\000\007\200\000\000\007\200\000\000\007\200\000\000\003\300\000\000\003\300\000\000\003\300\000\000\003\300\000\000\001\340\0000\001\340\0000\001\3408\030\001\340|\030\001\360~\014\001\360~\016\001\370>\007\001\330\036\003\203\216\034\000\377\007\370\000~\001\360) 32 29 -2 0 37]  -dicttype-  /BitMaps
Execution stack:
    %interp_exit    --nostringval--  --nostringval--  false  --nostringval--  --nostringval--  false  --nostringval--  --nostringval--  --nostringval--  --nostringval--
Dictionary stack:
    447/449  33/200  62/70
Ghostscript 2.4.1 (4/21/92)
  Copyright (C) 1990, 1992 Aladdin Enterprises, Menlo Park, CA.
  All rights reserved.
Distributed by Free Software Foundation, Inc.
Ghostscript comes with NO WARRANTY: see the file LICENSE for details.
GS<4>

-----------------------------------------------------------------

LaTeX $B$N%=!<%9$N(B \psfrag{x}{$ x $} $B$H(B \psfrag{y}{$ \hat{y} $} $B$N$&$A(B
$B$I$A$i$+0lJ}$r%3%a%s%H$K$9$k$H$&$^$/$$$/$N$G$9$,!"N>J}$H$b$"$k$H(B
$B$&$^$/$$$-$^$;$s(B
$B$I$3$,$*$+$7$$$N$+65$($F$$$?$@$1$J$$$G$7$g$&$+(B

$B;HMQ$7$F$$$k4D6-$O(B

ASCII jTeX + psfrag-1.1 + psfrag_for_jdvi2kps_V3.0.patch
  + jdvi2kps(postscript driver version 3.0)

$B$G$9(B

$B$^$?!"(Bfig.eps $B$O(B gnuplot $B$G(B

-----------------------------------------------------------------
set term postscript eps
set output "fig.eps"
set xlabel "x"
set ylabel "y"
plot sin(x)
-----------------------------------------------------------------

$B$H$7$F=PNO$7$?%U%!%$%k$G$9(B
$B;29M$^$G$K0J2<$K$D$1$F$*$-$^$9(B

--------------------------- $B$3$3$+$i(B ----------------------------
%!PS-Adobe-2.0 EPSF-2.0
%%Creator: gnuplot
%%DocumentFonts: Courier
%%BoundingBox: 50 50 410 302
%%EndComments
/gnudict 40 dict def
gnudict begin
/Color false def
/gnulinewidth 5.000 def
/vshift -46 def
/dl {10 mul} def
/hpt 31.5 def
/vpt 31.5 def
/vpt2 vpt 2 mul def
/hpt2 hpt 2 mul def
/Lshow { currentpoint stroke moveto
  0 vshift rmoveto show } def
/Rshow { currentpoint stroke moveto
  dup stringwidth pop neg vshift rmoveto show } def
/Cshow { currentpoint stroke moveto
  dup stringwidth pop -2 div vshift rmoveto show } def
/DL { Color {setrgbcolor [] 0 setdash pop}
 {pop pop pop 0 setdash} ifelse } def
/BL { stroke gnulinewidth 2 mul setlinewidth } def
/AL { stroke gnulinewidth 2 div setlinewidth } def
/PL { stroke gnulinewidth setlinewidth } def
/LTb { BL [] 0 0 0 DL } def
/LTa { AL [1 dl 2 dl] 0 setdash 0 0 0 setrgbcolor } def
/LT0 { PL [] 0 1 0 DL } def
/LT1 { PL [4 dl 2 dl] 0 0 1 DL } def
/LT2 { PL [2 dl 3 dl] 1 0 0 DL } def
/LT3 { PL [1 dl 1.5 dl] 1 0 1 DL } def
/LT4 { PL [5 dl 2 dl 1 dl 2 dl] 0 1 1 DL } def
/LT5 { PL [4 dl 3 dl 1 dl 3 dl] 1 1 0 DL } def
/LT6 { PL [2 dl 2 dl 2 dl 4 dl] 0 0 0 DL } def
/LT7 { PL [2 dl 2 dl 2 dl 2 dl 2 dl 4 dl] 1 0.3 0 DL } def
/LT8 { PL [2 dl 2 dl 2 dl 2 dl 2 dl 2 dl 2 dl 4 dl] 0.5 0.5 0.5 DL } def
/M {moveto} def
/L {lineto} def
/P { stroke [] 0 setdash
  currentlinewidth 2 div sub moveto
  0 currentlinewidth rlineto  stroke } def
/D { stroke [] 0 setdash  2 copy  vpt add moveto
  hpt neg vpt neg rlineto  hpt vpt neg rlineto
  hpt vpt rlineto  hpt neg vpt rlineto  closepath  stroke
  P  } def
/A { stroke [] 0 setdash  vpt sub moveto  0 vpt2 rlineto
  currentpoint stroke moveto
  hpt neg vpt neg rmoveto  hpt2 0 rlineto stroke
  } def
/B { stroke [] 0 setdash  2 copy  exch hpt sub exch vpt add moveto
  0 vpt2 neg rlineto  hpt2 0 rlineto  0 vpt2 rlineto
  hpt2 neg 0 rlineto  closepath  stroke
  P  } def
/C { stroke [] 0 setdash  exch hpt sub exch vpt add moveto
  hpt2 vpt2 neg rlineto  currentpoint  stroke  moveto
  hpt2 neg 0 rmoveto  hpt2 vpt2 rlineto stroke  } def
/T { stroke [] 0 setdash  2 copy  vpt 1.12 mul add moveto
  hpt neg vpt -1.62 mul rlineto
  hpt 2 mul 0 rlineto
  hpt neg vpt 1.62 mul rlineto  closepath  stroke
  P  } def
/S { 2 copy A C} def
end
%%EndProlog
gnudict begin
gsave
50 50 translate
0.050 0.050 scale
0 setgray
/Courier findfont 140 scalefont setfont
newpath
LTa
1008 2590 M
6969 2590 L
3989 491 M
3989 4689 L
LTb
1008 491 M
1071 491 L
6969 491 M
6906 491 L
924 491 M
(-1) Rshow
1008 911 M
1071 911 L
6969 911 M
6906 911 L
924 911 M
(-0.8) Rshow
1008 1331 M
1071 1331 L
6969 1331 M
6906 1331 L
924 1331 M
(-0.6) Rshow
1008 1750 M
1071 1750 L
6969 1750 M
6906 1750 L
924 1750 M
(-0.4) Rshow
1008 2170 M
1071 2170 L
6969 2170 M
6906 2170 L
924 2170 M
(-0.2) Rshow
1008 2590 M
1071 2590 L
6969 2590 M
6906 2590 L
924 2590 M
(0) Rshow
1008 3010 M
1071 3010 L
6969 3010 M
6906 3010 L
924 3010 M
(0.2) Rshow
1008 3430 M
1071 3430 L
6969 3430 M
6906 3430 L
924 3430 M
(0.4) Rshow
1008 3849 M
1071 3849 L
6969 3849 M
6906 3849 L
924 3849 M
(0.6) Rshow
1008 4269 M
1071 4269 L
6969 4269 M
6906 4269 L
924 4269 M
(0.8) Rshow
1008 4689 M
1071 4689 L
6969 4689 M
6906 4689 L
924 4689 M
(1) Rshow
1008 491 M
1008 554 L
1008 4689 M
1008 4626 L
1008 351 M
(-10) Cshow
2498 491 M
2498 554 L
2498 4689 M
2498 4626 L
2498 351 M
(-5) Cshow
3989 491 M
3989 554 L
3989 4689 M
3989 4626 L
3989 351 M
(0) Cshow
5479 491 M
5479 554 L
5479 4689 M
5479 4626 L
5479 351 M
(5) Cshow
6969 491 M
6969 554 L
6969 4689 M
6969 4626 L
6969 351 M
(10) Cshow
LTb
1008 491 M
6969 491 L
6969 4689 L
1008 4689 L
1008 491 L
140 2590 M
currentpoint gsave translate 90 rotate 0 0 moveto
(y) Cshow
grestore
3988 211 M
(x) Cshow
LT0
LT0
1008 3732 M
1008 3732 L
1068 3355 L
1128 2948 L
1189 2525 L
1249 2106 L
1309 1706 L
1369 1342 L
1429 1029 L
1490 779 L
1550 603 L
1610 508 L
1670 497 L
1731 572 L
1791 728 L
1851 961 L
1911 1260 L
1971 1612 L
2032 2005 L
2092 2421 L
2152 2845 L
2212 3257 L
2272 3643 L
2333 3986 L
2393 4272 L
2453 4490 L
2513 4630 L
2574 4688 L
2634 4660 L
2694 4548 L
2754 4356 L
2814 4093 L
2875 3768 L
2935 3395 L
2995 2990 L
3055 2568 L
3115 2148 L
3176 1745 L
3236 1377 L
3296 1058 L
3356 801 L
3416 617 L
3477 513 L
3537 494 L
3597 560 L
3657 709 L
3718 934 L
3778 1226 L
3838 1574 L
3898 1964 L
3958 2378 L
4019 2802 L
4079 3216 L
4139 3606 L
4199 3954 L
4259 4246 L
4320 4471 L
4380 4620 L
4440 4686 L
4500 4667 L
4561 4563 L
4621 4379 L
4681 4122 L
4741 3803 L
4801 3435 L
4862 3032 L
4922 2612 L
4982 2190 L
5042 1785 L
5102 1412 L
5163 1087 L
5223 824 L
5283 632 L
5343 520 L
5403 492 L
5464 550 L
5524 690 L
5584 908 L
5644 1194 L
5705 1537 L
5765 1923 L
5825 2335 L
5885 2759 L
5945 3175 L
6006 3568 L
6066 3920 L
6126 4219 L
6186 4452 L
6246 4608 L
6307 4683 L
6367 4672 L
6427 4577 L
6487 4401 L
6548 4151 L
6608 3838 L
6668 3474 L
6728 3074 L
6788 2655 L
6849 2232 L
6909 1825 L
6969 1448 L
stroke
grestore
end
showpage
%%Trailer
--------------------------- $B$3$3$^$G(B ----------------------------

======================================================================
  $B?M@8!"C+$"$j;3$"$j(B   $B!?(B   $B5~ETBg3X(B $B9)3X8&5f2J(B $B1~MQ%7%9%F%`2J3X@l96(B
  $B9@;R$"$j(B           $B!?(B     $B1~MQ?M9)CNG=O@9V:B(B        $B#M#2(B  $B@PEDOB@8(B
================================= ishidakz@kuamp.kyoto-u.ac.jp =======
