KTUGFaq

KTUG FAQ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
Put not your trust in money, but put your money in trust.
FrontPage › MakeIndex
MakeIndex ã¾Æº¸±â(»öÀÎ) ¸¸µé±â

¸ñÂ÷

1 ã¾Æº¸±â(»öÀÎ) ¸¸µé±â °³¿ä
1.1 LaTeX ¹®¼­ ÀÛ¼º
1.2 »öÀÎ ÆÄÀÏ ¸¸µé±â
1.3 Çѱ¹¾î ¹®¼­ÀÇ °æ¿ì
2 makeidx ÆÐÅ°Áö
2.1 \index ¸í·É¾î »ç¿ë¹ý
2.2 Çѱ¹¾î ¹®¼­ÀÇ °æ¿ì
3 makeindex ¶Ç´Â komkindex ÇÁ·Î±×·¥
4 texindy ÇÁ·Î±×·¥
5 theindex ȯ°æ
6 È°¿ë ÆÁ
6.1 multind ÆÐÅ°Áö
6.2 index ÆÐÅ°Áö
6.3 makeindexÀÇ ÇѱÛÈ­. Á¤·Ä¹®Á¦.
6.4 °­Á¶»öÀΰú ÇÏÀÌÆÛ¸µÅ©
7 Glossary(¿ë¾îÁý)¿Í Index

1 ã¾Æº¸±â(»öÀÎ) ¸¸µé±â °³¿ä

ã¾Æº¸±â¸¦ ¸¸µé·Á¸é makeidx ÆÐÅ°Áö¿Í makeindex ÇÁ·Î±×·¥À» »ç¿ëÇÑ´Ù. Çѱ¹¾î ¹®¼­ÀÇ °æ¿ì¿¡´Â makeindex ´ë½Å¿¡ Çѱ¹¾î ÅØ ko.TeX¿¡¼­ Á¦°øµÇ´Â komkindex¸¦ »ç¿ëÇÑ´Ù.

1.1 LaTeX ¹®¼­ ÀÛ¼º

  1. preamble¿¡¼­ makeidx ÆÐÅ°Áö¸¦ ·ÎµåÇÏ°í \makeindex ¸í·ÉÀ» ÁØ´Ù.
  2. º»¹®¿¡¼­ »öÀξ ³ªÅ¸³ª´Â ÀÚ¸®¿¡ \index ¸í·ÉÀ» ÀÌ¿ëÇؼ­ »öÀο¡ Æ÷ÇԵǾî¾ß ÇÒ ´Ü¾î¸¦ ÁöÁ¤ÇÑ´Ù.
  3. ã¾Æº¸±â(»öÀÎ)ÀÇ ³»¿ëÀÌ Ãâ·ÂµÉ ÀÚ¸®¿¡ \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¶ó´Â È®Àå¸íÀ» °¡Áü)À» ÁöÁ¤Çϵµ·Ï ¿ä±¸ÇÏ´Â Àú³Îµµ ÀÖ´Ù. (KTUGOperate:15128ÂüÁ¶)

/!\ ¾Æ·¡ ³»¿ëÀº ko.TeXÀÌ ³ª¿À±â ÀÌÀüÀÇ ÆÐÅ°ÁöµéÀ» »ç¿ëÇÏ´Â °æ¿ì¿¡ ÇØ´çÇÔ.

  1. HLaTeX¿¡¼­ ½ÇÇà ÇÁ·Î±×·¥Àº hmakeindexÀÌ°í ÇÑ±Û Àڸ𺰠ºÐ·ù¸¦ ¸¸µé±â À§Çؼ­ hind.ist¸¦ ÁöÁ¤ÇØÁÖ¾î¾ß ÇÑ´Ù. ±×³É makeindex¸¦ ½ºÅ¸ÀÏ ÁöÁ¤¾øÀÌ ½ÇÇàÇÏ´Â °Í(TeXifyÇϸé ÀÌ·¸°Ô µÈ´Ù)ÀÌ °¡Á®¿À´Â ÇÑ±Û ºÐ·ùÀÇ ¿À·ù¸¦ ¼öÁ¤ÇÏ·Á¸é hmakeindex¸¦ ½ÇÇàÇÏ´Â °ÍÀÌ ÁÁ´Ù.
    # hmakeindex -s hind.ist foo
    
  2. Hangul-ucs¿¡¼­´Â ½ÇÇà ÇÁ·Î±×·¥ ¸íĪÀÌ makeindex-dhucsÀÌ´Ù. ±×³É makeindex¸¸À» ½ÇÇàÇؼ­´Â ¿øÄ¡ ¾Ê´Â °á°ú¸¦ ¾ò´Â´Ù. ¶ÇÇÑ HLaTeX ÀÇ hind¿¡ ÇØ´çÇÏ´Â ist ¸íĪÀÌ dhucs.istÀÌ´Ù.
    # makeindex-dhucs -s dhucs foo
    


