2 Copyright (C) 1989-1995 Free Software Foundation, Inc.
4 Permission is granted to make and distribute verbatim copies of
5 this manual provided the copyright notice and this permission notice
6 are preserved on all copies.
8 Permission is granted to copy and distribute modified versions of this
9 manual under the conditions for verbatim copying, provided that the
10 entire resulting derived work is distributed under the terms of a
11 permission notice identical to this one.
13 Permission is granted to copy and distribute translations of this
14 manual into another language, under the above conditions for modified
15 versions, except that this permission notice may be included in
16 translations approved by the Free Software Foundation instead of in
19 .TH GROFF_MS @MAN7EXT@ "@MDATE@" "Groff Version @VERSION@"
21 groff_ms \- groff ms macros
24 .B \-m@TMAC_S_PREFIX@s
32 This manual page describes the GNU version of the ms macros,
33 which is part of the groff document formatting system.
34 The groff ms macros are intended to be compatible with the
35 documented behaviour of the 4.3
37 Unix ms macros subject to the following limitations:
39 the internals of groff ms are not similar to the internals of Unix ms
40 and so documents that depend upon implementation details of Unix ms
41 may well not work with groff ms;
43 there is no support for typewriter-like devices;
45 Berkeley localisms, in particular the
49 macros, are not implemented;
52 does not provide cut marks;
54 multiple line spacing is not allowed
55 (use a larger vertical spacing instead);
57 groff ms does not work in compatibility mode (eg with the
61 the error-handling policy of groff ms
62 is to detect and report errors,
63 rather than silently to ignore them.
65 The groff ms macros make use of many features of GNU troff
66 and therefore cannot be used with any other troff.
68 Bell Labs localisms are not implemented in either the
70 ms macros or in the groff ms macros.
72 Some Unix ms documentation says that the
76 number registers can be used to control the column width and
77 gutter width respectively.
79 These number registers are not used in groff ms.
81 Macros that cause a reset set the indent.
82 Macros that change the indent do not increment or decrement
83 the indent, but rather set it absolutely.
84 This can cause problems for documents that define
85 additional macros of their own.
86 The solution is to use not the
88 request but instead the
96 is set to 1 by the groff ms macros,
97 but is not used by the Unix ms macros.
98 It is intended that documents that need to determine whether
99 they are being formatted with Unix ms or groff ms make use of this
102 Footnotes are implemented so that they can safely be used within
104 Automatically numbered footnotes within floating keeps are
106 It is safe to have another
110 and the corresponding
112 it is required only that each
114 occur after the corresponding
116 and that the occurrences of
118 are in the same order as the corresponding occurrences of
125 can be used to begin and end a superscript.
127 Some Unix V10 ms features are implemented.
133 macros can have an optional third argument which will be printed
134 in the current font before the first argument.
139 that changes to a constant-width font.
141 The following strings can be redefined to adapt the groff ms macros
142 to languages other than English:
145 .ta \w'REFERENCES'u+2n
148 REFERENCES References
150 TOC Table of Contents
165 The font family is reset from the string
167 at initialization if this string is undefined it is set to the current
169 The point size, vertical spacing, and inter-paragraph spacing for footnotes
170 are taken from the number registers
175 at initialization these are set to
180 respectively; however, if any of these registers has been defined
181 before initialization, it will not be set.
182 The hyphenation flags (as set by the
184 request) are set from the
187 if this has not been defined at initialization,
188 it will be set to 14.
190 Right-aligned displays are available with
195 The following conventions are used for names of macros, strings and
197 External names available to documents that use the groff ms
198 macros contain only uppercase letters and digits.
199 Internally the macros are divided into modules.
200 Names used only within one module are of the form
201 .IB module * name\fR.
202 Names used outside the module in which they are defined are of the form
203 .IB module @ name\fR.
204 Names associated with a particular environment are of the form
205 .IB environment : name;
206 these are used only within the
211 does not have a module prefix.
212 Constructed names used to implement arrays are of the form
213 .IB array ! index\fR.
214 Thus the groff ms macros reserve the following names:
225 names containing only uppercase letters and digits.
227 .B @MACRODIR@/tmac.@TMAC_S_PREFIX@s
229 .BR groff (@MAN1EXT@),
230 .BR @g@troff (@MAN1EXT@),
231 .BR @g@tbl (@MAN1EXT@),
232 .BR @g@pic (@MAN1EXT@),
233 .BR @g@eqn (@MAN1EXT@)