This section lists the (minor) differences between the
macros and AT&T
troff -ms macros.
groff -msdiffer from the internals of AT&T
troff -ms. Documents that depend upon implementation details of AT&T
troff -msmay not format properly with
groff -msis to detect and report errors, rather than silently to ignore them.
groff -msdoes not work in compatibility mode (this is, with the -C option).
groff -msdoes not provide cut marks.
msdocumentation says that the
GWnumber registers can be used to control the column width and gutter width, respectively. These number registers are not used in
inrequest but instead the
groff -msuse the default page offset (which also specifies the left margin), the
POregister must stay undefined until the first -ms macro is evaluated. This implies that
POshould not be used early in the document, unless it is changed also: Remember that accessing an undefined register automatically defines it.
This number register is set to 1 by the
groff -ms macros,
but it is not used by the
troff -ms macros.
Documents that need to determine whether they are being formatted with
troff -ms or
groff -ms should use this number
Emulations of a few ancient Bell Labs macros can be re-enabled by
calling the otherwise undocumented
SC section-header macro.
UC for marking up a product or
application name, and the pair
P2 for surrounding code
These are not enabled by default because (a) they were not
documented, in the original
ms manual, and (b) the
UC macros collide with different macros with the same names
in the Berkeley version of
groff emulations are sufficient to give back the 1976
Kernighan & Cherry paper Typsetting Mathematics – User’s
Guide its section headings, and restore some text that had gone missing
as arguments of undefined macros. No warranty express or implied is
given as to how well the typographic details these produce match the
original Bell Labs macros.
|• Missing ms Macros:|
|• Additional ms Macros:|