KTUGFaq

KTUG FAQ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
To laugh at men of sense is the privilege of fools.
FrontPage › WinEdtTip/InverseSearch

¸ñÂ÷

1 InverseSearch ¶õ
2 Yap â¿¡¼­ TeX ¹®¼­ ã±â ¼³Á¤
2.1 MiKTeX 2.5ÀÌÈÄ ÀÇ °æ¿ì
2.2 MiKTeX 2.4ÀÇ °æ¿ì
2.3 ±× ¹Û
3 DviOut â¿¡¼­ TeX ¹®¼­ ã±â ¼³Á¤

1 InverseSearch ¶õ

DVI º¸±â(Yap ¶Ç´Â DviOut)¿¡¼­ "TeX ÆíÁý±â"(WinEdt µî)ÀÇ ÇØ´ç À§Ä¡·Î ã¾Æ°¡´Â ±â´ÉÀÔ´Ï´Ù. WinEdt¸¦ ¾µ ¶§´Â ¿ì¼± »óÅÂÇ¥½ÃÁÙ(WinEdtTip/»óÅÂÇ¥½ÃÁÙ¿¡ ÷ºÎµÈ ±×¸² ÂüÁ¶)¿¡ --src°¡ ÀÖ¾î¾ß ÇÕ´Ï´Ù.

X-( ¾øÀ» ¶§´Â WinEdtTip/»óÅÂÇ¥½ÃÁÙ¿¡ ÷ºÎµÈ ±×¸²À» ÂüÁ¶ÇÏ¿© --src°¡ ÀÖ¾î¾ß ÇÒ À§Ä¡¿¡ Çѹø Ŭ¸¯ÇÏ¸é µË´Ï´Ù.

<!> ÁÖÀÇ: TeX ÆÄÀÏÀÇ À̸§¿¡ ÇѱÛ, ÇÑÀÚ, ±âÈ£, ¶ç¾î¾²±â µîÀÌ ÀÖÀ¸¸é "Inverse Search" ±â´ÉÀÌ µèÁö ¾ÊÀ» ¼öµµ ÀÖ½À´Ï´Ù. TeX °ü·Ã ÆÄÀÏÀÇ À̸§À̳ª °æ·Î(Æú´õ À̸§)´Â ·Î¸¶ÀÚ·Î ¶ç¾î¾²±â ¾øÀÌ ¸¸µå´Â °ÍÀÌ ÁÁ½À´Ï´Ù.

2 Yap â¿¡¼­ TeX ¹®¼­ ã±â ¼³Á¤


2.1 MiKTeX 2.5ÀÌÈÄ ÀÇ °æ¿ì


http://www.ktug.or.kr/jsboard/data/setup/files/20060817144444/inverse_DVI_search0.jpg

±×¸² ¼³¸í: YapÀÇ ¸Þ´º¿¡¼­ >View->Options ¸¦ ã¾Æ°¡¸é À§ ±×¸²ÀÇ ¿ÞÂÊ°ú °°Àº ´ëÈ­»óÀÚ°¡ ³ªÅ¸³³´Ï´Ù. ÀÌ¹Ì ÀԷµǾî ÀÖ´Â °Í(auto-detected)Àº ±× ¿¡µðÅ͸¦ ¼±ÅÃÇÏ°í "È®ÀÎ" ´ÜÃ߸¦ ´©¸£¸é µË´Ï´Ù. ¿øÇÏ´Â ¿¡µðÅÍ(¿¹: EmEditor)°¡ Options ´ëÈ­»óÀÚ¿¡ ¾øÀ¸¸é ¸Þ´º¿¡¼­

View->Options...->Inverse DVI Search->New...

¸¦ Ŭ¸¯Çϸé TeX Editor ´ëÈ­»óÀÚ°¡ ¶å´Ï´Ù. ¿©±â¼­ ÆíÁýÇÏ¸é µÉ °ÍÀÔ´Ï´Ù. ¸Ç À§ Ä­Àº Á÷Á¢ ÀÔ·ÂÇÏ¸é µÉ ÅÍÀÌ°í Áß°£Àº ¿À¸¥ÂÊÀÇ "..." ´ÜÃ߸¦ ´­·¯¼­ ãÀ¸¸é µË´Ï´Ù. ¾Æ·¡ Ä­Àº Editor¿¡ µû¶ó ´Ù¸¨´Ï´Ù. EmEditorÀÇ °æ¿ì´Â KTUGContrib:2856 ¿¡¼­ °¡Á® ¿Ô½À´Ï´Ù.
%f /l %l
·Î ÇÏ¸é µË´Ï´Ù.

2.2 MiKTeX 2.4ÀÇ °æ¿ì


¸¸¾à WinEdt¸¦ "TeX ÆíÁý±â"·Î ¾²°í MiKTeX-2.4¸¦ ±ò¾ÒÀ» °æ¿ì(¶Ç ¾÷µ¥ÀÌÆ® ¶§ yap ÆÐÅ°Áö°¡ ¾÷µ¥ÀÌÆ®µÇ´Â °æ¿ì)´Â ±âÁ¸ÀÇ YapÀÌ Áö¿öÁö°í Yap 2.4.1xxxÀÌ »õ·Î ±ò¸®±â ¶§¹®¿¡ Yap¿¡¼­ WinEdt·Î "Inverse Search"(TeX ¹®¼­ ã±â)°¡ ¾ÈµÇ°í Notepad°¡ ¿­¸± °ÍÀÔ´Ï´Ù. ÀÌ ¶§ WinEdt·Î "Inverse Search"°¡ µÇ°Ô ÇÏ·Á¸é Yap âÀÇ ¸Þ´º(Menu Bar)¿¡¼­
 View -> Options...
À» ¼±ÅÃÇϸé "Options" ´ëÈ­»óÀÚ(Pop-up)°¡ ³ªÅ¸³³´Ï´Ù. ¿©±â¼­ "Inverse Search"(TeX ¹®¼­ ã±â)¸¦ ¼±ÅÃÇϸé "Program:" °ú "Command"°¡ ÀÖ½À´Ï´Ù(¾Æ·¡ ±×¸² ÂüÁ¶). yapOptions.png

¸¸¾à "Program:" ¹Ù·Î ¾Æ·¡ Ä­¿¡ ¾Æ¹« ±ÛÀÚµµ ¾øÀÌ ÆĶûÀ¸·Î µÇ¾î ÀÖ°í, "Command" ¹Ù·Î ¾Æ·¡ Ä­¿¡
 notepad "%f"
·Î µÇ¾î ÀÖÀ¸¸é "Program:" ¹Ù·Î ¾Æ·¡ Ä­ÀÇ ¿À¸¥ ÂÊ ³¡¿¡ ÀÖ´Â ¡å´ÜÃ߸¦ Ŭ¸¯Çϸé WinEdt°¡ ³ªÅ¸³³´Ï´Ù. ¿©±â¼­ WinEdt¸¦ ¼±ÅÃÇϸé "Command" ¹ØÀÇ Ä­¿¡
 "C:\Program Files\WinEdt Team\WinEdt\winedt.exe" "[Open('%f');SelLine(%l,8)]"
ÀÌ ³ªÅ¸³³´Ï´Ù. ÀÌÁ¦ ¾Æ·¡ÂÊ¿¡ ÀÖ´Â "È®ÀÎ" ´ÜÃ߸¸ ´©¸£¸é µË´Ï´Ù.

(ÁÖÀÇ: À§¿Í °°ÀÌ ¼³Á¤ÇÏ¿´´õ¶óµµ WinEdt âÀÇ »óÅÂÇ¥½ÃÁÙ(¾Æ·¡ÂÊ)¿¡ --src°¡ ³ªÅ¸³ª ÀÖ¾î¾ß ÇÕ´Ï´Ù.)

2.3 ±× ¹Û


See KTUGContrib:36

3 DviOut â¿¡¼­ TeX ¹®¼­ ã±â ¼³Á¤


"Inverse"(DviOut â¿¡¼­ TeX ¹®¼­ ã±â) ¹× "Forward"(TeX ¹®¼­¿¡¼­ Dvi ÇØ´ç ºÎºÐ Ã£±â) search ¸¦ ¼³Á¤ÇÏ·Á¸é, dvioutÀÇ Option->Setup ParameterÀÇ [Common] ÅÇ¿¡¼­ source special ºÎºÐÀ» ¾Æ·¡¿Í °°ÀÌ ÀÔ·ÂÇÏ°í [Save] ¹öÆ°À» ´©¸¨´Ï´Ù.
src: C:\PROGRA~1\WinEdt Team\WinEdt\WinEdt.exe^s"[Open(|%s|);SelLine(%d,8)]"
-> KTUGSetup:6573, KTUGSetup:11978


WinEdtTip Project

^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2008-06-19 22:15:20
Processing time 0.0399 sec