KTUGFaq

KTUG FAQ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
"Perl is executable line noise, Python is executable pseudo-code."
FrontPagePS4PDFKarnes/2012-01 › ±×¸²Æ÷ÇÔÇϱâ/Obsolete

À߸ø ¸¸µé¾îÁø EPS

Àü¿¡ MiKTeX¿¡¼­ ¹«³­È÷µµ ±«·ÓÇû´ø °ÍÀº Photoshop, Visio, Origin µî¿¡¼­ ÀúÀåÇÑ eps(preview À̹ÌÁö°¡ ³»ÀåµÈ eps) ±×¸²ÀÌ¿´´Ù.[1] ÀÌÁ¦ MiKTeX 2.5 ¶Ç´Â KC2006 À» ¾²¸é preview À̹ÌÁö ´ÙÀ½¿¡ µé¾î ÀÖ´Â "Bounding Box ¿¡ °üÇÑ Á¤º¸"µµ ¹«³­È÷ ã¾Æ ³»¾î ¿À·ù ¸Þ½ÃÁö ¾øÀÌ ÄÄÆÄÀÏÇÑ´Ù. See KTUGSetup:10985, KTUGSetup:10990

----
  • [1] From KTUGBoard:583: preview À̹ÌÁö°¡ ÀÖ´Â eps ÆÄÀÏÀÇ ³»ºÎ ÆÐÅÏÀ» °Ë»öÇÏ¿© %!PS ºÎÅÍ %%EOF ±îÁöÀÇ ³»¿ë(See KTUGSetup:10945)¸¸À» ÃßÃâÇÏ¿© ÀúÀåÇϸé LaTeX ½ÇÇà½Ã¿¡ eps ¹Ù¿îµù ¹Ú½º ¿¡·¯°¡ ¹ß»ýÇÒ °¡´É¼ºÀÌ ¾ø¾îÁý´Ï´Ù.

Q2(from KTUGSetup:6710): Áö±Ý ¾î¼´Ù°¡ ¿¢¼¿¿¡¼­ ±×¸° Â÷Æ®(²©Àº¼± ±×·¡ÇÁ)¸¦ eps·Î ¹Ù²Ù¾î¼­ latex ÆÄÀÏ¿¡ Áý¾î ³Ö°í ÀÖ´Â ÁßÀÔ´Ï´Ù. ¿©±â ±ÛµéÀ» Á¶È¸Çغ¸´Ï Æ÷Åä¼¥(AdobePhotoshop)¿¡¼­ eps·Î º¯È¯ÇÏ¸é µÈ´Ù°í Çؼ­, wmf ÆÄÀÏÀ» ¸¸µçÈÄ eps ÆÄÀÏ·Î ¹Ù²Ù¾ú½À´Ï´Ù. ±×·±µ¥, latex¿¡¼­ ¾Æ¹«¸® ÄÄÆÄÀÏÀ» Çصµ ¿¡·¯°¡ ³³´Ï´Ù. bounding box°¡ ¾ø´Ù´Â ¸Þ¼¼Áö°¡ ³ª¿Í¿ä.

A2-1: ¿¢¼¿À̳ª Æ÷Åä¼¥À̳ª µÑ´Ù EPS ±×¸²À» ¸¸µå´Â µ¥ ÀûÀýÇÑ ÅøÀÌ ¾Æ´Ò °ÍÀÔ´Ï´Ù. ±»ÀÌ ¾ê±âÇÏÀÚ¸é Æ÷Åä¼¥º¸´Ù´Â ÀÏ·¯½ºÆ®·¹ÀÌÅÍ(AdobeIllustrator)°¡ ´õ ÁÁ°ÚÁö¸¸, ¿¢¼¿ ±×¸²¿¡ °üÇؼ­´Â OLETeXÀ̶ó´Â ÈǸ¢ÇÑ µµ±¸°¡ ÀÖ½À´Ï´Ù.

A2-2(from KTUGSetup:6712): Æ÷Åä¼¥¿¡¼­ eps·Î ÀúÀåÇÒ¶§ preview¸¦ noneÀ¸·Î ÇÏ°í encodingÀ» ascii·Î ÇÏ´Ï±î µÇ´Â±º¿ä(¾Æ·¡ ±×¸² ÂüÁ¶).

PhotoshopSaveOption.jpg

