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


Conditionally Visible Text

¾î¶² °æ¿ì¿¡´Â ÀμâµÈ ¸Å´º¾ó°ú ±×¿¡ ´ëÀÀµÇ´Â Info ÆÄÀÏ¿¡ ´ëÇØ °¢°¢ ´Ù¸¥ ÅؽºÆ®¸¦ ¾²´Â ÆíÀÌ ÁÁ´Ù. ÀÌ·¯ÇÑ °æ¿ì¿¡ Á¶°Ç ¸í·É(conditional command)¸¦ ½á¼­ ¾î¶² ÅؽºÆ®°¡ ÀμâµÈ ¸Å´º¾ó¿¡ µé¾î°¡°í, ¾î¶² ÅؽºÆ®°¡ Info ÆÄÀÏ¿¡ µé¾î°¥ Áö ÁöÁ¤ÇÑ´Ù.

@ifinfo´Â TeXÀÌ ÀμâµÈ ¸Å´º¾óÀ» typesetÇÒ ¶§ ¹«½ÃÇØ¾ß ÇÏ´Â ºÎºÐÀ» ½ÃÀÛÇÑ´Ù. ÀÌ ºÎºÐÀº Info ÆÄÀÏ¿¡¸¸ ³ªÅ¸³­´Ù. @ifinfo ¸í·ÉÀº ÇÑ ÁÙ¿¡ ´Üµ¶À¸·Î ³ª¿Í¾ß ÇÑ´Ù; Info¸¸ÀÇ ÅؽºÆ®´Â @end ifinfo°¡ ´Üµ¶À¸·Î ¾²¿©Áø ÁÙ·Î ³¡³­´Ù. Texinfo ÆÄÀÏÀÌ ½ÃÀÛÇÒ ¶§ InfoÀÇ permmissionÀº @ifinfo¿Í @end ifinfo·Î Ç¥½ÃµÈ ºÎºÐ ¾È¿¡ µé¾î ÀÖ´Ù. (See section Summary and Copying Permissions for Info.)

@iftex°ú @end iftex ¸í·ÉÀº @ifinfo¿Í @end ifinfo ¸í·É°ú ºñ½ÁÇÏ´Ù. ´Ü ÁöÁ¤µÈ ÅؽºÆ®´Â ÀμâµÈ ¸Å´º¾ó¿¡¸¸ ³ªÅ¸³ª°í, Info ÆÄÀÏ¿¡´Â ³ªÅ¸³ªÁö ¾Ê´Â´Ù. @ifhtml°ú @end ifhtmlµµ ¸¶Âù°¡Áö·Î HTML Ãâ·Â¿¡¸¸ ³ªÅ¸³¯ ÅؽºÆ®¸¦ ÁöÁ¤ÇÑ´Ù.

¿¹¸¦ µé¾î,

@iftex
ÀÌ ÅؽºÆ®´Â ÀμâµÈ ¸Å´º¾ó¿¡¸¸ ³ªÅ¸³­´Ù.
@end iftex
@ifinfo
ÇÏÁö¸¸, ÀÌ ÅؽºÆ®´Â Info¿¡¸¸ ³ªÅ¸³­´Ù.
@end ifinfo

¾ÕÀÇ ¿¹´Â ´ÙÀ½ ÁÙÀ» ¸¸µç´Ù: This text will appear only in the printed manual.

ÀÌ ¸Å´º¾óÀ» Info ¹öÀüÀ» ÀдÀ³Ä ÀμâµÈ ¹öÀüÀ» ÀдÀ³Ä¿¡ µû¶ó ÀÌ µÎ ÁÙ Áß¿¡ ÇÑÁÙ¸¸ º¸ÀÎ ´Ù´Â °Í¿¡ À¯ÀÇÇ϶ó.

@titlepage ¸í·ÉÀº ÀμâµÈ ¸Å´º¾óÀÇ Ç¥Áö¿Í ÀúÀÛ±Ç Ç¥½Ã ÆäÀÌÁö¸¦ Ç¥½ÃÇÏ´Â µ¥ ¾²ÀÌ´Â @iftexÀÇ Æ¯º°ÇÑ º¯ÇüÀÌ´Ù.

