KTUGFaq

KTUG FAQ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
You are unscrupulously dishonest, false, and deceitful.
FrontPageEmEditorTip/Execution/Compile › EmEditorTip/Execution
EmEditor/Professional + MTeXHelper ÀÇ »ç¿ë TipÀ» Á¦°øÇÏ´Â °÷ÀÔ´Ï´Ù. [http]EmEditorTip

¸ñÂ÷

1 LaTeX ÄÄÆÄÀÏ, ¹®¼­º¸±â (MTeX2)
1.1 dvips¸¦ »ç¿ëÇÏÁö ¾ÊÀ» ¶§
1.2 dvips¸¦ »ç¿ëÇÒ ¶§
1.3 ´ÜÃßÀç¹è¿­
2 User-defined TeX Process (MTeX2)
2.1 pdflatex ÄÄÆÄÀÏ
2.2 pdflatex, xelatex ÄÄÆÄÀÏ
2.3 pdflatex ÃÖÁ¾ÄÄÆÄÀÏ (bibtex,makeindex-dhucsÆ÷ÇÔ)
3 External Tool·Î ½ÇÇàÇϱâ
3.1 pdflatex 1ȸ ½ÇÇà
3.2 pdflatex -> pdfview ÀÏ°ýó¸®
3.3 latex -> dvips -> ps2pdf -> pdfview ÀÏ°ýó¸®

button00AllNumbered.jpg

  • PS->PDF ´ÜÃß°¡ MTeX2 toolbar¿¡¼­ º¸ÀÌÁö ¾Ê´Â °æ¿ì, MTeX2 toolbar¿¡¼­ Customizing toolbars...·Î µé¾î°¡¼­ Ãß°¡ÇÑ´Ù.
    PsPdf.jpg


1 LaTeX ÄÄÆÄÀÏ, ¹®¼­º¸±â (MTeX2)

¿ÞÂÊ Å¬¸¯(setting 1) ±âÁØÀ¸·Î ¼³¸íÇÑ´Ù. ´ëºÎºÐ, ¿À¸¥ÂÊ Å¬¸¯(setting 2)´Â setting 1°ú °°ÀÌ ¼³Á¤µÇ¾î ÀÖ´Ù. Ưº°ÇÑ °æ¿ì¿¡¸¸, setting 2¿¡ ´ëÇØ ¼³¸íÇÑ´Ù.

button41Compile.jpg


