KTUGFaq

KTUG FAQ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
You will hear good news from one you thought unfriendly to you.
FrontPage › IsCho/EmEditorTip
°³ÀÎÀû ¿ëµµ·Î »ç¿ëÇÏ´Â EmEditorTipÀ» ¸ð¾Æº¾´Ï´Ù.

¸ñÂ÷

1 EmEditor
2 EmEditor Plugins
3 MTeXHelper
3.1 MTeXHelper¿¡¼­ pdfopen, pdfclose ÀÌ¿ëÇϱâ
3.1.1 pdfclose
3.1.2 pdfopen
3.2 dvips/ps2pdf routine Æí¸®ÇÏ°Ô Á¶Á¤Çϱâ
3.2.1 Simple dvips routine
3.2.2 Simple ps2pdf routine
3.2.3 Complete ps2pdf routine
3.3 User-defined TeX Process

2 EmEditor Plugins

3 MTeXHelper

¾Æ·¡³»¿ëÀº KC2007 ±âÁØÀÔ´Ï´Ù.
KC2007ÀÇ °æ¿ì: (¾Æ·¡¿¡ ¼³¸íÇÏ´Â ³»¿ëÀÌ ¹Ý¿µµÇµµ·Ï) ¼³Á¤À» ¹Ù²Û ÆÄÀÏ ¸ðÀ½:
  • MTeX2.bat --- (./) @20070103-dvips-pdfclose-MTeX2.bat.txt (9.49 KB)
    • ÄÄÆÄÀÏ Àü pdfclose·Î (pdfopenÀ¸·Î ¿­¸°) pdfÆÄÀÏ ´Ý±â
    • simple dvips/ps2pdf routine
  • MTeX2cmd.bat --- (./) @20070727-pdfopen-kcltxmkpdfps-komkindex-MTeX2cmd.bat.txt (7.96 KB)
    • pdfopenÀ¸·Î pdfÆÄÀÏ ¿­±â
    • kcltxmk -pdfps foo ·Î ps2pdf ÃÖÁ¾ÄÄÆÄÀÏ ½ÇÇàÇϱâ (ps2pdf ´ÜÃß setting 2)
    • komkindex -s kotex foo.idx
  • pdflatex: @MTeX2Usr.bat.txt (398 Bytes) (User-defined TeX Process ´ÜÃß »ç¿ë)
    • pdflatex 1ȸ (Setting 1: ¿ÞÂÊ Å¬¸¯)
    • pdflatex ÃÖÁ¾ÄÄÆÄÀÏ (Setting 2: ¿À¸¥ÂÊ Å¬¸¯)


KC2008ÀÇ °æ¿ì: (ÁغñÁß: ¿©·ÂÀÌ ÀÖÀ» ¶§±îÁö´Â ½Ã°£ÀÌ Á» °É¸± µí...)
  • Karnes´ÔÀÇ ¸Þ¸ð¸¦ Âü°íÇϼŵµ µË´Ï´Ù. -> EmEditor/KC2008

3.1 MTeXHelper¿¡¼­ pdfopen, pdfclose ÀÌ¿ëÇϱâ

°³ÀÎÀû ¿ëµµÀÇ ÆÄÀÏÀ̹ǷÎ, ¿©±â¿¡ ¿Ã·ÁÁø ÆÄÀÏÀÇ »ç¿ë¿©ºÎ´Â »ç¿ëÀÚÀÇ ¼±Åÿ¡ ´Þ·Á ÀÖ½À´Ï´Ù.

