menu¿¡´Â ¹Ø¿¡ ÀÖ´Â nodeµéÀÇ pointer°¡ µé¾î ÀÖ´Ù.(6) Info¿¡¼, ÀÌ·¯ÇÑ node·Î °¡´Âµ¥ menu¸¦ »ç¿ëÇÑ´Ù. menu´Â ÀμâµÈ ¸Å´º¾ó¿¡´Â ¾Æ¹« ¿µÇâµµ ¾ø°í, ³ªÅ¸³ªÁöµµ ¾Ê´Â´Ù.
º¸Åë, menu¸¦ ¾²´Â µ¶ÀÚ´Â menu µÚÀÇ ±ÛÀ» ÀÐÁö ¾Ê±â ¶§¹®¿¡ menu´Â nodeÀÇ ³¡¿¡ ¿Â´Ù.
menu°¡ ÀÖ´Â node´Â ¸¹Àº ±ÛÀÌ µé¾î ÀÖÀ¸¸é ¾ÈµÈ´Ù. ¸¸¾à ¸¹Àº ±Û°ú ¸Þ´º°¡ ÀÖÀ¸¸é, ±ÛÀÇ »ó´çºÎºÐ---¸îÁÙ¸¸ ³²°Ü³õ°í---À» »õ·Î¿î subnode·Î ¿Å±ä´Ù. ±×·¸Áö ¾ÊÀ¸¸é, ¸îÁÙ¹Û¿¡ Ç¥½ÃÇÏÁö ¸øÇÏ´Â Å͹̳ο¡¼ Àд »ç¶÷Àº menu¸¦ º¸Áö ¸øÇÏ°í, °ü·ÃµÈ ±Ûµµ º¸Áö ¸øÇÒ ¼ö ÀÖ´Ù. ½ÇÁ¦ÀûÀ¸·Î, node°¡ ½ÃÀÛÇÏ°í 20 ÁÙ À̳»¿¡ menu¸¦ À§Ä¡½ÃÄÑ¾ß ÇÑ´Ù.
menu ¾ÕÀÇ ÂªÀº ±ÛÀº ÀμâµÈ ¸Å´º¾ó¿¡¼ ÀÌ»óÇÏ°Ô º¸ÀÏ ¼ö ÀÖ´Ù. ÀÌ·¸°Ô
º¸ÀÌ´Â °ÍÀ» ¸·À¸·Á¸é, menu¸¦ nodeÀÇ ½ÃÀÛ°ú °¡±îÀÌ ¾²°í, menu ´ÙÀ½¿¡
@node
ÁÙÀ» ¾²°í, ±× ´ÙÀ½¿¡ @heading
ÁÙÀ»
@ifinfo
¿Í @end ifinfo
»çÀÌ¿¡ µÐ´Ù. ÀÌ·¸°Ô menu,
@node
ÁÙ, ±×¸®°í Á¦¸ñÀº ÀμâµÈ ¸Å´º¾ó¿¡¼´Â º¸ÀÌÁö ¾Ê°í, Info
ÆÄÀÏ¿¡¼¸¸ º¸ÀδÙ.
¿¹¸¦ µé¾î, ÀÌ ¹®´Ü ¾ÕÀÇ µÎ°³ÀÇ ¹®´ÜÀº Info¿¡¼¸¸ ³ª¿À´Â menu,
@node
ÁÙ, ±×¸®°í heading ´ÙÀ½¿¡ ³ª¿Â´Ù.
@menu * Menu Location:: Put a menu in a short node. * Writing a Menu:: What is a menu? * Menu Parts:: A menu entry has three parts. * Less Cluttered Menu Entry:: Two part menu entry. * Menu Example:: Two and three part entries. * Other Info Files:: How to refer to a different Info file. @end menu @node Menu Location, Writing a Menu, , Menus @ifinfo @heading Menus Need Short Nodes @end ifinfo
ÀÌ ¹®¼ÀÇ Texinfo ÆÄÀÏÀº ÀÌ·¯ÇÑ Ã³¸®¸¦ ÇÑ ¿¹°¡ ½Ê¿©°³ ÀÌ»ó ÀÖ´Ù. ±×Áß ÇÑ°³´Â ÀÌ ÀåÀÇ ½ÃÀÛÀÌ´Ù; ¶Ç Çϳª´Â "Cross Reference" ÀåÀÌ ½ÃÀÛÇÏ´Â ºÎºÐÀÌ´Ù.
menu´Â ÇÑÁÙ¿¡ ´Üµ¶À¸·Î ³ª¿À´Â @menu
¸í·É°ú menu entry ÁÙ°ú menu
ÁÖ¼® ÁÙ ±×¸®°í ÇÑÁÙ¿¡ ´Üµ¶À¸·Î ³ª¿À´Â @end menu
¸í·ÉÀ¸·Î ³¡³´Ù.
menu´Â ´ÙÀ½°ú °°´Ù:
@menu Larger Units of Text * Files:: All about handling files. * Multiples: Buffers. Multiple buffers; editing several files at once. @end menu
menu¿¡¼, `* '·Î ½ÃÀÛÇÏ´Â ÁÙÀº ¸ðµÎ menu entryÀÌ´Ù. (asterisk ´ÙÀ½¿¡ °ø¹é¹®ÀÚ°¡ ³ª¿À´Â °Í¿¡ ÁÖÀÇÇÏÀÚ.) `* '·Î ½ÃÀÛÇÏÁö ¾Ê´Â ÁÙÀº menu¿¡ ³ªÅ¸³ªÁö ¾Ê´Â´Ù. ±×·± ÁÙÀº menu entry°¡ ¾Æ´Ï°í Info ÆÄÀÏ¿¡ ³ªÅ¸³ª´Â menu ÁÖ¼® ÁÙÀÌ´Ù. À§ÀÇ ¿¹¿¡¼, `Larger Units of Text'´Â menu ÁÖ¼® ÁÙÀÌ´Ù; `* '·Î ½ÃÀÛÇÏ´Â µÎ ÁÙÀº menu entryÀÌ´Ù.
menu entry´Â ¼¼°³ÀÇ ºÎºÐÀÌ ÀÖ°í, ÀÌÁß µÎ¹ø°¸¸ÀÌ ²À ÇÊ¿äÇÏ´Ù:
menu entryÀÇ ´ÙÀ½°ú °°Àº Çü½ÄÀ¸·Î ¸¸µç´Ù:
* menu-entry-name: node-name. description
menu entry ´ÙÀ½¿¡ ÇÑ°³ÀÇ colonÀ¸ ¤©¾²°í, node À̸§ ´ÙÀ½¿¡ tab, comma, period, ȤÀº newlineÀ» ¾´´Ù.
Info¿¡¼, »ç¿ëÀÚ´Â m (Info-menu
) ¸í·ÉÀ¸·Î node¸¦ ¼±ÅÃÇÑ´Ù.
menu entryÀÇ À̸§Àº m ¸í·É ´ÙÀ½¿¡ typeÇÑ´Ù.
menu entryÀÇ ¼¼¹ø° ºÎºÐÀº ¼³¸íÇÏ´Â ¹®±¸³ª ¹®ÀåÀÌ´Ù. menu entryÀÇ À̸§°ú node À̸§Àº ´ëºÎºÐ ©¸·ÇÏ´Ù; ¼³¸íÀº µ¶ÀÚ¿¡°Ô ÀÌ node°¡ ¹«¾ù°Ô °üÇÑ °ÍÀÎÁö ¼³¸íÇÑ´Ù. À־ µÇ°í ¾ø¾îµµ µÇ´Â ÀÌ ¼³¸íÀº µÎÁÙ ÀÌ»ó¿¡ °ÉÃļ ³ª¿Ã ¼öµµ ÀÖ´Ù. ÁÁÀº ¼³¸íÀº nodeÀÇ À̸§À» ¹Ýº¹Çؼ ¼³¸íÇÏ´Â °Íº¸´Ù´Â ±× À̸§À» º¸ÃæÇØ ÁÖ´Â ¼³¸íÀÌ´Ù.
menu entry À̸§°ú node À̸§ÀÌ °°Àº °æ¿ì, À̸§À» asteirk ¹Ù·Î ´ÙÀ½¿¡ ¾µ ¼ö ÀÖ°í ÁÙÀÌ ½ÃÀÛÇÒ ¶§ °ø¹éÀ» ³Ö°í, À̸§ ´ÙÀ½¿¡ µÎ°³ÀÇ colonÀ» ¾´´Ù.
¿¹¸¦ µé¾î, ´ÙÀ½°ú °°ÀÌ ¾²´Â ´ë½Å,
* Name: Name. description
´ÙÀ½°ú °°ÀÌ ¾´´Ù.
* Name:: description
menuÀÇ ½Ã°¢ÀûÀΠȥ¶õÀ» ÁÙÀÏ ¼ö ÀÖÀ¸¹Ç·Î, °¡´ÉÇÑÇÑ menu entry À̸§À¸·Î node À̸§À» ½á¾ß ÇÑ´Ù.
menu´Â Texinfo¿¡¼ ´ÙÀ½°ú °°´Ù:
@menu * menu entry name: Node name. A short description. * Node name:: This form is preferred. @end menu
ÀÌ°ÍÀº ´ÙÀ½°ú °°Àº menu¸¦ ¸¸µç´Ù:
* menu: * menu entry name: Node name. A short description. * Node name:: This form is preferred.
´ÙÀ½Àº Texinfo ÆÄÀÏ¿¡¼ º¼ ¼ö ÀÖ´Â ¿¹ÀÌ´Ù.
@menu Larger Units of Text * Files:: All about handling files. * Multiples: Buffers. Multiple buffers; editing several files at once. @end menu
ÀÌ°ÍÀº ´ÙÀ½°ú °°Àº ¸Þ´º¸¦ ¸¸µç´Ù.
* menu: Larger Units of Text * Files:: All about handling files. * Multiples: Buffers. Multiple buffers; editing several files at once.
ÀÌ ¿¹¿¡¼, menu¿¡´Â µÎ°³ÀÇ entry°¡ ÀÖ´Ù. `Files'´Â menu entryÀÇ À̸§À̱⵵ ÇÏ°í, ±× À̸§À¸·Î ÂüÁ¶µÇ´Â nodeÀÇ À̸§À̱⵵ ÇÏ´Ù. `Multiples'´Â menu entryÀÇ À̸§ÀÌ´Ù; ÀÌ°ÍÀº `Buffers'¶ó´Â node¸¦ °¡¸®Å²´Ù. `Larger Units of Text'´Â ÁÖ¼®ÀÌ´Ù; menu¿¡ ³ªÅ¸³ª±â´Â ÇÏÁö¸¸, entry´Â ¾Æ´Ï´Ù.
`Files'³ª `Buffers'¿¡´Â ¾î¶² ÆÄÀÏ À̸§µµ ÁöÁ¤µÇÁö ¾Ê¾Ò±â ¶§¹®¿¡, °°Àº Info ÆÄÀÏÀÇ node À̸§À̾î¾ß ÇÑ´Ù. (see section Referring to Other Info Files).
ÆÄÀÏ À̸§À» node À̸§ ¹Ù·Î ¾Õ¿¡ °í¶óÈ£ ¾È¿¡ Àû¾î¼ ´Ù¸¥ Info ÆÄÀÏÀÇ node·Î À̵¿ÇÒ ¼ö ÀÖµµ·Ï menu entry¸¦ ¸¸µé ¼ö ÀÖ´Ù. ÀÌ °æ¿ì¿¡, ¼¼°³ ºÎºÐÀ¸·Î ±¸¼ºµÈ menu entry Çü½ÄÀ» »ç¿ëÇؼ, µ¶ÀÚ°¡ ÆÄÀÏ À̸§À» typeÇÏÁö ¾Êµµ·Ï ÇØ¾ß ÇÑ´Ù.
Çü½ÄÀº ´ÙÀ½°ú °°´Ù:
@menu * first-entry-name:(filename)nodename. description * second-entry-name:(filename)second-node. description @end menu
¿¹¸¦ µé¾î, Á÷Á¢ Emacs ManualÀÇ `Outlining'°ú `Rebinding' node¸¦ »ç¿ëÇÏ·Á¸é, menu¸¦ ´ÙÀ½°ú °°ÀÌ ¾´´Ù:
@menu * Outlining: (emacs)Outline Mode. The major mode for editing outlines. * Rebinding: (emacs)Rebinding. How to redefine the meaning of a key. @end menu
node À̸§À» ¾²Áö ¾Ê°í, ÆÄÀÏ À̸§¸¸ ¾´´Ù¸é, Info´Â `Top' node¸¦ ÂüÁ¶ÇÏ´Â °Å¶ó°í °¡Á¤ÇÑ´Ù.
InfoÀÇ main menu¸¦ ´ã°í ÀÖ´Â `dir'ÆÄÀÏÀº ÆÄÀÏ À̸§¸¸À» ¿°ÅÇÑ menu entry°¡ µé¾î ÀÖ´Ù. ÀÌ·¸°Ô °¢ Info ¹®¼ÀÇ `Top' node·Î Á÷Á¢ °¥ ¼ö ÀÖ°Ô ÇØ ÁØ´Ù. (See section Installing an Info File.)
¿¹¸¦ µé¾î:
* Info: (info). Documentation browsing system. * Emacs: (emacs). The extensible, self-documenting text editor.
(Info systemÀÇ ÃÖ»óÀ§ ¸ñ·ÏÀÎ `dir' ÆÄÀÏÀº Info ÆÄÀÏÀÌÁö, Texinfo ÆÄÀÏÀÌ ¾Æ´Ï´Ù. ÇÏÁö¸¸, menu entry´Â µÎ°¡Áö ŸÀÔÀÇ ÆÄÀÏ ¸ðµÎ ¶È°°ÀÌ º¸ÀδÙ.)
GNU Emacs Texinfo modeÀÇ menu updating ¸í·ÉÀº ÇöÀç buffer ³»ÀÇ node¿¡ ´ëÇؼ¸¸ µ¿ÀÛÇϱ⠶§¹®¿¡, ´Ù¸¥ ÆÄÀÏÀ» ÂüÁ¶ÇÏ´Â menu¸¦ ¸¸µé¶§ ÀÌ ¸í·ÉÀ» »ç¿ëÇÒ ¼ö ¾ø´Ù. ÀÌ·¯ÇÑ menu´Â Á÷Á¢ ¼ÕÀ¸·Î ½á¾ß ÇÑ´Ù.
Go to the first, previous, next, last section, table of contents.