Conditional Not Commands

@ifnot... ¸í·ÉÀ¸·Î ¾î¶² ÁÖ¾îÁø ÇÑ°³ ÀÌ¿ÜÀÇ Ãâ·Â Æ÷¸Ë¿¡¼­¸¸ Æ÷Ç﵃ ÅؽºÆ®¸¦ ÁöÁ¤ÇÒ ¼öµµ ÀÖ´Ù:

@ifnothtml ... @end ifnothtml
@ifnotinfo ... @end ifnotinfo
@ifnottex ... @end ifnottex

(@ifnot... ¸í·É°ú @end ¸í·ÉÀº ÇÑ ÁÙ¿¡ ´Üµ¶À¸·Î ³ª¿Í¾ß ÇÑ´Ù.)

Ãâ·Â ÆÄÀÏÀÌ ÁÖ¾îÁø Æ÷¸ËÀ¸·Î ¸¸µé¾î ÁöÁö ¾ÊÀ» °æ¿ì, ÁöÁ¤µÈ ºÎºÐÀº Æ÷ÇԵǰí, ±×·¸Áö ¾ÊÀ¸¸é ¹«½ÃµÈ´Ù.

ÀÌ·¯ÇÑ ¸í·ÉÀ¸·Î ±¸ºÐµÈ ºÎºÐÀº @iftexÀÇ °æ¿ì¿¡µµ º¸ÅëÀÇ Texinfo ¼Ò½ºÀÌ´Ù. @texÀ» »ç¿ëÇÏ´Â ·Î¿ì Æ÷¸ËÅÍ(raw formatter) ¼Ò½º°¡ ¾Æ´Ï´Ù.

Raw Formatter Commands

@iftex°ú @end iftexÀ¸·Î ±¸ºÐµÈ ºÎºÐ ³»¿¡¼­, Á÷Á¢ TeX ¸í·ÉÀ» Æ÷ÇÔ½Ãų ¼ö ÀÖ´Ù. ÀÌ ºÎºÐÀº TeX¸¸ º¸´Â ºÎºÐÀ̱⠶§¹®¿¡ Info´Â ÀÌ ¸í·ÉÀ» ¹«½ÃÇÒ °ÍÀÌ´Ù. º¸Åë TeX ÆÄÀÏ¿¡¼­ ¾²´Â °Íó·³ TeX ¸í·ÉÀ» ¾µ ¼ö ÀÖÁö¸¸, TeX¿¡¼­ ¾²´Â `\'¸¦ `@'·Î ¹Ù²ã¾ß ÇÑ´Ù. ¿¹¸¦ µé¾î, TexinfoÀÇ @titlepage ºÎºÐ¿¡¼­ copyright ÆäÀÌÁö¸¦ Æ÷¸ËÇÏ´Â µ¥ TeX ¸í·ÉÀÎ @vskip ¸í·ÉÀ» ½è´Ù. (@titlepage ¸í·ÉÀº @iftex ¸í·Éó·³ Info°¡ ÀÌ ºÎºÐÀ» ÀÚµ¿À¸·Î ¹«½ÃÇϵµ·Ï ÇÑ´Ù.)

ÇÏÁö¸¸, plain TeXÀÇ ¸¹Àº ±â´ÉµéÀº TexinfoÀÇ ±â´Éµé¿¡ ÀÇÇؼ­ º¯°æµÇ¾ú±â ¶§¹®¿¡ µ¿ÀÛÇÏÁö ¾ÊÀ» °ÍÀÌ´Ù.

