KTUGFaq

KTUG FAQ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
You will overcome the attacks of jealous associates.
FrontPage › PSFrag
PSFrag ÆÐÅ°Áö. EPS ÆÄÀÏÀÇ ¹®ÀÚ¿­À» ´Ù¸¥ ¹®ÀÚ¿­·Î ġȯÇØÁÖ´Â ±â´ÉÀ» Á¦°øÇÑ´Ù.

À§Ä¡

´ëºÎºÐÀÇ TeX¹èÆ÷ÆÇ¿¡ Æ÷ÇԵǾî ÀÖ°í, CTAN¿¡¼­´Â ´ÙÀ½ À§Ä¡¿¡ ÀÖ´Ù. CTAN:macros/latex/contrib/psfrag/

»ç¿ë¹ý

GFaqÀÇ [http]48¹ø ±Û ¶Ç´Â KTUGOperate:1352À» º¼ °Í.

ÁÖÀÇ»çÇ×

  1. ¿©±â¼­ »ç¿ëµÇ´Â EPS´Â À̸¥¹Ù º¤ÅÍ Æ÷¸ËÀ¸·Î ¸¸µé¾îÁø EPSÀ̾î¾ß ÇÑ´Ù. ºñÆ®¸Ê ±×¸²Àº PSFrag°¡ ÀÛµ¿ÇÏÁö ¾Ê´Â´Ù.
  2. Yap, XDvi µî ´ëºÎºÐÀÇ DVIµå¶óÀ̹ö´Â ġȯµÈ ¹®ÀÚ¿­À» º¸¿©ÁÖÁö ¾Ê´Â´Ù. dvips·Î º¯È¯µÈ PostScript ÆÄÀÏ¿¡¼­¸¸ ġȯµÈ ¹®ÀÚ¿­ÀÌ º¸ÀδÙ.
    (!) PSFragÀ» ÀÌ¿ëÇÏ¿© ¸¸µç DVI ÆÄÀÏÀ» Yap¿¡¼­ ÀμâÇÏ´Â ¹®Á¦¿¡ ´ëÇؼ­´Â Yap ÆäÀÌÁö¸¦ º¸¶ó.

Q&A, Tips


ÆÄ¿öÆ÷ÀÎÆ® ½½¶óÀ̵å¿Í PSFrag


Q1(from KTUGSetup:6105): º¸Åë ÆÄ¿öÆ÷ÀÎÆ®¿¡¼­ ¸¸µç ½½¶óÀÌµå ±×¸²À»
  1. PostScript Printer·Î Ãâ·ÂÀ» Çؼ­ epsÈ­ÀÏÀ» ¸¸µé°Å³ª,
  2. AcrobatÀ» ÀÌ¿ëÇÏ¿© pdf·Î º¯È¯ÇÑ ÈÄ,
acrobat¿¡¼­ eps·Î ÀúÀåÀ» ÇÕ´Ï´Ù. ±×·±µ¥, ÀÌ·¸°Ô ¸¸µé¾îÁø eps È­ÀÏÀ» psfrag ÆÐÅ°Áö¸¦ ÀÌ¿ëÇÏ¿© ÀϺΠ¹®ÀÚ¿­À» ġȯÇÏ·Á°í ÇÏ´Ï ÀÛµ¿ÀÌ ¾È µË´Ï´Ù. xfig³ª Illustrator¿¡¼­ ¸¸µç eps È­ÀÏ¿¡¼­´Â °°Àº tex È­ÀÏ¿¡¼­ Àß ÀÛµ¿À» ÇÏ´Â °ÍÀ¸·Î º¸¾Æ, ÆÄ¿öÆ÷ÀÎÆ® È­ÀÏ¿¡¼­ epsÈ­ÀÏÀ» ¸¸µé ¶§ ¹º°¡ ¹®Á¦°¡ ÀÖ´Â °ÍÀÌ ¾Æ´Ñ°¡ »ý°¢µË´Ï´Ù. ÆÄ¿öÆ÷ÀÎÆ® ½½¶óÀ̵带 psfrag¿Í Àß ÀÛµ¿À» ÇÒ ¼ö ÀÖ´Â eps È­ÀÏ·Î ¸¸µå·Á¸é ¾î¶»°Ô ÇؾßÇÒ±î¿ä?