A2-3: KTUGSetup:10948, KTUGSetup:10945 µî¿¡ ÷ºÎµÈ ±×¸²À» º¸½Ã¸é ¾Ë°ÚÁö¸¸ Æ÷Åä¼¥¿¡¼­ eps·Î ÀúÀåÇÑ ±×¸²Àº ÆÄÀÏ Å©±â¸¸ Å©Áö Çػ󵵴 º°·Î Çâ»óµÇÁö ¾Ê½À´Ï´Ù. ¾î¶»´ø "bounding box°¡ ¾ø´Ù."´Â ¸Þ¼¼Áö°¡ ³ªÅ¸³ª´Â ±×¸²Àº GhostScriptUtilities ÀÎ "eps2eps" ¶Ç´Â "ps2ps" ¸¦ ½ÇÇàÇÏ¸é µË´Ï´Ù. (WinEdt »ç¿ëÀÚ°¡ ¾Æ´Ï¶óµµ WinEdtTip/DOS¸í·É½ÇÇàÀÌ µµ¿òÀÌ µÉ °ÍÀÔ´Ï´Ù.)

Q3(from KTUGSetup:6851): eps ÆÄÀÏ ºÙÀÌ´Â ¹®Á¦´Â °Ô½ÃÆÇ¿¡ ´Ü°ñ·Î ³ªÅ¸³ª´Â ¹®Á¦ÀÎ °ÍÀ¸·Î ¾Ë°í ÀÖ½À´Ï´Ù. ¸çÄ¥ µ¿¾È °Ë»öÀ» Çؼ­ ¹æ¹ýÀ» ¸ð»öÇÏ¿´À¾´Ï´Ù¸¸ ¿©ÀÇÄ¡ ¾Ê³×¿ä. ¹®Á¦´Â pdf ·Î ¸¸µé¾î º¸¸é ºó È­¸é°ú caption¸¸ º¸ÀÔ´Ï´Ù.
  1. ¿ø·¡ visio·Î eps¸¦ ¸¸µé¾î º¸¾Ò½À´Ï´Ù¸¸ Àß ºÙÁö ¾Ê¾Ò½À´Ï´Ù.
  2. preview ¸¦ ¾ø¾Ö´Â optionµµ Çß½À´Ï´Ù.
  3. visio °¡ tex°ú Àß ¾ÈºÙ´Â´Ù´Â À̾߱Ⱑ À־ AdobeIllustrator¸¦ try versionÀ¸·Î ±¸Çؼ­ eps¸¦ ¸¸µé¾î º¸¾ÒÀ¾´Ï´Ù. ¹°·Ð preview optionÀº noneÀ¸·Î Çß±¸¿ä.
  4. GhostScript¸¦ »õ·Î ±òÀ¸¶ó´Â À̾߱⵵ À־ ÃֽŠ¹öÀüÀÎ 8.5·Î ±ò¾ÒÀ¾´Ï´Ù.
  5. eps ÆÄÀÏÀ» ÅؽºÆ®·Î ¹Ù²ã¼­ ¾Õ¿¡ ÇÊ¿ä¾ø´Â µÎ ÁÙÀ» ¾ø¾Ö¶ó.
´Â °Íµµ Çغ¸¾ÒÀ¾´Ï´Ù¸¸ ¿ª½Ã ½ÇÆÐÇß½À´Ï´Ù. ±×·¡¼­ ¸¶Áö¸·À¸·Î Á÷Á¢ Á¶¾ðÀ» ±¸ÇÕ´Ï´Ù.