¾î¶² ºÎºÐ¿¡ @tex°ú @end tex ¸í·ÉÀ» ½á¼­ ¿ÏÀüÈ÷ plain TeXÀ» ¾µ ¼öµµ ÀÖ°í, TeX ¸í·É¿¡ `\'¸¦ ¾´´Ù. (@tex ¸í·ÉÀº @iftex ¸í·Éó·³ Info°¡ ±× ºÎºÐÀ» ¹«½ÃÇϵµ·Ï ÇÑ´Ù.) À¯ÀÏÇÑ ¿¹¿Ü´Â @ ¹®ÀÚ´Â ¿©ÀüÈ÷ ¸í·É¾î¸¦ ½ÃÀÛÇÏ´Â ¹®ÀÚ¶ó´Â Á¡ÀÌ´Ù. ÀÌ·¸°Ô ÇØ¾ß @end tex ¸í·ÉÀ» Á¦´ë·Î ÀνÄÇÒ ¼ö ÀÖ´Ù.

¿¹¸¦ µé¾î, ´ÙÀ½Àº plain TeX¿¡ ¾²¿©Áø ¼öÇРǥÇöÀÌ´Ù:

@tex
$$ \chi^2 = \sum_{i=1}^N
          \left (y_i - (a + b x_i)
          \over \sigma_i\right)^2 $$
@end tex

ÀÌ ¿¹ÀÇ Ãâ·ÂÀº ÀμâµÈ ¸Å´º¾ó¿¡¸¸ º¸ÀÏ °ÍÀÌ´Ù. ÀÌ ¸Å´º¾óÀ» Info ¿¡¼­ Àаí ÀÖ´Ù¸é ÀμâµÈ ¸Å´º¾ó¿¡ ³ªÅ¸³ª´Â ¹æÁ¤½ÄÀ» º¼ ¼ö ¾ø´Ù. ÀμâµÈ ¸Å´º¾ó¿¡¼­, À§ÀÇ ½ÄÀº ´ÙÀ½°ú °°ÀÌ º¸ÀδÙ:

¸¶Âù°¡Áö·Î, @ifhtml ... @end ifhtmlÀ» HTML Ãâ·Â¿¡¸¸ Æ÷Ç﵃ ºÎºÐÀ» °¨½Î´Â µ¥ ¾µ ¼ö ÀÖ´Ù. ±×¸®°í @html ... @end ifhtmlÀ» Á÷Á¢ HTML ¸í·ÉÀ» ¾²´Â ºÎºÐÀ¸·Î ÁöÁ¤ÇÒ ¼ö ÀÖ´Ù (¸¶Âù°¡Áö·Î, @´Â ¿©ÀüÈ÷ À̽ºÄÉÀÌÇÁ ¹®ÀÚ¶ó´Â ¿¹¿Ü°¡ À־, @end ¸í·ÉÀÌ µ¿ÀÛÇÑ´Ù.)

@set, @clear, and @value

@set, @clear, @ifset, ±×¸®°í @ifclear ¸í·ÉÀ» »ç¿ëÇؼ­ Texinfo Æ÷¸ËÆà ¸í·ÉÀÌ Texinfo ÆÄÀÏÀÇ ¾î¶² ºÎºÐÀ» Æ÷¸ËÆÃÇϰųª ¹«½ÃÇϵµ·Ï Á¶Á¤ÇÒ ¼ö ÀÖ´Ù.

¶Ç, @set flag ¸í·ÉÀ» ½á¼­ flagÀÇ °ªÀ» ¹®ÀÚ¿­·Î ÇÒ ¼ö ÀÖ´Ù; ±×¸®°í @value{flag}·Î ±× ¹®ÀÚ¿­À» »ðÀÔÇÒ ¼ö ÀÖ´Ù. ¿¹¸¦ µé¾î, @setÀ» ½á¼­ ³¯Â¥¸¦ ÁöÁ¤ÇÏ°í, @value¸¦ ½á¼­ Texinfo ÆÄÀÏÀÇ ¿©·¯ ±ºµ¥¿¡ ³¯Â¥¸¦ ³ÖÀ» ¼ö ÀÖ´Ù.

@ifset and @ifclear

flag°¡ setµÇ¸é, Texinfo Æ÷¸ÅÆà ¸í·ÉÀº @ifset flag¿Í @end ifset ¸í·É »çÀÌÀÇ ÅؽºÆ®¸¦ Æ÷¸ËÇÑ´Ù. flag°¡ clearµÇ¸é, Texinfo Æ÷¸ÅÆà ¸í·ÉÀº ±× ÅؽºÆ®¸¦ Æ÷¸ËÇÏÁö ¾Ê´Â´Ù.

@set flag ¸í·ÉÀ» ½á¼­ flag¸¦ setÇÑ´Ù; flag´Â ÇÑ°³ÀÇ ´Ü¾î¶ó¸é ¹«¾ùÀÌµç ¿Ã ¼ö ÀÖ´Ù. ÀÌ ¸í·ÉÀÇ Æ÷¸ËÀº ´ÙÀ½°ú °°´Ù:

@set flag

Á¶°ÇºÎ·Î Æ÷¸ËµÇ´Â ÅؽºÆ®´Â ´ÙÀ½°ú °°ÀÌ @ifset flag¿Í @end ifset ¸í·É »çÀÌ¿¡ ¾´´Ù.

@ifset flag
conditional-text
@end ifset

¿¹¸¦ µé¾î, `Å«' °Í°ú `ÀÛÀº' ¸Å´º¾óÀÇ µÎ°¡Áö º¯ÇüÀÌ ÀÖ´Â ÇÑ°³ÀÇ ¹®¼­¸¦ ¸¸µé ¼ö ÀÖ´Ù.

You can use this machine to dig up shrubs
without hurting them.

@set large

@ifset large
It can also dig up fully grown trees.
@end ifset

Remember to replant promptly ...

ÀÌ ¿¹¿¡¼­, large flag°¡ setµÇ¾ú±â ¶§¹®¿¡ Æ÷¸ËÆà ¸í·ÉÀº @ifset large¿Í @end ifset »çÀÌÀÇ ÅؽºÆ®¸¦ Æ÷¸ËÇÒ °ÍÀÌ´Ù.

@clear flag ¸í·ÉÀ» ½á¼­ flag¸¦ clearÇÑ´Ù. flag¸¦ clearÇÏ´Â °ÍÀº setÇÏ´Â °ÍÀÇ ¹Ý´ëÀÌ´Ù. ÀÌ ¸í·ÉÀº ´ÙÀ½°ú °°ÀÌ ¾´´Ù:

@clear flag

ÀÌ ¸í·ÉÀº ÇÑ ÁÙ¿¡ ´Üµ¶À¸·Î ¾´´Ù.

flag°¡ clearµÇ¸é Texinfo Æ÷¸ËÆà ¸í·ÉÀº @ifset flag¿Í @end ifset ¸í·É »çÀÌÀÇ ÅؽºÆ®¸¦ Æ÷¸ËÇÏÁö ¾ÊÀ» °ÍÀÌ´Ù; ±× ÅؽºÆ®´Â ÀμâµÈ ¸Å´º¾óÀ̳ª Info Ãâ·ÂÀ̳ª ¸ðµÎ ¹«½ÃµÇ¾î ³ªÅ¸³ªÁö ¾ÊÀ» °ÍÀÌ´Ù.

¿¹¸¦ µé¾î, ¾ÕÀÇ ¿¹¿¡¼­ @clear large ¸í·ÉÀ» @set large ¸í·É ´ÙÀ½¿¡ ¾²¸é (ÇÏÁö¸¸, Á¶°ÇºÎ ÅؽºÆ® ¾Õ¿¡), Texinfo Æ÷¸ËÆà ¸í·ÉÀº @ifset large¿Í @end ifset ¸í·É »çÀÌÀÇ ÅؽºÆ®¸¦ ¹«½ÃÇÑ´Ù. Æ÷¸ËµÈ Ãâ·Â¹°¿¡¼­ ±× ÅؽºÆ®´Â ³ªÅ¸³ªÁö ¾Ê´Â´Ù; Àμ⹰ÀÌ°Ç Info Ãâ·ÂÀÌ°Ç ³ªÅ¸³ªÁö ¾Ê´Â´Ù. ¿ÀÁ÷ "You can use this machine to dig up shrubs without hurting them. Remember to replant promptly ..."¸¸À» º¼ ¼ö ÀÖ´Ù.

flag°¡ @clear flag ¸í·ÉÀ¸·Î clearµÇ¸é, Æ÷¸ËÆà ¸í·ÉÀº @ifclear¿Í @end ifclear ¸í·É »çÀÌÀÇ ÅؽºÆ®¸¦ Æ÷¸ËÇÒ °ÍÀÌ´Ù. ÇÏÁö¸¸, flag°¡ @set flag·Î setµÇ¸é, Æ÷¸ËÆà ¸í·ÉÀº @ifclear¿Í @end ifclear ¸í·É »çÀÌÀÇ ÅؽºÆ®¸¦ Æ÷¸ËÇÏÁö ¾ÊÀ» °ÍÀÌ´Ù; ±× ÅؽºÆ®¸¦ ¹«½ÃÇÑ´Ù. @ifclear ¸í·ÉÀº ´ÙÀ½°ú °°ÀÌ ¾´´Ù:

