Go to the first, previous, next, last section, table of contents.


Ending a Texinfo File

The end of a Texinfo file should include the commands that create indices and generate detailed and summary tables of contents. And it must include the @bye command that marks the last line processed by TeX.

For example:

@node    Concept Index,     , Variables Index, Top
@c        node-name,    next, previous,        up
@unnumbered Concept Index

@printindex cp

@contents
@bye

Index Menus and Printing an Index

»öÀÎÀ» ÀμâÇÏ´Â °ÍÀº ¸Å´º¾óÀ̳ª Info È­ÀÏÀÇ ÀϺηΠÆ÷ÇÔÇÏ´Â °ÍÀ» ¶æÇÑ´Ù. Texinfo È­ÀÏ¿¡¼­ @cindex³ª ±× ¿Ü »öÀÎÇ׸ñÀ» ¸¸µå´Â ¸í·ÉÀ» »ç¿ëÇß´Ù°í ÀÚµ¿À¸·Î ÀϾ´Â °ÍÀº ¾Æ´Ï´Ù: ÀÌ ¸í·ÉµéÀº ´ÜÁö »öÀÎÀÇ ÀڷḦ ÃàÀû½Ãų »ÓÀÌ´Ù. »öÀÎÀ» ¸¸µå·Á¸é, @printindex ¸í·ÉÀ» »öÀÎÀÌ ³ªÅ¸³ª°Ô ÇÏ°í ½ÍÀº À§Ä¡¿¡ ¾´´Ù. ¶Ç, ÀμâµÈ ¸Å´º¾óÀ» ¸¸µå´Â ÀÛ¾÷ÀÇ ÀϺηÎ, texindex(see section Format and Print Hardcopy)¶ó´Â ÇÁ·Î±×·¥À» ½ÇÇàÇØ¾ß ÇÑ´Ù. Á¤·ÄµÈ »öÀÎ È­ÀÏÀÌ ½ÇÁ¦·Î »öÀÎÀ» ÀμâÇÏ´Â µ¥ »ç¿ëµÈ´Ù.

Texinfo´Â ¹Ì¸® Á¤ÀÇµÈ ¿©¼¸°¡Áö ´Ù¸¥ ŸÀÔÀ» Á¦°øÇÑ´Ù: concept index, function index, variable index, keystroke index, program index, ±×¸®°í data type index ÀÌ´Ù. (see section Predefined Indices). °¢°¢ÀÇ »öÀΠŸÀÔÀº µÎ ±ÛÀÚÀÇ À̸§À» °®°í ÀÖ´Ù: `cp', `fn', `vr', `ky', `pg', ±×¸®°í `tp'ÀÌ´Ù. »öÀεéÀ» Çϳª·Î ÇÕÄ¡°Å³ª, À̰͵éÀ» ´Ù¸¥ ºÎ·ù·Î ³ÖÀ» ¼öµµ ÀÖ´Ù (see section Combining Indices): ¶Ç´Â ÀڽŸ¸ÀÇ »öÀÎÀ» Á¤ÀÇÇÒ ¼öµµ ÀÖ´Ù. (see section Defining New Indices).

@printindex ¸í·ÉÀº µÎ ±ÛÀÚÀÇ »öÀÎ À̸§À» ¹Þ°í, ÇØ´çµÇ´Â Á¤·ÄµÈ »öÀÎ È­ÀÏÀ» Àаí, ÀÌ°É ÀûÀýÈ÷ »öÀÎÀ¸·Î formatÇÑ´Ù.

@printindex ¸í·ÉÀº »öÀο¡ ´ëÇؼ­ ±× ÀåÀÇ ¸Ó¸®±ÛÀ» ¾²Áö ¾Ê´Â´Ù. ±×·¡¼­, @printindex ¸í·ÉÀ» ÀûÀýÇÑ ÀýÀ̳ª Àå ¸í·É (º¸Åë @unnumbered) ´ÙÀ½¿¡ ³õ¾Æ¼­, ¸Ó¸®±ÛÀ» ¸¸µé°í, »öÀÎÀ» ¸ñÂ÷¿¡ µé¾î°¡µµ·Ï ÇØ¾ß ÇÑ´Ù.

¿¹¸¦ µé¾î:

@node Variable Index, Concept Index, Function Index, Top
@comment    node-name,         next,       previous, up
@unnumbered Variable Index

@printindex vr

@node     Concept Index,     , Variable Index, Top
@comment      node-name, next,       previous, up
@unnumbered Concept Index

@printindex cp

@summarycontents
@contents
@bye

(Àд ÀÌ´Â º¸Åë concept index°¡ Ã¥ÀÇ ¸Ç ¸¶Áö¸·¿¡ ¿À´Â °ÍÀ» ÁÁ¾ÆÇÑ´Ù. ¿Ö³ÄÇÏ¸é °¡Àå ã±â ½±±â ¶§¹®ÀÌ´Ù.)

Generating a Table of Contents