1.1 dvips¸¦ »ç¿ëÇÏÁö ¾ÊÀ» ¶§

  1. TeX quick build (^+shift+1): latex ÄÄÆÄÀÏ 1ȸ ½ÇÇà
    • ¿À¸¥ÂÊ Å¬¸¯(setting 2)¿¡ pdflatexÀÌ ¼³Á¤µÇ ÀÖ´Ù¸é, pdflatex ÄÄÆÄÀÏ 1ȸ ½ÇÇà.
  2. TeX processing (^+shift+2): "ÃÖÁ¾ÄÄÆÄÀÏ "
    • [latex -> (bibtex -> latex ->) latex -> makeindex -> latex]À» ½ÇÇàÇØÁØ´Ù.
    • \makeindex°¡ ¼±¾ðµÇÁö ¾ÊÀ¸¸é latex¸¸ µÎ ¹ø ½ÇÇàÇØÁØ´Ù.
    • bibtexÀÌ ÇÊ¿äÇÑ °æ¿ì¿¡¸¸, ÀÚµ¿ÀûÀ¸·Î bibtex°ú latexÀ» Ãß°¡ÇÏ¿© ½ÇÇàÇÑ´Ù.
    • Âü°í: TeX quick buildÀÌ¿ÜÀÇ ¸ðµç ´ÜÃß°¡ ÃÖÁ¾ÄÄÆÄÀÏ ±â´ÉÀ» °¡Áö°í ÀÖ´Ù. Áï, ÃÖ±ÙÀÇ latex ÄÄÆÄÀÏ ÀÌÈÄ¿¡ ÆÄÀÏ¿¡ ÷»è µîÀÇ º¯µ¿ÀÌ ÀÖ´Â °æ¿ì, ÀÚµ¿À¸·Î "ÃÖÁ¾ÄÄÆÄÀÏ" °úÁ¤À» ´Ù½Ã ½ÇÇàÇÑ ÈÄ, ÇØ´ç ´ÜÃßÀÇ ±â´ÉÀ» ½ÇÇàÇÑ´Ù.
  3. DVI view (^+shift+3): dviout½ÇÇàÇÏ¿© dvi·Î ÄÄÆÄÀÏ °á°ú È®ÀÎ
    • ¸¸ÀÏ, ÆÄÀÏ¿¡ º¯µ¿ÀÌ ÀÖ¾ú´Ù¸é, [ÃÖÁ¾ÄÄÆÄÀÏ -> dviview]°¡ ½ÇÇàµÈ´Ù.
      Áï, [latex -> latex -> makeindex -> latex -> dviview]°¡ ½ÇÇàµÊ.
    • ¸¸ÀÏ, ÆÄÀÏ¿¡ º¯µ¿ÀÌ ¾ø´Ù¸é ´Ü¼øÈ÷ foo.dvi¸¦ ºÒ·¯¿Â´Ù.
    • dviviewer¿¡ ÀÚµ¿°»½Å ±â´ÉÀÌ ÀÖÀ¸¹Ç·Î, óÀ½¿¡¸¸ ÀÌ ´ÜÃ߸¦ ´­·¯ dvioutÀ» ¿­°í, ÀÌÈÄ¿¡´Â ¿­¸° âÀ» È°¼ºÈ­½ÃÅ°¸é ÃÖ±ÙÀÇ °á°ú·Î °»½ÅµÈ´Ù. (µû¶ó¼­, ÀÌ ´ÜÃ߸¦ °è¼Ó ´©¸¦ ÇÊ¿ä´Â ¾ø´Ù.)
  4. DVI->PDF: dvipdfmx¸¦ ½ÇÇàÇÑ´Ù.
    • ¸¸ÀÏ, ÆÄÀÏ¿¡ º¯µ¿ÀÌ ÀÖ¾ú´Ù¸é, [ÃÖÁ¾ÄÄÆÄÀÏ -> dvipdfmx]°¡ ½ÇÇàµÇ¾î pdfÆÄÀÏÀÌ ¸¸µé¾îÁø´Ù.
  5. PDF view: adobe reader°¡ ½ÇÇàµÇ¾î pdf°á°úÆÄÀÏÀ» È®ÀÎÇÑ´Ù.
    • ¸¸ÀÏ, ÆÄÀÏ¿¡ º¯µ¿ÀÌ ÀÖ¾ú´Ù¸é, [ÃÖÁ¾ÄÄÆÄÀÏ -> dvipdfmx -> pdfview]°¡ ½ÇÇàµÇ¾î pdfÆÄÀÏÀ» È®ÀÎÇÒ ¼ö ÀÖ´Ù.
      • ¿øŬ¸¯À¸·Î ¸ðµç ÄÄÆÄÀÏ°úÁ¤À» ´Ù °ÅÄ¡°í pdfÆÄÀϱîÁö º¸¿©ÁØ´Ù.
    • ÆÄÀÏ¿¡ º¯µ¿ÀÌ ¾øÀ¸¸é, ´Ü¼øÈ÷ foo.pdf¸¦ ¿­¾î º¸¿©ÁØ´Ù.
    • pdf viewer·Î adobe reader°¡ ¾Æ´Ï¶ó, gsviewÀ» »ç¿ëÇϸé pdfÆÄÀÏÀÌ ÀÚµ¿°»½ÅµÈ´Ù. (ÀÌ °æ¿ì, pdfviewer ´ÜÃ߸¦ °è¼Ó ´©¸¦ ÇÊ¿ä´Â ¾ø´Ù. gsview´Â External Tool·Î µî·ÏÇÏ¿© »ç¿ëÇϸé Æí¸®ÇÏ´Ù.)