@ifclear flag

°£´ÜÈ÷ ¸»Çؼ­, ¸í·É¾î´Â ´ÙÀ½°ú °°´Ù:

@set flag
Texinfo Æ÷¸ËÆà ¸í·É¿¡ flag°¡ setµÇ¾úÀ½À» ¾Ë¸°´Ù.
@clear flag
Texinfo Æ÷¸ËÆà ¸í·É¿¡ flag°¡ clearµÇ¾úÀ½À» ¾Ë¸°´Ù.
@ifset flag
flag°¡ setµÇ¸é Texinfo Æ÷¸ËÆà ¸í·É¿¡°Ô @end ifset ¸í·ÉÀÌ ³ª¿Ã ¶§±îÁöÀÇ ÅؽºÆ®¸¦ Æ÷¸ËÇϵµ·Ï ÇÑ´Ù. flag°¡ clearµÇ¾úÀ¸¸é Texinfo Æ÷¸ËÆà ¸í·É¿¡°Ô @end ifset ¸í·ÉÀÌ ³ª¿Ã ¶§±îÁöÀÇ ÅؽºÆ®¸¦ ¹«½ÃÇϵµ·Ï ÇÑ´Ù.
@ifset flag
flag°¡ setµÇ¸é Texinfo Æ÷¸ËÆà ¸í·É¿¡°Ô @end ifset ¸í·ÉÀÌ ³ª¿Ã ¶§±îÁöÀÇ ÅؽºÆ®¸¦ ¹«½ÃÇϵµ·Ï ÇÑ´Ù. flag°¡ clearµÇ¾úÀ¸¸é Texinfo Æ÷¸ËÆà ¸í·É¿¡°Ô @end ifset ¸í·ÉÀÌ ³ª¿Ã ¶§±îÁöÀÇ ÅؽºÆ®¸¦ Æ÷¸ËÇϵµ·Ï ÇÑ´Ù.

@value

@set ¸í·ÉÀ¸·Î flagÀÇ °ªÀ» ÁöÁ¤ÇÒ ¼ö ÀÖ´Ù. ÀÌ °ªÀº @value ¸í·ÉÀ¸·Î ¾òÀ» ¼ö ÀÖ´Ù. ÀÌ °ªÀº ¹®ÀÚ¿­ÀÌ´Ù.

@set ¸í·ÉÀº ´ÙÀ½°ú °°ÀÌ ¾´´Ù:

@set foo This is a string.

ÀÌ°ÍÀº fooÀÇ °ªÀ» "This is a string."À̶ó´Â °ªÀ¸·Î ÁöÁ¤ÇÑ´Ù.

Texinfo Æ÷¸ËÅÍ´Â @value{flag} ¸í·ÉÀ» flagÀÇ °ªÀÎ ¹®ÀÚ¿­·Î ´ëüÇÑ´Ù.

Áï, foo°¡ À§¿Í °°ÀÌ ÁöÁ¤µÇ¾úÀ» ¶§, Texinfo Æ÷¸ËÅÍ´Â ´ÙÀ½°ú °°ÀÌ º¯È¯ÇÑ´Ù.

@value{foo}
to
This is a string.

@value ¸í·ÉÀº ¹®´Ü ¾È¿¡ ¾´´Ù; ÇÏÁö¸¸, @set ¸í·ÉÀº ÇÑÁÙ¿¡ ´Üµ¶À¸·Î ½á¾ß ÇÑ´Ù.

@set ¸í·ÉÀ» ´Ù¹Ê°ú °°ÀÌ ¹®ÀÚ¿­À» ÁöÁ¤ÇÏÁö ¾Ê°í ¾´´Ù¸é:

@set foo

fooÀÇ °ªÀº ºó ¹®ÀÚ¿­ÀÌ´Ù.