A1: ½ÃÇàÂø¿À ³¡¿¡ ºñ½ÁÇÑ È¿°ú¸¦ ¾ò´Â ¹æ¹ýÀ» ¾Ë°Ô µÇ¾ú½À´Ï´Ù. Á¦°¡ »ç¿ëÇß´ø Postscript µå¶óÀ̹ö°¡ Adobe °ÍÀ̾ú½À´Ï´Ù. »ç¿ëÇÑ ¼¼ °¡Áö Adobe ÇÁ·Î±×·¥ - Adobe Postscript Driver, Adobe Acrobat, AdobeIllustrator - Áß¿¡ AdobeIllustrator¿¡¼­ ¸¸µç ÇÁ·Î±×·¥¸¸ psfrag¿Í ¹®Á¦¾øÀÌ »ç¿ëÇÒ ¼ö ÀÖ¾ú½À´Ï´Ù.

from KTUGOperate:6290 (by moosoy)

Q. PSFrag¿¡ ÀÇÇÏ¿© ¹®ÀÚ¿­ÀÌ Ä¡È¯µÈ EPS ±×¸²À» PDF ÆÄÀÏ¿¡ Æ÷ÇÔÇÏ·Á ÇÕ´Ï´Ù.

A. PDF ÆÄÀÏÀ» ¸¸µé¾î¾ß ÇÒ¶§, Àú´Â ´ÙÀ½°ú °°Àº ¹æ¹ýÀ» »ç¿ëÇÕ´Ï´Ù.
  1. ´ÙÀ½°ú °°Àº ±×¸² Çϳª¸¸ Æ÷ÇÔÇÏ°í ÆäÀÌÁö ½ºÅ¸ÀÏÀÌ emptyÀÎ Àӽà tex ÆÄÀÏÀ» ÀÛ¼ºÇÕ´Ï´Ù.
    \documentclass{article}
    \usepackage{psfrag,graphicx}
    \begin{document}
    \thispagestyle{empty}
    \psfrag{ORIGINAL}{REPLACE}
    \includegraphics{fig.eps}
    \end{document}
    
    ó·³ ±×¸²ÆÄÀÏ Çϳª¸¸ PSFrag¸¦ ÀÌ¿ëÇÏ¿© ±ÛÀÚ¸¦ ¹Ù²Ùµµ·Ï texÆÄÀÏÀ» ¸¸µì´Ï´Ù. ÀÌ ÆÄÀÏÀ» tmpfig.texÀ¸·Î ÀúÀåÇÕ´Ï´Ù.

  2. dvips ¸¦ ÀÌ¿ëÇÏ¿© ps ÆÄÀÏÀ» ¸¸µì´Ï´Ù.
    #> latex tmpfig
    #> dvips tmpfig -o
    


  3. ps2eps ½ºÅ©¸³Æ®¸¦ ÀÌ¿ëÇÏ¿© epsÆÄÀÏÀ» ´Ù½Ã ¸¸µì´Ï´Ù. See [http]Gfaq no.21
    #> ps2eps tmpfig.ps
    


  4. »õ·Î ¸¸µç epsÆÄÀÏ(tmpfig.eps)Àº ±ÛÀÚ¸¦ ¹Ù²Û ±×¸²ÆÄÀÏÀ̱⶧¹®¿¡ À̸¦ ¿øÇÏ´Â ¹®¼­¿¡ ³Ö°í DVIPDFMx¸¦ ÀÌ¿ëÇÏ¿© pdf¸¦ ¸¸µì´Ï´Ù.
    \includegraphics{tmpfig}
    
    <!> Âü°í : dvips -E ¸¦ ÀÌ¿ëÇÏ¿© ¹Ù·Î epsÆÄÀÏÀ» ¸¸µé¼öµµ ÀÖ½À´Ï´Ù¸¸ PSFrag¸¦ »ç¿ëÇÒ¶§ ¹Ù¿îµù¹Ú½º¸¦ À߸ø Àâ´Â °æ¿ì°¡ ¸¹±â ¶§¹®¿¡ ps2eps ½ºÅ©¸³Æ®¸¦ ¾¹´Ï´Ù. See [http]tex2pdf mailing list article

±×¸² ÆÄÀÏÀ» ¿©·¯ °³ ó¸®ÇØ¾ß ÇÏ´Â °æ¿ì¿¡´Â pst-eps ÆÐÅ°Áö¸¦ ÀÌ¿ëÇÕ´Ï´Ù.

\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 ¿É¼ÇÀ» ¾µ ¶§ ¹ß»ýÇÏ´Â ¹®Á¦°¡ ÇؼҵǴ µíÇÕ´Ï´Ù.






^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2008-10-05 02:11:04
Processing time 0.0455 sec