Print this page
Latest round of fixes per RM and AL.  Fix bugs found in man.c.

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man5/eqn.5
          +++ new/usr/src/man/man5/eqn.5
↓ open down ↓ 7 lines elided ↑ open up ↑
   8    8  .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
   9    9  .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  10   10  .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  11   11  .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  12   12  .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  13   13  .\"
  14   14  .\"
  15   15  .\" Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  16   16  .\" Copyright 2012 Nexenta Systems, Inc. All rights reserved.
  17   17  .\"
  18      -.Dd Sep 25, 2011
       18 +.Dd Jul 19, 2014
  19   19  .Dt EQN 5
  20   20  .Os
  21   21  .Sh NAME
  22   22  .Nm eqn
  23   23  .Nd eqn language reference for mandoc
  24   24  .Sh DESCRIPTION
  25   25  The
  26   26  .Nm eqn
  27   27  language is an equation-formatting language.
  28   28  It is used within
↓ open down ↓ 131 lines elided ↑ open up ↑
 160  160  .Cm define ,
 161  161  while
 162  162  .Cm tdefine
 163  163  is discarded.
 164  164  .It Cm gfont
 165  165  Set the default font of subsequent output.
 166  166  Its syntax is as follows:
 167  167  .Pp
 168  168  .D1 gfont Ar font
 169  169  .Pp
 170      -In mandoc, this value is discarded.
      170 +In
      171 +.Xr mandoc 1 ,
      172 +this value is discarded.
 171  173  .It Cm gsize
 172  174  Set the default size of subsequent output.
 173  175  Its syntax is as follows:
 174  176  .Pp
 175  177  .D1 gsize Ar size
 176  178  .Pp
 177  179  The
 178  180  .Ar size
 179  181  value should be an integer.
 180  182  .It Cm set
 181  183  Set an equation mode.
 182      -In mandoc, both arguments are thrown away.
      184 +In
      185 +.Xr mandoc 1 ,
      186 +both arguments are thrown away.
 183  187  Its syntax is as follows:
 184  188  .Pp
 185  189  .D1 set Ar key val
 186  190  .Pp
 187  191  The
 188  192  .Ar key
 189  193  and
 190  194  .Ar val
 191  195  are not expanded for replacements.
 192  196  This statement is a GNU extension.
↓ open down ↓ 5 lines elided ↑ open up ↑
 198  202  .Pp
 199  203  Once invoked, the definition for
 200  204  .Ar key
 201  205  is discarded.
 202  206  The
 203  207  .Ar key
 204  208  is not expanded for replacements.
 205  209  This statement is a GNU extension.
 206  210  .El
 207  211  .Sh COMPATIBILITY
 208      -This section documents the compatibility of mandoc
      212 +This section documents the compatibility of
      213 +.Xr mandoc 1
 209  214  .Nm
 210      -and the troff
      215 +and the
      216 +.Xr troff 1
 211  217  .Nm
 212  218  implementation (including GNU troff).
 213  219  .Pp
 214  220  .Bl -dash -compact
 215  221  .It
 216  222  The text string
 217  223  .Sq \e\*q
 218      -is interpreted as a literal quote in troff.
 219      -In mandoc, this is interpreted as a comment.
      224 +is interpreted as a literal quote in
      225 +.Xr troff 1 .
      226 +In
      227 +.Xr mandoc 1 ,
      228 +this is interpreted as a comment.
 220  229  .It
 221      -In troff, The circumflex and tilde white-space symbols map to
      230 +In
      231 +.Xr troff 1 ,
      232 +The circumflex and tilde white-space symbols map to
 222  233  fixed-width spaces.
 223      -In mandoc, these characters are synonyms for the space character.
      234 +In
      235 +.Xr mandoc 1 ,
      236 +these characters are synonyms for the space character.
 224  237  .It
 225      -The troff implementation of
      238 +The
      239 +.Xr troff 1 ,
      240 +implementation of
 226  241  .Nm
 227  242  allows for equation alignment with the
 228  243  .Cm mark
 229  244  and
 230  245  .Cm lineup
 231  246  tokens.
 232      -mandoc discards these tokens.
      247 +.Xr mandoc 1
      248 +discards these tokens.
 233  249  The
 234  250  .Cm back Ar n ,
 235  251  .Cm fwd Ar n ,
 236  252  .Cm up Ar n ,
 237  253  and
 238  254  .Cm down Ar n
 239  255  commands are also ignored.
 240  256  .El
 241  257  .Sh SEE ALSO
 242  258  .Xr mandoc 1 ,
 243      -.Xr man 7 ,
      259 +.Xr man 5 ,
 244  260  .Xr mandoc_char 5 ,
 245  261  .Xr mdoc 5 ,
 246  262  .Xr roff 5
 247  263  .Rs
 248  264  .%A Brian W. Kernighan
 249  265  .%A Lorinda L. Cherry
 250  266  .%T System for Typesetting Mathematics
 251  267  .%J Communications of the ACM
 252  268  .%V 18
 253  269  .%P 151\(en157
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX