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

Diff for /mandoc/roff.7 between version 1.2 and 1.5

version 1.2, 2010/05/16 22:28:33 version 1.5, 2010/05/17 02:38:13
Line 65  Thus, the following are equivalent:
Line 65  Thus, the following are equivalent:
 .Sh REFERENCE  .Sh REFERENCE
 This section is a canonical reference of all macros, arranged  This section is a canonical reference of all macros, arranged
 alphabetically.  alphabetically.
   .Ss \&am
   The syntax of this macro is the same as that of
   .Sx \&ig ,
   except that a leading argument must be specified.
   It is ignored, as are its children.
   .Ss \&ami
   The syntax of this macro is the same as that of
   .Sx \&ig ,
   except that a leading argument must be specified.
   It is ignored, as are its children.
   .Ss \&am1
   The syntax of this macro is the same as that of
   .Sx \&ig ,
   except that a leading argument must be specified.
   It is ignored, as are its children.
   .Ss \&de
   The syntax of this macro is the same as that of
   .Sx \&ig ,
   except that a leading argument must be specified.
   It is ignored, as are its children.
   .Ss \&dei
   The syntax of this macro is the same as that of
   .Sx \&ig ,
   except that a leading argument must be specified.
   It is ignored, as are its children.
   .Ss \&de1
   The syntax of this macro is the same as that of
   .Sx \&ig ,
   except that a leading argument must be specified.
   It is ignored, as are its children.
   .Ss \&el
   The
   .Qq else
   half of an if/else conditional.
   Pops a result off the stack of conditional evaluations pushed by
   .Sx \&ie
   and uses it as its conditional.
   If no stack entries are present (e.g., due to no prior
   .Sx \&ie
   calls)
   then false is assumed.
   The syntax of this macro is similar to
   .Sx \&if
   except that the conditional is missing.
   .Ss \&ie
   The
   .Qq if
   half of an if/else conditional.
   The result of the conditional is pushed into a stack used by subsequent
   invocations of
   .Sx \&el ,
   which may be separated by any intervening input (or not exist at all).
   Its syntax is equivalent to
   .Sx \&if .
 .Ss \&if  .Ss \&if
 Begins a conditional.  Begins a conditional that always evaluates to false.
 Has the following syntax:  If a conditional is false, its children are not processed, but are
   syntactically interpreted to preserve the integrity of the input
   document.
   Thus,
 .Pp  .Pp
   .D1 \&.if t \e .ig
   .Pp
   will discard the
   .Sq \&.ig ,
   which may lead to interesting results, but
   .Pp
   .D1 \&.if t \e .if t \e{\e
   .Pp
   will continue to syntactically interpret to the block close of the final
   conditional.
   Sub-conditionals, in this case, obviously inherit the truth value of
   the parent.
   This macro has the following syntax:
   .Pp
 .Bd -literal -offset indent -compact  .Bd -literal -offset indent -compact
 \&.if COND \e{\e  \&.if COND \e{\e
 BODY...  BODY...
Line 88  BODY...
Line 159  BODY...
 BODY  BODY
 .Ed  .Ed
 .Pp  .Pp
 COND is a conditional (TODO: document).  COND is a conditional (for the time being, this always evaluates to
   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 180  Historic groff did not accept white-space buffering th
Line 252  Historic groff did not accept white-space buffering th
 for the  for the
 .Sx \&ig  .Sx \&ig
 macro.  macro.
   .It
   The
   .Sx \&if
   and family would print funny white-spaces with historic groff when
   depending on next-line syntax.
 .El  .El
 .Sh AUTHORS  .Sh AUTHORS
 The  The

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.5

CVSweb