A3-1(from KTUGSetup:6853):
  1. graphicx ÆÐÅ°Áö¿¡ dvips ¿É¼ÇÀ» ÁØ °æ¿ì¶ó¸é PDF¸¦ ¸¸µé ¼ö ÀÖ´Â ¹æ¹ýÀº dvips -> ps2pdf ¹Û¿¡ ¾ø½À´Ï´Ù. DVIPDFMx³ª PDFLaTeXÀº »ç¿ëÇÒ ¼ö ¾ø½À´Ï´Ù.
  2. GhostScript¿¡´Â ps2ps¶ó´Â À¯¿ëÇÑ À¯Æ¿¸®Æ¼°¡ ÀÖ½À´Ï´Ù. ÀÌ°ÍÀ» ¿Ã¸®½Å ps ÆÄÀÏ¿¡ Àû¿ëÇß´õ´Ï Å©±â°¡ 6601¹ÙÀÌÆ®¿¡ Áö³ªÁö ¾Ê´Â ¾ÆÁÖ ÀÛÀº .ps ÆÄÀÏÀÌ ¸¸µé¾îÁ³½À´Ï´Ù. (¾à 1/100·Î ÁÙ¾îµç ¼ÀÀÔ´Ï´Ù.) ¿©±â¿¡ ´Ù½Ã ps2eps(ÀÌ°ÍÀ» º°µµ·Î ¼³Ä¡ÇÏÁö ¾ÊÀ¸¼Ì´Ù¸é GSView¸¦ ÀÌ¿ëÇصµ µË´Ï´Ù.)¸¦ Àû¿ëÇؼ­ ¸¸µç .eps ÆÄÀÏÀ» ÷ºÎÇÕ´Ï´Ù.

A3-2(from KTUGSetup:6861): visio¸¦ ÀÌ¿ëÇؼ­ ´ÙÀ½°ú °°ÀÌ eps ±×¸²ÀÌ Æ÷ÇԵǴ pdf fileÀ» ¸¸µì´Ï´Ù. Áö±Ý±îÁö´Â ½ÇÆÐÇغ» ÀûÀÌ ¾ø½À´Ï´Ù.
  1. Visio·Î ±×¸²À» ±×¸³´Ï´Ù.
  2. TeX fileÀÌ ÀÖ´Â directory¿¡ visio ±×¸²À» .eps·Î ÀúÀåÇÕ´Ï´Ù. Visio ¿¡¼­´Â Encapsulated Postscript FileÀ» ¼±ÅÃÇϸé eps file·Î ÀúÀåÀÌ µË´Ï´Ù. µ¿½Ã¿¡ Çػ󵵸¦ ÁöÁ¤ÇÒ ¼ö Àִµ¥, º¸Åë <¿øº»>À» ¼±ÅÃÇϸé ÃæºÐÇÕ´Ï´Ù.
  3. WinEdt¿¡¼­ TeX fileÀ» compileÇÕ´Ï´Ù. À̶§ ±×¸²ÀÌ ºÙÀº dvi fileÀÌ ¸¸µé¾îÁý´Ï´Ù. (Á¦°¡ visio¿¡¼­ ¸¸µç eps fileÀº 100% ºÙ¾ú½À´Ï´Ù.) À̶§ Yap¿¡¼­´Â ±×¸²ÀÌ º¸ÀÌÁö¸¸ ½ÇÁ¦·Î ÇÁ¸°Æ®¸¦ ÇÏ¸é ¾Èº¸ÀÔ´Ï´Ù.
  4. WinEdt ¸Þ´º¿¡¼­ dvi->ps¸¦ ¼±ÅÃÇÏ¿© ps ÆÄÀÏÀ» ¸¸µì´Ï´Ù.
  5. WinEdt ¸Þ´º¿¡¼­ GSView(Ghostview)¸¦ ½ÇÇàÇϸé (WinEdt ¸Þ´º¿¡¼­ ¿Ã»©¹Ì ¼±ÅÃ) ÇöÀçÀÇ ps ÆÄÀÏÀÌ È­¸é¿¡ º¸ÀÌ°Ô µË´Ï´Ù. À̶§ ÇÁ¸°Æ®ÇÏ¸é ±×¸²µµ ÇÁ¸°Æ®µË´Ï´Ù.
  6. ÀÌÁ¦ pdf ÆÄÀÏÀ» ¸¸µé±â À§ÇØ, GSView°¡ ¿­¸° »óÅ¿¡¼­ ¸Þ´ºÀÇ <File> <Convert>¸¦ ¼±ÅÃÇÏ°í <pdfwrite><600>(ÇØ»óµµ)À» ¼±ÅÃÇϸé pdf ÆÄÀÏÀÌ ¸¸µé¾îÁý´Ï´Ù.

EPS ³»ÀÇ ¹®ÀÚ