¿øÄ¢ÀûÀ¸·Î ÇÑ±Û TeX ȯ°æ¿¡¼­´Â makeindex¸¦ ½ÇÇàÇÏÁö ¾Ê´Â´Ù. ±×·¯¹Ç·Î texi2dvi ¶Ç´Â TeXify¸¦ ½ÇÇàÇÏ´Â °ÍÀº ±×´ÙÁö ¹Ù¶÷Á÷ÇÏÁö ¾Ê´Ù (Àû¾îµµ ÇÑ±Û TeX ȯ°æ¿¡¼­´Â). Àû¾îµµ °íÇ°À§ ¹®¼­¸¦ ¸¸µé Àǻ簡 ÀÖ´Ù¸é ÇÑ±Û ÀÛ¾÷ÀÇ °æ¿ì TeXify ´ÜÃ߸¦ ´©¸£Áö ¾Ê´Â °ÍÀÌ ÁÁ´Ù.

----

2 makeidx ÆÐÅ°Áö

2.1 \index ¸í·É¾î »ç¿ë¹ý

\index ¸í·ÉÀº º»¹® Áß¿¡ »öÀξ °¡¸®Å°´Â ³»¿ëÀÌ ³ª¿À´Â °÷¿¡¼­ »ç¿ëÇÑ´Ù. °¡Àå ´Ü¼øÇÏ°Ô´Â ´ÙÀ½°ú °°ÀÌ »öÀξ ¸í½ÃÇØ ÁÖ¸é ã¾Æº¸±â(»öÀÎ) ¸ñ·Ï¿¡ ÇØ´ç »öÀξî¿Í ÆäÀÌÁö°¡ ³ªÅ¸³­´Ù.

  • \index{µ¿¹°}
  • \index{½Ä¹°}

¾î¶² »öÀξ ´ëÇؼ­ ´Ù¸¥ »öÀξ ÂüÁ¶Çϵµ·Ï ÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌ see¿Í seealso¸¦ »ç¿ëÇÏ¸é µÈ´Ù.

  • \index{Áü½Â|see{µ¿¹°}}
  • \index{°¨ÀÚ|seealso{°í±¸¸¶}}

ÀÌ ÆÄÀÌÇÁ(|) Ç¥ÇöÀº ¿©·¯°¡Áö ¿ëµµ·Î »ç¿ëµÉ ¼ö ÀÖ´Ù.

  • \index{Æ÷À¯·ù|textbf} : ÇØ´ç ÆäÀÌÁö°¡ ±½Àº ±Û²Ã·Î ³ªÅ¸³²

»öÀÎ¾î ¸ñ·ÏÀ» °èÃþÀûÀ¸·Î ³ªÅ¸³»·Á°í ÇÒ ¶§´Â ´ÙÀ½°ú °°ÀÌ ´À³¦Ç¥(!)¸¦ ÀÌ¿ëÇÒ ¼ö ÀÖ´Ù.

  • \index{µ¿¹°!Æ÷À¯·ù!°í¾çÀÌ}


