KTUGFaq
KTUG FAQ
Your temporary financial embarassment will be relieved in a surprising manner.
FrontPage › MakeIndex
MakeIndex ã¾Æº¸±â(»öÀÎ) ¸¸µé±â
[ÆíÁý]
1 ã¾Æº¸±â(»öÀÎ) ¸¸µé±â °³¿ä ¶
ã¾Æº¸±â¸¦ ¸¸µé·Á¸é makeidx ÆÐÅ°Áö¿Í
makeindex ÇÁ·Î±×·¥À» »ç¿ëÇÑ´Ù. Çѱ¹¾î ¹®¼ÀÇ
°æ¿ì¿¡´Â makeindex ´ë½Å¿¡
Çѱ¹¾î ÅØ ko.TeX¿¡¼ Á¦°øµÇ´Â komkindex¸¦
»ç¿ëÇÑ´Ù.
[ÆíÁý]
1.1 LaTeX ¹®¼ ÀÛ¼º ¶
- preamble¿¡¼ makeidx ÆÐÅ°Áö¸¦ ·ÎµåÇÏ°í \makeindex ¸í·ÉÀ» ÁØ´Ù.
- º»¹®¿¡¼ »öÀξ ³ªÅ¸³ª´Â ÀÚ¸®¿¡ \index ¸í·ÉÀ» ÀÌ¿ëÇؼ »öÀο¡ Æ÷ÇԵǾî¾ß ÇÒ ´Ü¾î¸¦ ÁöÁ¤ÇÑ´Ù.
- ã¾Æº¸±â(»öÀÎ)ÀÇ ³»¿ëÀÌ Ãâ·ÂµÉ ÀÚ¸®¿¡ \printindex ¸í·ÉÀ» ÁØ´Ù.
% <preamble> \usepackage{makeidx} \makeindex % <document> ´ÙÀ½°ú °°ÀÌ \index{¸í·É}¸í·É¾î¸¦ ÁöÁ¤Çϸé .... \printindex
[ÆíÁý]
1.2 »öÀÎ ÆÄÀÏ ¸¸µé±â ¶
»öÀÎÀ» ¸¸µé·Á¸é LaTeX ÄÄÆÄÀÏ ½Ã¿¡ `makeindex ¸í·ÉÀ» ¸í·ÉÇà¿¡¼ ÇÑ ¹ø ½ÇÇàÇÑ ´ÙÀ½ latexÀ» ´Ù½Ã ½ÇÇàÇÏ¿©¾ß ÇÑ´Ù. Áï,
#> latex foo #> makeindex foo #> latex foo¼øÀ¸·Î ÄÄÆÄÀÏÇÏ¿©¾ß ÇÑ´Ù. À§ÀÇ ¿¹¿¡¼´Â index{¸í·É}¿¡ ÀÇÇØ ¸í·ÉÀ̶ó´Â ´Ü¾î°¡ »öÀο¡ Ãß°¡µÈ´Ù. ¸í·É¾î \printindex ´Â Ãâ·Â ÆÄÀÏ(dvi, pdf µî)¿¡¼ »öÀÎÀÌ ³ªÅ¸³ª±â¸¦ ¿øÇÏ´Â °÷¿¡ µÐ´Ù. º¸Åë \end{document} ¹Ù·Î ¾Õ¿¡ µÐ´Ù.
[ÆíÁý]
1.3 Çѱ¹¾î ¹®¼ÀÇ °æ¿ì ¶
Çѱ¹¾î ÅØ ko.TeXÀ» »ç¿ëÇÏ¿© ÇѱÛÀÌ Æ÷ÇÔµÈ ¹®¼¸¦ ÀÛ¼ºÇÏ¿´À» °æ¿ì¿¡´Â º°µµ·Î Á¦°øµÇ´Â »öÀÎ »ý¼º ½ºÅ©¸³Æ®¸¦ ÀÌ¿ëÇÑ´Ù.
1. ko.TeX/uft ¹®¼ÀÇ Ã³¸® ¿¹ (¿É¼ÇÀº ÇÊ¿ä¿¡ µû¶ó):
#> latex foo #> komkindex -s kotex foo #> latex foo
2. ko.TeX/euc ¹®¼ÀÇ Ã³¸® ¿¹ (¿É¼ÇÀº ÇÊ¿ä¿¡ µû¶ó):
#> latex foo #> komkindex -euc -s hind foo #> latex foo¶Ç´Â
#> latex foo #> hmakeindex -s hind foo #> latex foo
ÀÛ¾÷ °úÁ¤À» ÀÚµ¿ÈÇϱâ À§ÇÏ¿© texi2dvi¸¦ »ç¿ëÇÏ´Â °æ¿ì[1] ÁÖÀÇÇØ¾ß ÇÒ Á¡Àº ÀÌ ÀÚµ¿ÈÀÇ °á°ú°¡ ¹Ù¶÷Á÷ÇÏÁö ¾ÊÀº °æ¿ìµµ ÀÖ´Ù´Â °ÍÀÌ´Ù. Ưº°ÇÑ index style(.ist¶ó´Â È®Àå¸íÀ» °¡Áü)À» ÁöÁ¤Çϵµ·Ï ¿ä±¸ÇÏ´Â Àú³Îµµ ÀÖ´Ù. (15128ÂüÁ¶)
¾Æ·¡ ³»¿ëÀº ko.TeXÀÌ ³ª¿À±â ÀÌÀüÀÇ ÆÐÅ°ÁöµéÀ» »ç¿ëÇÏ´Â °æ¿ì¿¡ ÇØ´çÇÔ.
- HLaTeX¿¡¼ ½ÇÇà ÇÁ·Î±×·¥Àº hmakeindexÀÌ°í ÇÑ±Û Àڸ𺰠ºÐ·ù¸¦ ¸¸µé±â À§Çؼ hind.ist¸¦ ÁöÁ¤ÇØÁÖ¾î¾ß ÇÑ´Ù. ±×³É makeindex¸¦ ½ºÅ¸ÀÏ ÁöÁ¤¾øÀÌ ½ÇÇàÇÏ´Â °Í(TeXifyÇϸé ÀÌ·¸°Ô µÈ´Ù)ÀÌ °¡Á®¿À´Â ÇÑ±Û ºÐ·ùÀÇ ¿À·ù¸¦ ¼öÁ¤ÇÏ·Á¸é hmakeindex¸¦ ½ÇÇàÇÏ´Â °ÍÀÌ ÁÁ´Ù.
# hmakeindex -s hind.ist foo
- Hangul-ucs¿¡¼´Â ½ÇÇà ÇÁ·Î±×·¥ ¸íĪÀÌ makeindex-dhucsÀÌ´Ù. ±×³É makeindex¸¸À» ½ÇÇàÇؼ´Â ¿øÄ¡ ¾Ê´Â °á°ú¸¦ ¾ò´Â´Ù. ¶ÇÇÑ HLaTeX ÀÇ hind¿¡ ÇØ´çÇÏ´Â ist ¸íĪÀÌ dhucs.istÀÌ´Ù.
# makeindex-dhucs -s dhucs foo
[ÆíÁý]
2.1 \index ¸í·É¾î »ç¿ë¹ý ¶
\index ¸í·ÉÀº º»¹® Áß¿¡ »öÀξ °¡¸®Å°´Â ³»¿ëÀÌ
³ª¿À´Â °÷¿¡¼ »ç¿ëÇÑ´Ù. °¡Àå ´Ü¼øÇÏ°Ô´Â ´ÙÀ½°ú °°ÀÌ
»öÀξ ¸í½ÃÇØ ÁÖ¸é ã¾Æº¸±â(»öÀÎ) ¸ñ·Ï¿¡ ÇØ´ç
»öÀξî¿Í ÆäÀÌÁö°¡ ³ªÅ¸³´Ù.
- \index{µ¿¹°}
- \index{½Ä¹°}
- \index{Áü½Â|see{µ¿¹°}}
- \index{°¨ÀÚ|seealso{°í±¸¸¶}}
- \index{Æ÷À¯·ù|textbf} : ÇØ´ç ÆäÀÌÁö°¡ ±½Àº ±Û²Ã·Î ³ªÅ¸³²
- \index{µ¿¹°!Æ÷À¯·ù!°í¾çÀÌ}
- \index{¿µÀå¸ñ@\textbf{¿µÀå¸ñ}}
ÀÌ°ÍÀº ¿µ¹®ÀÚ·Î µÈ ´Ü¾î¸¦ Çѱ¹¾î ¹ßÀ½¿¡ ¸ÂÃß¾î
Á¤·ÄÇÏ·Á°í ÇÒ ¶§µµ ÀÌ¿ëÇÒ ¼ö ÀÖ´Ù. ¿¹¸¦ µé¾î,
´ÙÀ½°ú °°ÀÌ Çϸé,
ÄÚµå ÀÔ·Â ¿¹: macros/latex/contrib/beamer/doc/beameruserguide.tex¿¡¼ °¡Á® ¿ÔÀ½ <- ÀÌ ÆÄÀÏÀ» Çѹø ÄÄÆÄÀÏÇÏ¿© º¸·Á¸é 17090¸¦ ÂüÁ¶
\index{Themes|see{Presentation themes}} \index{Templates|see{Beamer templates}} \index{Colors|see{Beamer colors}} \index{Fonts|see{Beamer fonts}} \index{Beamer elements|see{Beamer templates, colors, and fonts}} \index{Elements|see{Beamer templates, colors, and fonts}} \index{Template inserts|see{Inserts}}
[ÆíÁý]
2.2 Çѱ¹¾î ¹®¼ÀÇ °æ¿ì ¶
Çѱ¹¾î ¹®¼¸¦ ÀÛ¼ºÇÏ¸é¼ index¿¡ see ¶Ç´Â seealso¸¦
»ç¿ëÇÏ´Â °æ¿ì ±× ÇüŸ¦ ¹Ù²Ù°í ½ÍÀ¸¸é ÇÁ¸®¾Úºí¿¡
\see¿Í \seealso¸¦ ÀçÁ¤ÀÇÇØ ÁÖ¸é µÈ´Ù.
¿¹¸¦ µé¾î ´ÙÀ½°ú °°Àº ½ÄÀ¸·Î Á¤ÇØÁÖ¸é µÈ´Ù.
\usepackage[normalem]{ulem} \renewcommand\see[2]{% \textsf{\footnotesize\uline{#1}\¸¦ ÂüÁ¶}, \hyperpage{#2}% } \renewcommand\seealso[2]{% \textsf{\footnotesize\uline{#1}µµ ÇÔ²² ÂüÁ¶}, \hyperpage{#2}% }
ÂüÁ¶: 22791
[ÆíÁý]
3 makeindex ¶Ç´Â komkindex ÇÁ·Î±×·¥ ¶
makeindex´Â »öÀÎ Ç׸ñÀ» Á¤·ÄÇÏ°í Ãâ·ÂµÉ ÇüŸ¦
¸¸µé¾îÁÖ´Â ÇÁ·Î±×·¥ÀÌ´Ù. Çѱ¹¾î ¹®¼ÀÇ °æ¿ì¿¡´Â
komkindex¸¦ »ç¿ëÇÑ´Ù.
[ÆíÁý]
4 texindy ÇÁ·Î±×·¥ ¶
¿µ¾î ÀÌ¿ÜÀÇ ¾ð¾î¿¡¼ makeindex ´ë½Å ¾µ ¼ö ÀÖ´Â »öÀÎ ÀÛ¼º À¯Æ¿¸®Æ¼ÀÌ´Ù. TeX Live 2009¿¡ Æ÷ÇԵǾî ÀÖ´Ù. http://xindy.sourceforge.net/ ÂüÁ¶.
#> texindy -L french foo.idx #> texindy -L german-din foo.idx #> texindy -L german-duden foo.idx
[ÆíÁý]
6.1 multind ÆÐÅ°Áö ¶
¿¹ÄÁ´ë ÀúÀÚ¸í »öÀΰú »çÇ× µî µÑ ÀÌ»óÀÇ »öÀÎ(ã¾Æº¸±â)À» ¸¸µé ¶§ »ç¿ëÇÑ´Ù. \index{IndexCategory}{IndexKey}¿Í °°ÀÌ º»¹®¿¡¼ ÁöÁ¤ÇØ¾ß Çϸç, makeindex¸¦ °¢°¢ÀÇ Index Category¿¡ ´ëÇÏ¿© ½ÇÇàÇØ¾ß ÇÑ´Ù.
from http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multind
\usepackage{multind} \makeindex{general} \makeindex{authors} ... \index{authors}{Robin Fairbairns} ... \index{general}{FAQs} ... \printindex{general}{General index} \printindex{authors}{Author index}
#> makeindex general #> makeindex authors