[BACK]Return to roff.7 CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/roff.7 between version 1.6 and 1.9

version 1.6, 2010/05/24 22:25:58 version 1.9, 2010/06/10 21:42:02
Line 126  which may be separated by any intervening input (or no
Line 126  which may be separated by any intervening input (or no
 Its syntax is equivalent to  Its syntax is equivalent to
 .Sx \&if .  .Sx \&if .
 .Ss \&if  .Ss \&if
 Begins a conditional that always evaluates to false.  Begins a conditional.
   Right now, the conditional evaluates to true
   if and only if it starts with the letter
   .Sy n ,
   indicating processing in
   .Xr nroff 1
   style as opposed to
   .Xr troff 1
   style.
 If a conditional is false, its children are not processed, but are  If a conditional is false, its children are not processed, but are
 syntactically interpreted to preserve the integrity of the input  syntactically interpreted to preserve the integrity of the input
 document.  document.
Line 165  BODY...
Line 173  BODY...
 BODY  BODY
 .Ed  .Ed
 .Pp  .Pp
 COND is a conditional (for the time being, this always evaluates to  COND is a conditional statement.
 false).  roff allows for complicated conditionals; mandoc is much simpler.
   At this time, mandoc supports only
   .Sq n ,
   evaluating to true;
   and
   .Sq t ,
   .Sq e ,
   and
   .Sq o ,
   evaluating to false.
   All other invocations are read up to the next end of line or space and
   evaluate as false.
 .Pp  .Pp
 If the BODY section is begun by an escaped brace  If the BODY section is begun by an escaped brace
 .Sq \e{ ,  .Sq \e{ ,
Line 199  macro is discarded.
Line 218  macro is discarded.
 Furthermore, if an explicit closing sequence  Furthermore, if an explicit closing sequence
 .Sq \e}  .Sq \e}
 is specified in a free-form line, the entire line is accepted within the  is specified in a free-form line, the entire line is accepted within the
 scope of the prior macro, not only the text preceding the close.  scope of the prior macro, not only the text preceding the close, with the
   .Sq \e}
   collapsing into a zero-width space.
 .Ss \&ig  .Ss \&ig
 Ignore input.  Ignore input.
 Accepts the following syntax:  Accepts the following syntax:
Line 249  Currently, it is ignored including its arguments,
Line 270  Currently, it is ignored including its arguments,
 and the number of arguments is not checked.  and the number of arguments is not checked.
 .Ss \&tr  .Ss \&tr
 Output character translation.  Output character translation.
 This macro is intended to have one argument,  This macro is intended to have one argument,
 consisting of an even number of characters.  consisting of an even number of characters.
 Currently, it is ignored including its arguments,  Currently, it is ignored including its arguments,
 and the number of arguments is not checked.  and the number of arguments is not checked.

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.9

CVSweb