3.1.1 pdfclose

  1. (KC2006ÀÇ °æ¿ì) pdfopenÀ¸·Î ¿­¸° pdfÆÄÀÏÀ» pdfclose·Î ´ÝÀ» ¼ö ÀÖ´Ù.
    • À̸¦ MTeXHelper ¼³Á¤¿¡ Àû¿ëÇϸé pdfÆÄÀÏÀÌ ¿­·Á ÀÖ´ÂÁö¸¦ ½Å°æ¾²Áö ¾Ê°í ÄÄÆÄÀÏÇÒ ¼ö ÀÖ¾î ¸Å¿ì Æí¸®ÇÏ´Ù.
  2. ÄÄÆÄÀÏ Àü¿¡, pdfopenÀ¸·Î ¿­¸° ÆÄÀÏÀÌ ÀÖ´ÂÁö Á¶»çÇÏ¿© ÀÖÀ¸¸é pdfclose·Î ´Ý¾ÆÁÖµµ·Ï ÇÏ·Á¸é, ¾Æ·¡ ÆÄÀÏÀ» ´Ù¿î¹Þ¾Æ ..\EmEditor\Plugins¿¡ ÀÖ´Â MTeX2.bat¸¦ ´ëüÇÑ´Ù.
    @20070103-pdfclose-MTeX2.bat.txt (8.89 KB)
    1. ±âÁ¸ÀÇ MTeX2cmd.batÀÇ À̸§À» MTeX2cmd.bat.orig(¶Ç´Â ´Ù¸¥ À̸§)À¸·Î ¹Ù²Ù°í
    2. ´Ù¿î¹ÞÀº ÆÄÀÏÀÇ À̸§À» MTeX2.batÀ¸·Î ¹Ù²Ù¸é µÈ´Ù.
  3. ÀÌÁ¦, pdfÆÄÀÏÀÌ ¿­·ÁÀÖ´ÂÁö¸¦ ½Å°æ¾²Áö ¾Ê°í, ps2pdf, dvipdfmx, pdflatex µîÀÇ ÀÛ¾÷À» ÇÒ ¼ö ÀÖ´Ù.

3.1.2 pdfopen

  1. pdfopenÀ» À§ÇÑ ¼³Á¤Àº EmEditor/MTeXHelper#s-3.4¿¡ ÀÖ´Ù. (ÀÌ ¼³Á¤°úÁ¤Àº ¾Æ·¡ ÆÄÀÏ¿¡ ¹Ý¿µµÇ¾î ÀÖÀ¸¹Ç·Î, »ý·«Çصµ µÊ.)
  2. ps2pdf´ÜÃ߸¦ ´©¸¦ ¶§, pdfopenÀ¸·Î pdfÆÄÀϱîÁö ¿­¸®µµ·Ï ÇÏ´Â °ÍÀÌ Æí¸®ÇÒ °ÍÀÌ´Ù. ´ÙÀ½ ÆÄÀÏÀº À§ÀÇ ¸ðµç ¼³Á¤¿¡ ´õÇÏ¿© ps2pdf ¿øŬ¸¯À¸·Î pdf °á°úÆÄÀÏÀ» È®ÀÎÇÒ ¼ö ÀÖµµ·Ï ¼³Á¤ÇÑ °ÍÀÌ´Ù.
    @20070103-pdfopen-MTeX2cmd.bat.txt (8.03 KB)
    • À§ ÆÄÀÏÀ» ´Ù¿î¹Þ¾Æ ..\EmEditor\PluginsÀÇ MTeX2cmd.batÀ» ´ëüÇÑ´Ù.

3.2 dvips/ps2pdf routine Æí¸®ÇÏ°Ô Á¶Á¤Çϱâ

°³ÀÎÀû ¿ëµµÀÇ ÆÄÀÏÀ̹ǷÎ, ¿©±â¿¡ ¿Ã·ÁÁø ÆÄÀÏÀÇ »ç¿ë¿©ºÎ´Â »ç¿ëÀÚÀÇ ¼±Åÿ¡ ´Þ·Á ÀÖ½À´Ï´Ù.

3.2.1 Simple dvips routine

  1. ¹®¼­ÀÛ¼º Áß dvips ´ÜÃ߸¦ ºó¹øÇÏ°Ô »ç¿ëÇÏ´Â °æ¿ì, latex->(bibtex)->latex->(makeindex)->latex->dvips°úÁ¤À» ¸Å¹ø ÁöÄѺ¸´Â °ÍÀº ±«·Î¿î ÀÏÀÌ´Ù.
  2. À̸¦ latex->dvipsÀÇ ´Ü¼øÇÑ routineÀ¸·Î ¹Ù²Ù°íÀÚ ÇÑ´Ù¸é,
    (./) @20070103-dvips-pdfclose-MTeX2.bat.txt (9.49 KB)
    À§ ÆÄÀÏÀ» ´Ù¿î¹Þ¾Æ MTeX2.bat¸¦ ´ëüÇÏ¸é µÈ´Ù. (pdfclose Àû¿ëµÊ.)
  3. º»·¡ÀÇ µ¿ÀÛÀ¸·Î ȯ¿øÇϱâ À§Çؼ­´Â,
    • ±âÁ¸ ÆÄÀÏÀ» µû·Î º¸°üÇØ µÎ°Å³ª
    • À§ÀÇ pdfclose-MTeX2.bat·Î ¹Ù²Ù¸é µÈ´Ù.
    • ¶Ç´Â ´ÙÀ½°ú °°ÀÌ MTeX2.bat¿¡¼­ 132°ÁÙÀ» comment out ÇÏ°í, 133°ÁÙÀ» uncommentÇÏ¸é µÈ´Ù.
         132 REM if "%MTeX2_New%"=="1" goto shortdvips
         133 if "%MTeX2_New%"=="1" goto 2
      