Q4(from KTUGSetup:6858): eps ±×¸²¿¡´Â ±ÛÀÚ¸¦ ³ÖÁö ¾Ê°í PSFrag¸¦ ¾²¼­ º»¹®ÀÇ ±Û²Ã°ú °°°Ô ÇÏ·Á°í ÇÕ´Ï´Ù. ps ±×¸²À» GSView·Î ¿­¾î¼­ ¸Þ´º¿¡¼­
 File -> PS to EPS
·Î °íÃÄ´õ´Ï È®ÀåÀÚ¸¸ ps¿¡¼­ eps·Î ¹Ù²ã ÁÖ´Â °Í °°½À´Ï´Ù. GhostScriptÀÇ ps2ps À¯Æ¿¸®Æ¼¸¦ ps ÆÄÀÏ¿¡ Àû¿ëÇÏ´Â ¹æ¹ýÀ» ÀÚ¼¼È÷ ¾Æ¸®ÄÑ ÁֽðڽÀ´Ï±î? Á¦°¡ WinEdt â¿¡¼­ "Command Prompt" ¶Ç´Â "Run ..."À» ¿­°í ps2ps¸¦ ½ÇÇàÇÏ¿´´õ´Ï ¸Þ¸ð¸® Å©±â´Â ÁÙ¾úÀ¸³ª ±ÛÀÚÀÇ Çػ󵵴 ¿©ÀüÈ÷ ³ª»¦½À´Ï´Ù. ½Å±âÇÏ°Ôµµ ±×¸²Àº ³ªºüÁø °Í °°Áö ¾Ê½À´Ï´Ù. ±ÛÀÚ¸¦ ¾Æ¿¹ »©¹ö¸±·Á¸é ¾î¶»°Ô Çϳª¿ä? "ps2ps"´Â ¾î¶² ¿É¼ÇÀ» ½á¾ß °¡Àå È¿°úÀûÀÎÁö ¸»¾¸ÇØ ÁÖ½Ã¸é °í¸¿°Ú½À´Ï´Ù.

A4(from KTUGSetup:6859):
  1. ps2ps´Â ±×¸² Å©±â¸¦ ÁÙ¿©ÁÖÁö¸¸ ÀÏ·¯½ºÆ®·¹ÀÌÅÍ µî¿¡¼­ ¸¸µé¾îÁø ps(eps)ÀÇ ÆùÆ® ¼³Á¤À» °ÅÀÇ ÀÌÇØÇÏÁö ¸øÇϱ⠶§¹®¿¡, ºñÆ®¸ÊÀ¸·Î ¹Ù²Ù¾î ³Ö°Ô µË´Ï´Ù. ±×·¡¼­ ±ÛÀÚÀÇ "ÇØ»óµµ"°¡ ¶³¾îÁö´Â °Íó·³ º¸ÀÌ°Ô µÉ °ÍÀÔ´Ï´Ù. ÀÏ·¯½ºÆ®¿¡¼­ ¸¸µé¾ú´Ù Çصµ, Ç¥ÁØ LW 35 PS fonts¸¸À» ¾²¸é Àß Çؼ®ÇÒ °ÍÀ¸·Î »ý°¢ÇÕ´Ï´Ù.
    #> ps2ps inputfile outputfile
    
    ó·³, outputfile À̸§À» Àû¾îÁÖ¾î¾ß ÇÑ´Ù´Â Á¡ ¸»°í´Â Ưº°ÇÒ °ÍÀÌ ¾ø½À´Ï´Ù.
  2. ¶Ç ÇÑ °¡Áö ¹æ¹ýÀº ÆùÆ® ÇÁ¶óÆÛƼ¸¦ À¯ÁöÇϱâ À§Çؼ­ ¿ø·¡ÀÇ .ps¸¦ ¹Ù·Î .pdf·Î º¯È¯(epstopdf)ÇÑ ´ÙÀ½ .pdf¸¦ xpdfÀÇ pdftops·Î ´Ù½Ã .ps·Î ¹Ù²Ù°í ¿©±â¿¡ ps2eps¸¦ Àû¿ëÇÏ´Â °ÍÀÔ´Ï´Ù.
  3. ±Û²ÃÀ» Á¦¿ÜÇÏ´Â ¹æ¹ýÀº ±×¸²À» Á÷Á¢ ÆíÁýÇØ¾ß ÇÒ °ÍÀ̶ó°í »ý°¢µË´Ï´Ù.

^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2008-10-05 02:13:36
Processing time 0.0463 sec