¸¸¾à ¾Õ¿¡¼­ setµÈ flag¸¦ @clear flag ¸í·ÉÀ¸·Î clearÇÏ¸é µÚ¿¡ ³ª¿À´Â @value{flag} ¸í·ÉÀº À߸øµÈ °ÍÀÌ°í, ¹®ÀÚ¿­Àº `{No value for "flag"}'¶ó´Â ¾Ö·¯ ¸Þ¼¼Áö·Î ´ëüµÈ´Ù.

¿¹¸¦ µé¾î, foo¸¦ ´ÙÀ½°ú °°ÀÌ setÇϸé:

@set how-much very, very, very

±×·¯¸é Æ÷¸ËÅÍ´Â ´ÙÀ½°ú °°ÀÌ º¯È¯ÇÒ °ÍÀÌ´Ù.

It is a @value{how-much} wet day.
into
It is a very, very, very wet day.

¸¸¾à ´ÙÀ½°ú °°ÀÌ ¾²¸é

@clear how-much

Æ÷¸ËÅÍ´Â ´ÙÀ½°ú °°ÀÌ º¯È¯ÇÑ´Ù.

It is a @value{how-much} wet day.
into
It is a {No value for "how-much"} wet day.

@value Example

@value ¸í·ÉÀº ¸Å´º¾óÀ» º¯°æÇÑ °ÍÀ» ±â·ÏÇÒ ¶§ ¹Ù²Ü ºÎºÐÀ» ÁÙÀÌ´Â µ¥ ¾µ ¼ö ÀÖ´Ù. ´ÙÀ½Àº The GNU Make Manual¿¡¼­ÀÇ ¿¹ÀÌ´Ù.

Set the flags:

@set EDITION 0.35 Beta
@set VERSION 3.63 Beta
@set UPDATED 14 August 1992
@set UPDATE-MONTH August 1992

Texinfo ÆÄÀÏÀ» Àд »ç¶÷À» À§ÇØ Ã¹¹ø° @ifinfo ºÎºÐ¿¡¼­ ´ÙÀ½°ú °°Àº ÅؽºÆ®¸¦ ¾²°í ÀÖ´Ù:

This is Edition @value{EDITION},
last updated @value{UPDATED},
of @cite{The GNU Make Manual},
for @code{make}, Version @value{VERSION}.

ÀμâµÈ ¸Å´º¾óÀ» Àд »ç¶÷À» À§ÇÑ Ç¥Áö´Â ´ÙÀ½°ú °°ÀÌ ¾²°í ÀÖ´Ù:

@title GNU Make
@subtitle A Program for Directing Recompilation
@subtitle Edition @value{EDITION}, ...
@subtitle @value{UPDATE-MONTH}

(Ç¥Áö¿¡¼­´Â, ´Þ°ú ³âÀ» ³ª¿­ÇÏ´Â °ÍÀÌ ³¯À» °°ÀÌ ³ª¿­ÇÏ´Â °Íº¸´Ù ´ú ÀÌ»óÇØ º¸ÀδÙ.)

Info ÆÄÀÏÀ» Àд »ç¶÷À» À§ÇØ Top ³ëµå¿¡¼­´Â ´ÙÀ½°ú °°Àº ÅؽºÆ®¸¦ ¾²°í ÀÖ´Ù:

This is Edition @value{EDITION}
of the @cite{GNU Make Manual},
last updated @value{UPDATED}
for @code{make} Version @value{VERSION}.

¸Å´º¾óÀ» Æ÷¸ËÇÑ ´ÙÀ½, ù¹ø° @ifinfo ºÎºÐÀº ´ÙÀ½°ú °°ÀÌ º¸ÀδÙ:

This is Edition 0.35 Beta, last updated 14 August 1992,
of `The GNU Make Manual', for `make', Version 3.63 Beta.

¸Å´º¾óÀ» º¯°æÇÒ ¶§, flagÀÇ °ª¸¸À» ¹Ù²Û´Ù. ÀÌ ¼¼°¡Áö ºÎºÐÀ» ¸ðµÎ ´Ù½Ã ¾µ ÇÊ¿ä°¡ ¾ø´Ù.


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