KTUGFaq
KTUG FAQ
Of all forms of caution, caution in love is the most fatal.
FrontPage › TeXify
Please RefactorMe
from »ç¶û¹æ
2005-06-20
TeXify ¶Ç´Â "TeXifyÇÏ´Ù"¸¦ ¾²Áö ¾Ê¾Æ¾ß ÇÏ´Â ÀÌÀ¯.
TeXify ´Â ¿ÀÁ÷ MiKTeX¿¡¼¸¸ ¾²ÀÌ´Â ¿ë¾îÀÔ´Ï´Ù. Ç¥ÁØÀûÀÎ web2c¿¡¼´Â texi2dvi(texinfo À¯Æ¿¸®Æ¼)´Â ÀÖÁö¸¸ texify ¶ó´Â ÇÁ·Î±×·¥Àº ¾ø½À´Ï´Ù. MiKTeXÀÌ texi2dvi¸¦ Æ÷ÆÃÇÏ¸é¼ TeXify¶ó°í À̸§À» ºÙ¿´´Âµ¥ ¹®Á¦´Â texify¶ó´Â Debian À¯Æ¿¸®Æ¼°¡ µû·Î ÀÖ´Ù´Â °ÍÀÌÁö¿ä. ÀÌ À¯Æ¿¸®Æ¼´Â ´Ù¸¥ Çü½ÄÀ¸·Î ÀÛ¼ºµÈ ¹®¼¸¦ LaTeXÀ¸·Î ¹ø¿ªÇØÁÖ´Â ¿ªÇÒÀ» ÇÏ´Â, MiKTeXÀÇ TeXify¿Í´Â ÀüÇô ´Ù¸¥ ¿ªÇÒÀ» ÇÏ´Â °ÍÀÔ´Ï´Ù.
TeXInfo¸¦ µû¸¦ °ÍÀÌ³Ä MiKTeXÀ» µû¸¦ °ÍÀ̳ÄÀÇ ¹®Á¦¶ó±âº¸´Ù, ¸ðµç »ç¿ëÀÚ°¡ MiKTeXÀ» »ç¿ëÇÏÁö ¾ÊÀ¸¸é ¾ÈµÈ´Ù°í ÁÖÀåÇÏ·Á´Â °ÍÀÌ ¾Æ´Ñ ÀÌ»ó "TeXifyÇÏ´Ù"¿Í °°Àº Ç¥ÇöÀ» ½á¼´Â ¾ÈµÈ´Ù°í »ý°¢ÇÕ´Ï´Ù. ÀÌ À§Å° ³»¿¡ ÀÌ Ç¥ÇöÀÌ ³Ê¹«³ª ¸¹ÀÌ »êÀçÇØ Àִµ¥, ½Ã°£³ª´Â´ë·Î °íÄ¡°Ú½À´Ï´Ù.
Àúµµ ÇѸ¶µð: 2001³â¿¡ ¾´ Á¦ ±Û¿¡ WinEdt 4.0°ú WinEdt 5.0ÀÇ Â÷ÀÌÁ¡À» ¼³¸íÇÏ¸é¼ "WinEdt 4.0¿¡´Â TeXify ´ÜÃß°¡ ¾ø´Âµ¥ WinEdt 5.0¿¡´Â TeXify ´ÜÃß°¡ ÀÖ´Ù"°í ÇÏ¿´³×¿ä. MiKTeXµµ ±× ´ç½Ã 1.20¿¡¼ 2.0À¸·Î ¾÷±×·¹À̵åµÈ °Í °°½À´Ï´Ù. ±×·¯¸é¼ ±× ¶§ TeXify¶ó´Â ±â´ÉÀ» ¸¸µé¾î ³ÖÀº °Í ¾Æ´Ò°¡¿ä?
µµ½º¸¦ Àß ¾µ ÁÙ ¸ð¸£´Â Àú¿¡°Ô´Â ÀÌ°ÍÀº ¸¸´É Tool¿¡ °¡±î¿ü½À´Ï´Ù. Debian À¯Æ¿¸®Æ¼ÀÎ texify´Â ÀÌ¹Ì ±× ÀüºÎÅÍ ÀÖ¾úÀ» °ÍÀ̶ó »ý°¢ÇÕ´Ï´Ù. ¾ÆÁ÷µµ ¸¹Àº »ç¶÷µéÀº Debian À¯Æ¿¸®Æ¼ÀÎ texify°¡ ÀÖ´Â ÁÙµµ ¸ð¸£°í ÀÖÀ» °ÍÀÔ´Ï´Ù.-Yhchoe
LaTeXÀÇ TeXÀÔ·ÂÆÄÀϷκÎÅÍ ÃÖÁ¾ °á°ú¹°À» ¾ò±â À§Çؼ´Â ¸î ¹ø¿¡ °ÉÄ£ ÄÄÆÄÀÏÀ» ÇØ¾ß ÇÑ´Ù. ÀϹÝÀûÀ¸·Î Â÷·Ê¿Í ã¾Æº¸±â, ±×¸®°í Âü°í¹®ÇåÀÌ ºÙ´Â .tex ÆÄÀÏÀ» ó¸®ÇÏ·Á¸é ´ÙÀ½ °úÁ¤À» °ÅÄ£´Ù.
#> latex foo % ÀÌ °úÁ¤¿¡¼ ¸ñÂ÷, »óÈ£ÂüÁ¶, index µîÀ» Àӽà ÆÄÀÏ·Î ¾´´Ù. #> latex foo % ¸ñÂ÷°¡ µé¾î°¡¸é ÆäÀÌÁö°¡ ¹Ù²î±â ¶§¹®¿¡ Çѹø ´õ latexÀ» ½ÇÇàÇØÁØ´Ù. #> makeindex foo % ã¾Æº¸±â¸¦ ¸¸µç´Ù. #> bibtex foo % Âü°í¹®ÇåÀ» ¸¸µç´Ù. #> latex foo % Áö±Ý±îÁö ¸¸µé¾îÁø Àӽà ÆÄÀϵéÀ» ºÒ·¯¿À¸é¼ ÃÖÁ¾ÀûÀ¸·Î dvi¸¦ ¸¸µç´Ù.
ÀÌ °úÁ¤À» ÇÑ ¹øÀÇ ¸í·ÉÀ¸·Î ¸ðµÎ ó¸®ÇØÁÖ´Â °ÍÀÌ texi2dvi¶ó´Â À¯Æ¿¸®Æ¼ÀÌ´Ù. texi2dvi¸¦ MiKTeX¿¡¼´Â(¿ÀÁ÷ MiKTeX¿¡¼¸¸) TeXify¶ó´Â µ¶Æ¯ÇÑ À̸§À¸·Î ºÎ¸£°í ÀÖ´Ù. ´Ù¸¥ ½Ã½ºÅÛ¿¡¼ texify¶ó°í Çϸé texi2dvi¿Í´Â ´Ù¸¥ º°µµÀÇ ÇÁ·Î±×·¥À» °¡¸®Å°´Â ¸íĪÀÌ´Ù. ¿¹ÄÁ´ë Debian ¹èÆ÷º»¿¡ µé¾îÀÖ´Â texify´Â TeXÀÔ·ÂÆÄÀÏÀ» ÄÄÆÄÀÏÇÏ´Â °Í°ú´Â ¾Æ¹«·± »ó°üÀÌ ¾ø´Â À¯Æ¿¸®Æ¼ÀÌ´Ù. fpTeXÀ̳ª W32TeX°ú °°Àº web2c ±â¹ÝÀÇ ´Ù¸¥ TeXImplementationÀÇ °æ¿ì¿¡µµ TeXify°¡ ¾Æ´Ï¶ó texi2dvi¶ó´Â À¯Æ¿¸®Æ¼¸¦ Æ÷ÇÔÇÏ°í ÀÖ´Ù. ´Ù¸¥ ½Ã½ºÅÛ°úÀÇ È¥µ¿À» ÇÇÇÏ·Á¸é TeXify¶ó´Â Ç¥ÇöÀ» ÀÏ¹Ý ¹®¼¿¡¼´Â ¾²Áö ¾Ê´Â °ÍÀÌ ÁÁÀ» °Í °°´Ù. ±×·¯³ª ÀÌ ÆäÀÌÁö¿¡¼´Â MiKTeX TeXify¿¡ ´ëÇÑ »çÇ×À» TeXify¶ó°í ÁöĪÇÏ°Ú´Ù.
texi2dvi¸¦ ½ÇÇàÇÒ ¶§´Â ÆÄÀÏÀ̸§À» ¸ðµÎ Àû¾îÁØ´Ù. texi2dvi´Â LaTeX ÀÔ·ÂÆÄÀÏ(.tex)»Ó ¾Æ´Ï¶ó TeXInfo ÀÔ·ÂÆÄÀÏ(.texi)µµ ó¸®ÇÒ ¼ö Àֱ⠶§¹®¿¡ ÆÄÀÏÀÇ È®Àå¸íÀ¸·Î ¾î¶² ÇÁ·Î±×·¥À» ºÒ·¯¿ÃÁö °áÁ¤ÇÏ´Â °ÍÀÌ´Ù.
#> texi2dvi foo.tex
PDFLaTeXÀ» ½ÇÇàÇÏ·Á ÇÑ´Ù¸é -p ¿É¼ÇÀ» ¾´´Ù.
#> texi2dvi -p foo.tex
[ÆíÁý]
¿É¼Ç ¶
- -@
Use @input (instead of \input); for preloaded Texinfo.
- --batch, -b
No interaction.
- --clean, -c
Remove all auxiliary files.
- --expand, -e
Force macro expansion using makeinfo.
- -I dir
Search dir input files.
- --help, -h
Display help and exit successfully.
- --language=lang, -l lang
Specify the language of input files: either latex or texinfo.
- --max-iterations=n
Limits the number of iterations to prevent endless processing. The default for n is 5.
- --mkidx-option=option
Pass option to the index generator.
- --pdf, -p
Use pdftex (or pdflatex) for processing.
- --quiet, -q, --silent, -s
No screen output unless errors (implies --batch).
- --run-viewer
Run a viewer on the resulting DVI (PDF) file.
- --texinfo=cmd, -t=cmd
Insert cmd after @setfilename in copy of input file. Multiple values accumulate.
- --tex-option=option
Pass option to the compiler.
- --verbose, -V
Print information on what is being done.
- --version, -v
Display version information and exit successfully.
- --viewer-option=option
Pass option to the viewer.
[ÆíÁý]
TeX ÆíÁý±â¿Í TeXify ¶
¾Æ·¡´Â MiKTeXÀÌ ¾Æ´Ï¶ó¸é texi2dvi¸¦ ºÎ¸£µµ·Ï ¼³Á¤ÇÏ¸é µÈ´Ù.
- WinEdt
- UltraEdit¿¡¼ TeXify ¼³Á¤
- 고급-도구설정 âÀ» ¿°í ¸í·É ÁÙ¿¡ ´ÙÀ½°ú °°ÀÌ ÀÔ·ÂÇÑ´Ù.
texify "%f"
- ÀÛ¾÷ µð·ºÅ丮´Â %P·Î ÇÏ°í, ¸Þ´º ¾ÆÀÌÅÛ À̸§À» TeXify·Î ÇÑ´Ù.
- ÇöÀç ÆÄÀÏ ÀúÀåÀ» ¼±ÅÃ, "°á°ú¸¦ ¸ñ·Ï »óÀÚ·Î" "DOSâ º¸À̱â"¸¦ ¼±ÅÃ(üũ)ÇÑ´Ù.
- µµ±¸ ¸ñ·Ï¿¡¼ ÀÌ ¸í·ÉÀ» Á¦ÀÏ À§·Î °¡Á®¿Â´Ù.
- ÆíÁý ÁßÀÌ´ø ÆÄÀÏ¿¡ ´ëÇÏ¿© Shift-Ctrl-0À» ´©¸£¸é TeXify°¡ ½ÇÇàµÈ´Ù.
- 고급-도구설정 âÀ» ¿°í ¸í·É ÁÙ¿¡ ´ÙÀ½°ú °°ÀÌ ÀÔ·ÂÇÑ´Ù.
- NTEmacs-KTUG¿¡¼ TeXify ¼³Á¤
- C:\Program Files\ktug\Emacs-21.2\site-lisp Æú´õ¿¡ ÀÖ´Â tex-site.elÀ» ¿¬´Ù. ÀÌ ÆÄÀÏÀÇ
(defvar TeX-command-list
ºÎºÐÀ» ã¾Æ¼ ´ÙÀ½°ú °°Àº ³»¿ëÀ» Ãß°¡ÇÑ´Ù.(list "TeXify" "texify %t" 'TeX-run-command nil t)
- $HOME/_emacs ÆÄÀÏÀ» ã¾Æ¼ control-FunctionKey °ü·Ã ¼³Á¤¿¡ ´ÙÀ½ ÇÑ ÁÙÀ» Ãß°¡ÇÑ´Ù.
(global-set-key [(control f11)] 'do-TeXify) ; TeXify the current file
- °°Àº ÆÄÀÏ¿¡¼ do-TeXify () ÇÔ¼ö¸¦ Á¤ÀÇÇÑ´Ù.
(defun do-TeXify () "TeXify the current file." (interactive) (TeX-command "TeXify" 'TeX-master-file))
ÀÌÁ¦ TeXify´Â Ctrl-F11 Å°¿¡ ÇÒ´çµÇ¾ú´Ù.
- C:\Program Files\ktug\Emacs-21.2\site-lisp Æú´õ¿¡ ÀÖ´Â tex-site.elÀ» ¿¬´Ù. ÀÌ ÆÄÀÏÀÇ