KTUGFaq
KTUG FAQ
PSFrag ÆÐÅ°Áö. EPS ÆÄÀÏÀÇ ¹®ÀÚ¿À» ´Ù¸¥ ¹®ÀÚ¿·Î ġȯÇØÁÖ´Â ±â´ÉÀ» Á¦°øÇÑ´Ù.
[ÆíÁý]
ÁÖÀÇ»çÇ× ¶
- ¿©±â¼ »ç¿ëµÇ´Â EPS´Â À̸¥¹Ù º¤ÅÍ Æ÷¸ËÀ¸·Î ¸¸µé¾îÁø EPSÀ̾î¾ß ÇÑ´Ù. ºñÆ®¸Ê ±×¸²Àº PSFrag°¡ ÀÛµ¿ÇÏÁö ¾Ê´Â´Ù.
- Yap, XDvi µî ´ëºÎºÐÀÇ DVIµå¶óÀ̹ö´Â ġȯµÈ ¹®ÀÚ¿À» º¸¿©ÁÖÁö ¾Ê´Â´Ù. dvips·Î º¯È¯µÈ PostScript ÆÄÀÏ¿¡¼¸¸ ġȯµÈ ¹®ÀÚ¿ÀÌ º¸ÀδÙ.
[ÆíÁý]
ÆÄ¿öÆ÷ÀÎÆ® ½½¶óÀ̵å¿Í PSFrag ¶
Q1(from 6105): º¸Åë ÆÄ¿öÆ÷ÀÎÆ®¿¡¼ ¸¸µç ½½¶óÀÌµå ±×¸²À»
- PostScript Printer·Î Ãâ·ÂÀ» Çؼ epsÈÀÏÀ» ¸¸µé°Å³ª,
- AcrobatÀ» ÀÌ¿ëÇÏ¿© pdf·Î º¯È¯ÇÑ ÈÄ,
A1: ½ÃÇàÂø¿À ³¡¿¡ ºñ½ÁÇÑ È¿°ú¸¦ ¾ò´Â ¹æ¹ýÀ» ¾Ë°Ô µÇ¾ú½À´Ï´Ù. Á¦°¡ »ç¿ëÇß´ø Postscript µå¶óÀ̹ö°¡ Adobe °ÍÀ̾ú½À´Ï´Ù. »ç¿ëÇÑ ¼¼ °¡Áö Adobe ÇÁ·Î±×·¥ - Adobe Postscript Driver, Adobe Acrobat, AdobeIllustrator - Áß¿¡ AdobeIllustrator¿¡¼ ¸¸µç ÇÁ·Î±×·¥¸¸ psfrag¿Í ¹®Á¦¾øÀÌ »ç¿ëÇÒ ¼ö ÀÖ¾ú½À´Ï´Ù.
Q. PSFrag¿¡ ÀÇÇÏ¿© ¹®ÀÚ¿ÀÌ Ä¡È¯µÈ EPS ±×¸²À» PDF ÆÄÀÏ¿¡ Æ÷ÇÔÇÏ·Á ÇÕ´Ï´Ù.
A.
PDF ÆÄÀÏÀ» ¸¸µé¾î¾ß ÇÒ¶§, Àú´Â ´ÙÀ½°ú °°Àº ¹æ¹ýÀ» »ç¿ëÇÕ´Ï´Ù.
- ´ÙÀ½°ú °°Àº ±×¸² Çϳª¸¸ Æ÷ÇÔÇÏ°í ÆäÀÌÁö ½ºÅ¸ÀÏÀÌ emptyÀÎ Àӽà tex ÆÄÀÏÀ» ÀÛ¼ºÇÕ´Ï´Ù.
ó·³ ±×¸²ÆÄÀÏ Çϳª¸¸ PSFrag¸¦ ÀÌ¿ëÇÏ¿© ±ÛÀÚ¸¦ ¹Ù²Ùµµ·Ï texÆÄÀÏÀ» ¸¸µì´Ï´Ù. ÀÌ ÆÄÀÏÀ» tmpfig.texÀ¸·Î ÀúÀåÇÕ´Ï´Ù.
\documentclass{article} \usepackage{psfrag,graphicx} \begin{document} \thispagestyle{empty} \psfrag{ORIGINAL}{REPLACE} \includegraphics{fig.eps} \end{document}
- dvips ¸¦ ÀÌ¿ëÇÏ¿© ps ÆÄÀÏÀ» ¸¸µì´Ï´Ù.
#> latex tmpfig #> dvips tmpfig -o
- ps2eps ½ºÅ©¸³Æ®¸¦ ÀÌ¿ëÇÏ¿© epsÆÄÀÏÀ» ´Ù½Ã ¸¸µì´Ï´Ù. See Gfaq no.21
#> ps2eps tmpfig.ps
- »õ·Î ¸¸µç epsÆÄÀÏ(tmpfig.eps)Àº ±ÛÀÚ¸¦ ¹Ù²Û ±×¸²ÆÄÀÏÀ̱⶧¹®¿¡ À̸¦ ¿øÇÏ´Â ¹®¼¿¡ ³Ö°í DVIPDFMx¸¦ ÀÌ¿ëÇÏ¿© pdf¸¦ ¸¸µì´Ï´Ù.
\includegraphics{tmpfig}
Âü°í : dvips -E ¸¦ ÀÌ¿ëÇÏ¿© ¹Ù·Î epsÆÄÀÏÀ» ¸¸µé¼öµµ ÀÖ½À´Ï´Ù¸¸ PSFrag¸¦ »ç¿ëÇÒ¶§ ¹Ù¿îµù¹Ú½º¸¦ À߸ø Àâ´Â °æ¿ì°¡ ¸¹±â ¶§¹®¿¡ ps2eps ½ºÅ©¸³Æ®¸¦ ¾¹´Ï´Ù. See tex2pdf mailing list article
\documentclass[a4paper]{article} \usepackage{hfont} \usepackage{psfrag,graphicx, pst-eps} \begin{document} \thispagestyle{empty} \begin{TeXtoEPS} \psfrag{A}{È£Àç} \includegraphics{test1.eps} \end{TeXtoEPS} \clearpage \begin{TeXtoEPS} \psfrag{B}{ÀºÈÖ} \includegraphics{test2.eps} \end{TeXtoEPS} \end{document} dvips -E -i -o t psfragtest
±×·¯¸é t001, t002 ÆÄÀÏÀÌ ¸¸µé¾îÁý´Ï´Ù.
pst-eps ÆÐÅ°Áö¸¦ ¾²¸é -E ¿É¼ÇÀ» ¾µ ¶§ ¹ß»ýÇÏ´Â ¹®Á¦°¡ ÇؼҵǴ µíÇÕ´Ï´Ù.