Print this page
Latest round of fixes per RM and AL. Fix bugs found in man.c.
*** 13,23 ****
.\"
.\"
.\" Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright 2012 Nexenta Systems, Inc. All rights reserved.
.\"
! .Dd Sep 25, 2011
.Dt EQN 5
.Os
.Sh NAME
.Nm eqn
.Nd eqn language reference for mandoc
--- 13,23 ----
.\"
.\"
.\" Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright 2012 Nexenta Systems, Inc. All rights reserved.
.\"
! .Dd Jul 19, 2014
.Dt EQN 5
.Os
.Sh NAME
.Nm eqn
.Nd eqn language reference for mandoc
*** 165,175 ****
Set the default font of subsequent output.
Its syntax is as follows:
.Pp
.D1 gfont Ar font
.Pp
! In mandoc, this value is discarded.
.It Cm gsize
Set the default size of subsequent output.
Its syntax is as follows:
.Pp
.D1 gsize Ar size
--- 165,177 ----
Set the default font of subsequent output.
Its syntax is as follows:
.Pp
.D1 gfont Ar font
.Pp
! In
! .Xr mandoc 1 ,
! this value is discarded.
.It Cm gsize
Set the default size of subsequent output.
Its syntax is as follows:
.Pp
.D1 gsize Ar size
*** 177,187 ****
The
.Ar size
value should be an integer.
.It Cm set
Set an equation mode.
! In mandoc, both arguments are thrown away.
Its syntax is as follows:
.Pp
.D1 set Ar key val
.Pp
The
--- 179,191 ----
The
.Ar size
value should be an integer.
.It Cm set
Set an equation mode.
! In
! .Xr mandoc 1 ,
! both arguments are thrown away.
Its syntax is as follows:
.Pp
.D1 set Ar key val
.Pp
The
*** 203,237 ****
.Ar key
is not expanded for replacements.
This statement is a GNU extension.
.El
.Sh COMPATIBILITY
! This section documents the compatibility of mandoc
.Nm
! and the troff
.Nm
implementation (including GNU troff).
.Pp
.Bl -dash -compact
.It
The text string
.Sq \e\*q
! is interpreted as a literal quote in troff.
! In mandoc, this is interpreted as a comment.
.It
! In troff, The circumflex and tilde white-space symbols map to
fixed-width spaces.
! In mandoc, these characters are synonyms for the space character.
.It
! The troff implementation of
.Nm
allows for equation alignment with the
.Cm mark
and
.Cm lineup
tokens.
! mandoc discards these tokens.
The
.Cm back Ar n ,
.Cm fwd Ar n ,
.Cm up Ar n ,
and
--- 207,253 ----
.Ar key
is not expanded for replacements.
This statement is a GNU extension.
.El
.Sh COMPATIBILITY
! This section documents the compatibility of
! .Xr mandoc 1
.Nm
! and the
! .Xr troff 1
.Nm
implementation (including GNU troff).
.Pp
.Bl -dash -compact
.It
The text string
.Sq \e\*q
! is interpreted as a literal quote in
! .Xr troff 1 .
! In
! .Xr mandoc 1 ,
! this is interpreted as a comment.
.It
! In
! .Xr troff 1 ,
! The circumflex and tilde white-space symbols map to
fixed-width spaces.
! In
! .Xr mandoc 1 ,
! these characters are synonyms for the space character.
.It
! The
! .Xr troff 1 ,
! implementation of
.Nm
allows for equation alignment with the
.Cm mark
and
.Cm lineup
tokens.
! .Xr mandoc 1
! discards these tokens.
The
.Cm back Ar n ,
.Cm fwd Ar n ,
.Cm up Ar n ,
and
*** 238,248 ****
.Cm down Ar n
commands are also ignored.
.El
.Sh SEE ALSO
.Xr mandoc 1 ,
! .Xr man 7 ,
.Xr mandoc_char 5 ,
.Xr mdoc 5 ,
.Xr roff 5
.Rs
.%A Brian W. Kernighan
--- 254,264 ----
.Cm down Ar n
commands are also ignored.
.El
.Sh SEE ALSO
.Xr mandoc 1 ,
! .Xr man 5 ,
.Xr mandoc_char 5 ,
.Xr mdoc 5 ,
.Xr roff 5
.Rs
.%A Brian W. Kernighan