1.2 dvips¸¦ »ç¿ëÇÒ ¶§

  1. PS make: dvips¸¦ ½ÇÇàÇÑ´Ù.
    • ÆÄÀÏ¿¡ º¯µ¿ÀÌ ÀÖ¾ú´Ù¸é, [ÃÖÁ¾ÄÄÆÄÀÏ+dvips]°¡ ½ÇÇàµÈ´Ù.
    • ÆÄÀÏ¿¡ º¯µ¿ÀÌ ¾øÀ¸¸é ´Ü¼øÈ÷ dvips¸¸ ½ÇÇàµÈ´Ù.
    • Remark: ¹®¼­ ÆíÁý Áß¿¡ ÀÚÁÖ ps°á°ú ÆÄÀÏÀ» È®ÀÎÇØ¾ß ÇÏ´Â °æ¿ì¿¡´Â, °è¼Ó ÃÖÁ¾ÄÄÆÄÀÏ °úÁ¤À» ¹Ýº¹ÇÏ´Â °ÍÀº ¸Å¿ì Âü±â Èûµé´Ù.
      • ÀÌ °æ¿ì, MTeX.bat¿¡¼­ ÀÛ¾÷ routineÀ» [latex -> dvips] ´Ü¼øÈ­½ÃÄÑ »ç¿ëÇϸé Æí¸®ÇÏ°Ô ÀÛ¾÷ÇÒ ¼ö ÀÖ´Ù.
      • °£´ÜÇÏ°Ô´Â, External Tool°ú ¹èÄ¡ÆÄÀÏÀ» ÀÌ¿ëÇÏ¿© ÇØ°áÇÒ ¼ö ÀÖ´Ù. (¾Æ·¡ EmEditorTip/Execution#s-3 ÂüÁ¶.)
  2. PS view: gsveiw·Î ps°á°ú ÆÄÀÏÀ» È®ÀÎÇÑ´Ù.
    • ÆÄÀÏ¿¡ º¯µ¿ÀÌ ÀÖ¾ú´Ù¸é, [ÃÖÁ¾ÄÄÆÄÀÏ+dvips+gsview]°¡ ½ÇÇàµÇ¾î psÆÄÀÏÀ» È®ÀÎÇÒ ¼ö ÀÖ´Ù.
    • ÃÖ±Ù¿¡ latex¸¸ ½ÇÇàµÈ °æ¿ì, [dvips+gsview]°¡ ½ÇÇàµÇ¾î psÆÄÀÏÀ» È®ÀÎÇÒ ¼ö ÀÖ´Ù.
    • ÃÖ±Ù¿¡ latex + dvips°¡ ½ÇÇàµÈ °æ¿ì, ´Ü¼øÈ÷ gsview¸¸ ½ÇÇàµÇ¾î psÆÄÀÏÀ» È®ÀÎÇÒ ¼ö ÀÖ´Ù.
  3. PS->PDF: ps2pdf¸¦ ½ÇÇàÇÑ´Ù.
    • ÆÄÀÏ¿¡ º¯µ¿ÀÌ ÀÖ¾ú´Ù¸é, [ÃÖÁ¾ÄÄÆÄÀÏ+dvips+ps2pdf]°¡ ½ÇÇàµÈ´Ù.
    • ÃÖ±Ù¿¡ latex¸¸ ½ÇÇàµÈ °æ¿ì, [dvips+ps2pdf]¸¦ ½ÇÇàÇÑ´Ù.
    • ÃÖ±Ù¿¡ latex + dvips°¡ ½ÇÇàµÈ °æ¿ì, ´Ü¼øÈ÷ ps2pdf¸¸ ½ÇÇàµÈ´Ù.
    • pdfÆÄÀÏÀº adobe reader ¶Ç´Â gsview µîÀ¸·Î È®ÀÎÇÑ´Ù.

  4. EmEditor/MTeXHelper#s-8.1·Î µ¹¾Æ°¡±â

1.3 ´ÜÃßÀç¹è¿­

  1. ÀÚÁÖ ¹Ýº¹µÇ´Â ÀÛ¾÷À» ÇÒ ¶§¿¡´Â, µ¿¼±À» ª°ÔÇϱâ À§ÇØ, ´ÜÃßÀÇ ¼ø¼­¸¦ ¹Ù²Ù¸é Æí¸®ÇÏ´Ù.
  2. EmEditor/MTeXHelper#s-2 ¶Ç´Â KC2006/óÀ½»ç¿ëÀÚ#s-3.1ÂüÁ¶.

2 User-defined TeX Process (MTeX2)

MTeXHelper¿¡¼­ ±âº»À¸·Î ¼³Á¤µÈ compile¹æ¹ý ÀÌ¿ÜÀÇ compileÀ» ½ÇÇàÇÏ°í ½ÍÀ» ¶§´Â ..\EmEditor\Plugins¿¡ MTeX2Usr.bat¸¦ ¸¸µé¾î »ç¿ëÇÏ¸é µÈ´Ù.
button49Usr.jpg

2.1 pdflatex ÄÄÆÄÀÏ

  1. ¼³Á¤: ´ÙÀ½ ³»¿ëÀÇ ¹èÄ¡ÆÄÀÏ MTeX2Usr.batÀ» ¸¸µé¾î ..\EmEditor\Plugins¿¡ ³Ö´Â´Ù.
    pdfclose --file "%MTeX2_CFName%.pdf"
    pdflatex "%MTeX2_CFName%.tex"
    pdfopen --file "%MTeX2_CFName%.pdf"
    
  2. »ç¿ë: [49¹ø] (User-defined TeX Process) ´ÜÃ߸¦ Ŭ¸¯Çϸé ÀÛ¾÷ÁßÀÎ ÆÄÀÏÀ» pdflatex ÄÄÆÄÀÏÇÏ°í °á°úÆÄÀÏÀ» ¿­¾îÁØ´Ù.
    • ÆíÁý³»¿ëÀº ÀÚµ¿À¸·Î saveµÈ´Ù.
    • ÄÄÆÄÀÏ Àü, ¿­·ÁÀÖ´Â pdf°¡ ÀÖÀ¸¸é ÀÚµ¿À¸·Î ´Ý¾ÆÁØ´Ù.

2.2 pdflatex, xelatex ÄÄÆÄÀÏ

  1. ¸ñÀû: pdflatexÀ» setting 1(¿ÞÂÊ Å¬¸¯)¿¡, xelatexÀ» setting 2(¿À¸¥ÂÊ Å¬¸¯)¿¡ ¹èÁ¤ÇÒ ¼öµµ ÀÖ´Ù.
  2. ¼³Á¤: ¿¹¸¦ µé¾î, MTeX2Usr.batÀ» ´ÙÀ½°ú °°ÀÌ ÀÛ¼ºÇÏ¿© ..\EmEditor\Plugins¿¡ ³Ö´Â´Ù.
    @echo off
    rem ¼³Á¤ 1(¿ÞÂÊŬ¸¯) or ¼³Á¤ 2(¿À¸¥ÂÊŬ¸¯)
    if "%MTeX2_Set%"=="2" goto set2
    rem ¼³Á¤1
    :set1
    pdfclose --file "%MTeX2_CFName%.pdf"
    pdflatex "%MTeX2_CFName%.tex"
    pdfopen --file "%MTeX2_CFName%.pdf"
    goto end
    rem ¼³Á¤2
    :set2
    xelatex -no-pdf "%MTeX2_CFName%.tex"
    xelatex -no-pdf "%MTeX2_CFName%.tex"
    pdfclose --file "%MTeX2_CFName%.pdf"
    xdvipdfmx "%MTeX2_CFName%.xdv"
    pdfopen --file "%MTeX2_CFName%.pdf"
    :end
    
  3. »ç¿ë: ÀÌÁ¦, 49¹ø ´ÜÃ߸¦ ¿ÞÂÊŬ¸¯Çϸé setting 1ÀÌ ½ÇÇàµÇ°í, ¿À¸¥ÂÊ Å¬¸¯Çϸé setting 2°¡ ½ÇÇàµÈ´Ù.

2.3 pdflatex ÃÖÁ¾ÄÄÆÄÀÏ (bibtex,makeindex-dhucsÆ÷ÇÔ)

  1. ¸ñÀû: pdflatexÀ» setting 1(¿ÞÂÊ Å¬¸¯)¿¡, pdflatex ÃÖÁ¾ÄÄÆÄÀÏ(+bibtex+makeindex)¸¦ setting 2(¿À¸¥ÂÊ Å¬¸¯)¿¡ ¹èÁ¤ÇÏ°íÀÚ ÇÔ.
  2. ¼³Á¤: MTeX2Usr.batÀ» ´ÙÀ½°ú °°ÀÌ ÀÛ¼ºÇÏ¿© ..\EmEditor\Plugins¿¡ ³Ö´Â´Ù.
    @echo off
    rem ¼³Á¤ 1(¿ÞÂÊŬ¸¯) or ¼³Á¤ 2(¿À¸¥ÂÊŬ¸¯)
    if "%MTeX2_Set%"=="2" goto set2
    rem ¼³Á¤1
    :set1
    pdfclose --file "%MTeX2_CFName%.pdf"
    pdflatex "%MTeX2_CFName%.tex"
    pdfopen --file "%MTeX2_CFName%.pdf"
    goto end
    rem ¼³Á¤2
    :set2
    pdfclose --file "%MTeX2_CFName%.pdf"
    kcltxmk -pdf "%MTeX2_CFName%.tex"
    pdfopen --file "%MTeX2_CFName%.pdf"
    :end
    
    ¶Ç´Â @MTeX2Usr.bat.txt (398 Bytes) ¸¦ ´Ù¿î¹Þ¾Æ À̸§À» MTeX2Usr.bat·Î ¹Ù²Û ÈÄ ..\EmEditor\Plugins¿¡ ³Ö´Â´Ù.
  3. »ç¿ë: ÀÌÁ¦, [49¹ø ´ÜÃß]¸¦...
    • ¿ÞÂÊ(setting 1)Ŭ¸¯Çϸé pdflatexÀÌ 1ȸ ½ÇÇàµÇ°í,
    • ¿À¸¥ÂÊ(setting 2)Ŭ¸¯Çϸé bibtex°ú makeindex Çʿ伺À» °Ë»çÇÏ¿© ÇÊ¿äÇÑ °æ¿ì À̸¦ ½ÇÇàÇÑ´Ù. Áï ´ÙÀ½ ¼ø¼­·Î ½ÇÇàµÈ´Ù.
      • pdflatex -> (ÇÊ¿äÇÑ °æ¿ì) bibtex -> (ÇÊ¿äÇÑ °æ¿ì) makeindex-dhucs -> pdflatex
      • bibtexµµ makeindexµµ ÇÊ¿ä ¾øÀ¸¸é pdflaexÀ» ÇÑ ¹ø¸¸ ½ÇÇàÇÏ°í °á°ú pdf¸¦ º¸¿©ÁØ´Ù.
    • ¹°·Ð, ¾î´À °æ¿ìµç pdfÆÄÀÏÀ» ÀÚµ¿À¸·Î ´Ý¾Ò´Ù°¡ ÄÄÆÄÀÏ¿¡ ¼º°øÇÏ¸é ´Ù½Ã ¿­¾îÁØ´Ù.

3 External Tool·Î ½ÇÇàÇϱâ

EmEditorÀÇ external tool·Î ¾î¶² °ÍÀÌµç ½ÇÇàÇÒ ¼ö ÀÖ´Ù.
  • ½ÇÇà ³»¿ëÀ» batchÆÄÀÏ·Î ÀÛ¼ºÇÏ¿© µî·ÏÇÏ¸é ´Ù¾çÇÑ ÇüÅÂÀÇ ½ÇÇàÀ» ÀÚÀ¯ÀÚÀç·Î ¼öÇàÇÒ ¼ö ÀÖ´Ù.

3.1 pdflatex 1ȸ ½ÇÇà

  • External Tools·Î pdflatex½ÇÇà ´ÜÃ߸¦ ¸¸µé¾î µî·ÏÇÑ ÈÄ, Ŭ¸¯ÇÏ¿© ½ÇÇàÇÑ´Ù.

    pdflatex1.jpg


  • ´Ù¸¥ ¹æ¹ý: KCmenu¸¦ ÀÌ¿ëÇÒ ¼öµµ ÀÖ´Ù.

3.2 pdflatex -> pdfview ÀÏ°ýó¸®

  1. ¿¹¸¦ µé¸é, ´ÙÀ½ ¹èÄ¡ÆÄÀÏ(make-pdflatex.bat)À» ¸¸µé¾î path°¡ °É¸° Æú´õ(¿¹, c:\2007\TeX\HOME\bin)¿¡ µÐ´Ù.
    @echo off
    pdfclose --file %1.pdf
    pdflatex %1
    pdfopen --file %1.pdf
    
  2. ´ÙÀ½°ú °°ÀÌ External Tool¿¡ µî·ÏÇÑ´Ù. (iconÀº ÀûÀýÈ÷ Á¤ÇÑ´Ù.)
    ExTool-make-pdflatex.jpg
  3. beamer µîÀ» ÀÛ¼ºÇÒ ¶§, Æí¸®ÇÏ´Ù.

3.3 latex -> dvips -> ps2pdf -> pdfview ÀÏ°ýó¸®

  1. ¿¹µé µé¸é, ´ÙÀ½ ¹èÄ¡ÆÄÀÏ(make-dvips2pdf.bat)À» ¸¸µé¾î path°¡ °É¸° Æú´õ(¿¹, c:\2007\TeX\HOME\bin)¿¡ µÐ´Ù.
    @echo off
    pdfclose --file %1.pdf
    latex -src %1
    dvips -Ppdf -G0 %1.dvi
    call ps2pdf %1.ps %1.pdf
    pdfopen --file %1.pdf
    
  2. ´ÙÀ½°ú °°ÀÌ External Tool¿¡ µî·ÏÇÑ´Ù. (iconÀº ÀûÀýÈ÷ Á¤ÇÑ´Ù.)
    ExTool-make-dvips2pdf.jpg
  3. [dvips]¿É¼ÇÀ¸·Î beamer ¸¦ ÀÛ¼ºÇÒ ¶§¸¦ Æ÷ÇÔÇÏ¿© pstricks¸¦ ÀÌ¿ëÇÒ ¶§ Æí¸®ÇÏ´Ù.

EmEditorTip À¸·Î µ¹¾Æ°¡±â

^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2008-03-23 20:55:08
Processing time 0.0576 sec