KTUGFaq
KTUG FAQ
To laugh at men of sense is the privilege of fools.
FrontPage › WinEdtTip/InverseSearch
[ÆíÁý]
1 InverseSearch ¶õ ¶
DVI º¸±â(Yap ¶Ç´Â DviOut)¿¡¼ "TeX ÆíÁý±â"(WinEdt µî)ÀÇ ÇØ´ç À§Ä¡·Î ã¾Æ°¡´Â ±â´ÉÀÔ´Ï´Ù. WinEdt¸¦ ¾µ ¶§´Â ¿ì¼± »óÅÂÇ¥½ÃÁÙ(WinEdtTip/»óÅÂÇ¥½ÃÁÙ¿¡ ÷ºÎµÈ ±×¸² ÂüÁ¶)¿¡ --src°¡ ÀÖ¾î¾ß ÇÕ´Ï´Ù.
¾øÀ» ¶§´Â WinEdtTip/»óÅÂÇ¥½ÃÁÙ¿¡ ÷ºÎµÈ ±×¸²À» ÂüÁ¶ÇÏ¿© --src°¡ ÀÖ¾î¾ß ÇÒ À§Ä¡¿¡ Çѹø Ŭ¸¯ÇÏ¸é µË´Ï´Ù.
[ÆíÁý]
2.1 MiKTeX 2.5ÀÌÈÄ ÀÇ °æ¿ì ¶
±×¸² ¼³¸í: YapÀÇ ¸Þ´º¿¡¼ >View->Options ¸¦ ã¾Æ°¡¸é À§ ±×¸²ÀÇ ¿ÞÂÊ°ú °°Àº ´ëÈ»óÀÚ°¡ ³ªÅ¸³³´Ï´Ù. ÀÌ¹Ì ÀԷµǾî ÀÖ´Â °Í(auto-detected)Àº ±× ¿¡µðÅ͸¦ ¼±ÅÃÇÏ°í "È®ÀÎ" ´ÜÃ߸¦ ´©¸£¸é µË´Ï´Ù. ¿øÇÏ´Â ¿¡µðÅÍ(¿¹: EmEditor)°¡ Options ´ëÈ»óÀÚ¿¡ ¾øÀ¸¸é ¸Þ´º¿¡¼
View->Options...->Inverse DVI Search->New...
¸¦ Ŭ¸¯Çϸé TeX Editor ´ëÈ»óÀÚ°¡ ¶å´Ï´Ù. ¿©±â¼ ÆíÁýÇÏ¸é µÉ °ÍÀÔ´Ï´Ù. ¸Ç À§ ÄÀº Á÷Á¢ ÀÔ·ÂÇÏ¸é µÉ ÅÍÀÌ°í Áß°£Àº ¿À¸¥ÂÊÀÇ "..." ´ÜÃ߸¦ ´·¯¼ ãÀ¸¸é µË´Ï´Ù. ¾Æ·¡ ÄÀº Editor¿¡ µû¶ó ´Ù¸¨´Ï´Ù. EmEditorÀÇ °æ¿ì´Â 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"°¡ ÀÖ½À´Ï´Ù(¾Æ·¡ ±×¸² ÂüÁ¶).
¸¸¾à "Program:" ¹Ù·Î ¾Æ·¡ Ä¿¡ ¾Æ¹« ±ÛÀÚµµ ¾øÀÌ ÆĶûÀ¸·Î µÇ¾î ÀÖ°í, "Command" ¹Ù·Î ¾Æ·¡ Ä¿¡
notepad "%f"·Î µÇ¾î ÀÖÀ¸¸é "Program:" ¹Ù·Î ¾Æ·¡ ÄÀÇ ¿À¸¥ ÂÊ ³¡¿¡ ÀÖ´Â ¡å´ÜÃ߸¦ Ŭ¸¯Çϸé WinEdt°¡ ³ªÅ¸³³´Ï´Ù. ¿©±â¼ WinEdt¸¦ ¼±ÅÃÇϸé "Command" ¹ØÀÇ Ä¿¡
"C:\Program Files\WinEdt Team\WinEdt\winedt.exe" "[Open('%f');SelLine(%l,8)]"ÀÌ ³ªÅ¸³³´Ï´Ù. ÀÌÁ¦ ¾Æ·¡ÂÊ¿¡ ÀÖ´Â "È®ÀÎ" ´ÜÃ߸¸ ´©¸£¸é µË´Ï´Ù.
(ÁÖÀÇ: À§¿Í °°ÀÌ ¼³Á¤ÇÏ¿´´õ¶óµµ WinEdt âÀÇ »óÅÂÇ¥½ÃÁÙ(¾Æ·¡ÂÊ)¿¡ --src°¡ ³ªÅ¸³ª ÀÖ¾î¾ß ÇÕ´Ï´Ù.)
[ÆíÁý]
3 DviOut â¿¡¼ TeX ¹®¼ ã±â ¼³Á¤ ¶
"Inverse"(DviOut â¿¡¼ TeX ¹®¼ ã±â) ¹× "Forward"(TeX ¹®¼¿¡¼ Dvi ÇØ´ç ºÎºÐ Ã£±â) search ¸¦ ¼³Á¤ÇÏ·Á¸é, dvioutÀÇ Option->Setup ParameterÀÇ [Common] ÅÇ¿¡¼ source special ºÎºÐÀ» ¾Æ·¡¿Í °°ÀÌ ÀÔ·ÂÇÏ°í [Save] ¹öÆ°À» ´©¸¨´Ï´Ù.
-> 6573, 11978
src: C:\PROGRA~1\WinEdt Team\WinEdt\WinEdt.exe^s"[Open(|%s|);SelLine(%d,8)]"
WinEdtTip Project