»öÀξ ã¾Æº¸±â(»öÀÎ) ¸ñ·Ï¿¡ ½ÇÁ¦·Î ³ªÅ¸³ª´Â ÇüŸ¦ ¹Ù²Ù±â À§Çؼ­ °ñ¹ðÀÌ(@) ±âÈ£¸¦ ÀÌ¿ëÇÒ ¼ö ÀÖ´Ù. ¿¹¸¦ µé¾î, ƯÁ¤ ´Ü¾îµéÀ» ±½Àº ±Û²Ã·Î Ãâ·ÂÇÏ·Á°í ÇÒ ¶§ ´ÙÀ½°ú °°ÀÌ ¾µ ¼ö ÀÖ´Ù.

  • \index{¿µÀå¸ñ@\textbf{¿µÀå¸ñ}}

¸¸¾à ´Ü¼øÈ÷ \index{\textbf{¿µÀå¸ñ}}À̶ó°í ÇØÁÖ¸é ¿øÇÏ´Â ±½Àº ±Û²ÃÀÌ ³ªÅ¸³ª±â´Â ÇÏÁö¸¸ Á¤·ÄÇÒ ¶§ \textbf... ÀÌ ±âÁØÀÌ µÇ¹Ç·Î ¾û¶×ÇÑ °÷¿¡ ³ªÅ¸³ª°Ô µÈ´Ù. ÀÌ ¹®Á¦ ¶§¹®¿¡ °ñ¹ðÀÌ(@) ±âÈ£¸¦ »ç¿ëÇÏ¿© ¾Õ¿¡´Â Á¤·Ä¿¡ »ç¿ëµÉ ¹®ÀÚ¿­À» ¾²°í µÚ¿¡´Â ½ÇÁ¦·Î ¸ñ·Ï¿¡ Ãâ·ÂµÉ ÇüŸ¦ ¾²´Â °ÍÀÌ´Ù.

ÀÌ°ÍÀº ¿µ¹®ÀÚ·Î µÈ ´Ü¾î¸¦ Çѱ¹¾î ¹ßÀ½¿¡ ¸ÂÃß¾î Á¤·ÄÇÏ·Á°í ÇÒ ¶§µµ ÀÌ¿ëÇÒ ¼ö ÀÖ´Ù. ¿¹¸¦ µé¾î, ´ÙÀ½°ú °°ÀÌ Çϸé,

ã¾Æº¸±â(»öÀÎ) ¸ñ·Ï¿¡ \LaTeXÀÌ Ãâ·ÂµÇ¸é¼­ Á¤·ÄÇÒ ¶§´Â "¶óÅØ"À¸·Î 󸮵ȴÙ.




ÄÚµå ÀÔ·Â ¿¹: CTAN:macros/latex/contrib/beamer/doc/beameruserguide.tex¿¡¼­ °¡Á® ¿ÔÀ½ <- ÀÌ ÆÄÀÏÀ» Çѹø ÄÄÆÄÀÏÇÏ¿© º¸·Á¸é KTUGOperate: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}%
}

ÂüÁ¶: KTUGOperate: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

5 theindex ȯ°æ


6 È°¿ë ÆÁ

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

6.2 index ÆÐÅ°Áö


6.3 makeindexÀÇ ÇѱÛÈ­. Á¤·Ä¹®Á¦.


6.4 °­Á¶»öÀΰú ÇÏÀÌÆÛ¸µÅ©

KTUGOperate:11713 Q. °­Á¶ »öÀÎÀ» À§ÇÏ¿© \newcommand\termdef[1]{\index{#1|textbf}#1}°ú °°Àº ¸í·ÉÀ» Á¤ÀÇÇß½À´Ï´Ù. ±×·±µ¥ termdef·Î ¸¸µç »öÀÎÀº ÇÏÀÌÆÛ¸µÅ©°¡ µÇÁö ¾Ê½À´Ï´Ù.
A.
\newcommand*\MyIdxBf[1]{%
	\textbf{\hyperpage{#1}}%
}
\newcommand\termdef[1]{%
	\index{#1|MyIdxBf}#1%
}


7 Glossary(¿ë¾îÁý)¿Í Index


^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2009-12-07 17:27:52
Processing time 0.0544 sec