@chapter, @section, ±×¸®°í ±× ¿Ü ±¸Á¶¿Í °ü·ÃµÈ ¸í·ÉÀº ¸ñÂ÷¸¦ ¸¸µé¾î ³»±â À§ÇÑ Á¤º¸¸¦ Á¦°øÇÑ´Ù. ÇÏÁö¸¸, ½ÇÁ¦·Î ¸ñÂ÷°¡ ¸Å´º¾ó¿¡ ³ªÅ¸³ª°Ô ÇÏÁö´Â ¾Ê´Â´Ù. ³ªÅ¸³ª°Ô ÇÏ·Á¸é, @contents¿Í @summarycontents¸¦ »ç¿ëÇØ¾ß ÇÑ´Ù:

@contents
ÀμâµÈ ¸Å´º¾ó¿¡¼­ ºÎ·ÏÀ̳ª ¹øÈ£°¡ ºÙÁö ¾ÊÀº °ÍÀº ¹°·Ð Àå, Àý, °ü, ±×¿Ü ¸ñÂ÷¸¦ ¸¸µç´Ù. (@heading ½Ã¸®ÁîÀÇ ¸í·ÉÀ¸·Î ¸¸µé¾îÁø headingÀº ¸ñÂ÷¿¡ ³ªÅ¸³ªÁö ¾Ê´Â´Ù.) @contents ¸í·ÉÀº ÇÑÁÙ¿¡ ´Üµ¶À¸·Î ¾²¿©Á®¾ß ÇÑ´Ù.
@shortcontents
@summarycontents
(@summarycontents´Â @shortcontents¿Í µ¿ÀǾî´Ù; µÎ ¸í·ÉÀº ¿ÏÀüÈ÷ µ¿ÀÏÇÏ´Ù.) Àå(±×¸®°í ºÎ·Ï°ú ¹øÈ£°¡ ºÙÁö ¾ÊÀº Àå)¸¸À» ³ª¿­ÇÏ´Â ¸ñÂ÷ÀÇ ¿ä¾àÀ» ¸¸µç´Ù. Àý, °ü, ±×¸®°í subsubsectionÀº »ý·«ÇÑ´Ù. ±ä ¸Å´º¾ó¸¸ÀÌ ¿ÏÀüÇÑ ¸ñÂ÷¿¡ Ãß°¡Çؼ­ ¸ñÂ÷ ¿ä¾àÀÌ ÇÊ¿äÇÏ´Ù. @shortcontents ¸í·ÉÀ» @contents ¸í·É ¹Ù·Î ¾Õ¿¡ ÇÑÁÙ¿¡ ´Üµ¶À¸·Î ¾´´Ù.

¸ñÂ÷ ¸í·ÉÀº ÀÚµ¿À¸·Î ¸ñÂ÷ ÆäÀÌÁöÀÇ Ã¹¹ø° Ç¥ À§¿¡ Àå°ú °°Àº ¸Ó¸®±ÛÀ» ¸¸µç´Ù. ¸ñÂ÷ ¸í·ÉÀ» Texinfo È­ÀÏÀÇ ¸Ç ³¡¿¡ @bye ¸í·É ¹Ù·Î ¾Õ¿¡, »öÀÎ µÚ¿¡ ¾´´Ù---¸ñÂ÷ ¸í·É µÚ¿¡ ¾²¿©Áø ¾î¶² °Íµµ ¸ñÂ÷¿¡¼­ »ý·«µÉ °ÍÀÌ´Ù.

¿©±â ¸ñÂ÷ ¸í·ÉÀ» ¾²´Â À§Ä¡¿¡ ´ëÇÑ ¿¹°¡ ÀÖ´Ù:

indices...
@shortcontents
@contents
@bye

Info È­ÀÏÀº ¸ñÂ÷ ´ë½Å¿¡ menu¸¦ ÀÌ¿ëÇϱ⠶§¹®¿¡, Info formatting ¸í·ÉÀº @contents¿Í @shortcontents¸¦ ¹«½ÃÇÑ´Ù.

@bye File Ending

@bye ¸í·ÉÀº TeXÀ̳ª Info formattingÀ» ÁߴܽÃŲ´Ù. formatting ¸í·ÉÀº @bye ´ÙÀ½¿¡ ³ª¿À´Â È­ÀÏÀÇ ¾î¶² °Íµµ º¸Áö ¾ÊÀ» °ÍÀÌ´Ù. @bye ¸í·ÉÀº ÇÑ ÁÙ¿¡ ´Üµ¶À¸·Î ¾²¿©Á®¾ß ÇÑ´Ù.

¿øÇÑ´Ù¸é, @bye ÁÙ ´ÙÀ½¿¡ ÁÖ¸¦ ´Þ¾Æµµ ÁÁ´Ù. ÀÌ ÁÖ´Â formatµÇÁö ¾ÊÀ» °ÍÀÌ°í, Info È­ÀÏÀ̳ª ÀμâµÈ ¸Å´º¾ó¿¡´Â ³ªÅ¸³ªÁö ¾ÊÀ» °ÍÀÌ´Ù; ¸¶Ä¡ @bye ´ÙÀ½ÀÇ ±ÛµéÀÌ @ignore ... @end ignore »çÀÌ¿¡ ÀÖ´Â °Í°ú °°´Ù. ¶Ç @bye ÁÙ ´ÙÀ½¿¡ local variable list¸¦ ¾µ ¼ö ÀÖ´Ù. ´õ ÀÚ¼¼ÇÑ Á¤º¸´Â See section Using the Local Variables List.


Go to the first, previous, next, last section, table of contents.