3.2.2 Simple ps2pdf routine

  1. simple dvips routineÀº, ps->pdf ´ÜÃ߸¦ ´­·¯µµ Àû¿ëµÈ´Ù. Áï ÆÄÀÏ ÆíÁý Áß pd->pdf ´ÜÃ߸¦ ´©¸£¸é...
    • latex -> dvips -> ps2pdf -> pdfview°¡ Çѹø¾¿ ½ÇÇàµÈ´Ù.
    • ¼Ò½ºÆÄÀÏ¿¡ º¯È­°¡ ¾øÀ¸¸é ¹Ù·Î pdfÆÄÀÏÀÌ ¿­¸°´Ù.
  2. ºó¹øÇÑ ps2pdf ÀÛ¾÷½Ã Æí¸®ÇÏ´Ù.
  3. ±×·¯³ª ps2pdf´ÜÃßÀÇ ÃÖÁ¾ÄÄÆÄÀÏ ´ÜÃßÀÇ ±â´ÉÀº ÀÛµ¿ÇÏÁö ¾ÊÀ¸¹Ç·Î, ÃÖÁ¾ÄÄÆÄÀÏÀ» À§Çؼ­´Â ¾Æ·¡¸¦ Âü°íÇÑ´Ù.

3.2.3 Complete ps2pdf routine

  1. dvips routineÀ» À§¿¡¼­Ã³·³ °£´ÜÇÏ°Ô ÁÙÀÎ °æ¿ì, ps2pdf¸¦ ÅëÇØ ÃÖÁ¾ÄÄÆÄÀÏÀ» ÇÏ¿© pdf°á°ú¹°À» ¾ò±â À§Çؼ­´Â ´ÙÀ½°ú °°ÀÌ ÇÒ ¼ö ÀÖ´Ù.
    • ps2pdf´ÜÃßÀÇ setting 1 ¼³Á¤Àº ps2pdf¿¡ ¹èÁ¤ÇÏ¿© simple routineÀ» ½ÇÇàÇÏ°í
      Execute path:  call "ps2pdf"
      Parameters:    "%MTeX2_CFName%.ps" "%MTeX2_CFName%.pdf"
      
    • setting 2 ¼³Á¤Àº kcltxmkÀÇ ÃÖÁ¾ÄÄÆÄÀÏ ±â´É¿¡ ¹èÁ¤ÇÑ´Ù.
      Execute path:  "kcltxmk"
      Parameters:    -pdfps "%MTeX2_CFName%.tex"
      
    • ÀÌ ¼³Á¤ÀÌ ¹Ý¿µµÈ (./) @20070727-pdfopen-kcltxmkpdfps-komkindex-MTeX2cmd.bat.txt (7.96 KB) ÆÄÀÏÀ» ´Ù¿î¹Þ¾Æ ...\EmEditor\Plugins¿¡ ÀÖ´Â MTeX2cmd.batÀ» ´ëüÇÑ´Ù.
  2. ÀÌÁ¦ ps2pdf ´ÜÃ߸¦
    • ¿ÞÂÊ(setting 1)Ŭ¸¯ÇÏ¸é °£´ÜÇÑ ps2pdf routineÀÌ Àû¿ëµÇ°í
    • ¿À¸¥ÂÊ(setting 2)Ŭ¸¯Çϸé ps2pdf ÃÖÁ¾ÄÄÆÄÀÏ °úÁ¤ÀÌ ÁøÇàµÈ´Ù.
      • Áï ÇÊ¿äÇÑ °æ¿ì bibtex°ú makeindex¸¦ ÁøÇà½ÃÅ°°í dvips->ps2pdf±îÁö ÁøÇà½ÃŲÈÄ pdfÆÄÀÏÀ» ¿­¾îÁØ´Ù.

3.3 User-defined TeX Process

  1. pdflatex: @MTeX2Usr.bat.txt (398 Bytes) (User-defined TeX Process ´ÜÃß »ç¿ë)
    • pdflatex 1ȸ (Setting 1: ¿ÞÂÊ Å¬¸¯)
    • pdflatex ÃÖÁ¾ÄÄÆÄÀÏ (Setting 2: ¿À¸¥ÂÊ Å¬¸¯)

^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2008-10-01 23:30:49
Processing time 0.0490 sec