2 Copyright (C) 1989-1999 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 .\" define a string tx for the TeX logo
20 .ie t .ds tx T\h'-.1667m'\v'.224m'E\v'-.224m'\h'-.125m'X
27 .\" Like TP, but if specified indent is more than half
28 .\" the current line-length - indent, use the default indent.
30 .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
33 .\" The BSD man macros can't handle " in arguments to font change macros,
34 .\" so use \(ts instead of ".
36 .TH @G@TROFF 1 "@MDATE@" "Groff Version @VERSION@"
38 @g@troff \- format documents
43 .in +\w'\fB@g@troff 'u
47 .ie \\n(.$-1 .RI "[\ \fB\\$1\fP" "\\$2" "\ ]"
48 .el .RB "[\ " "\\$1" "\ ]"
62 .RI "[\ " files\|.\|.\|. "\ ]"
66 This manual page describes the GNU version of
68 which is part of the groff document formatting system.
69 It is highly compatible with Unix troff.
70 Usually it should be invoked using the groff command, which will
71 also run preprocessors and postprocessors in the appropriate
72 order and with the appropriate options.
78 approximation of the typeset output.
81 Print a backtrace with each warning or error message. This backtrace
82 should help track down the cause of the error. The line numbers given
83 in the backtrace may not always be correct:
93 Read the standard input after all the named input files have been
97 Print the version number.
102 Available warnings are described in
103 the Warnings subsection below.
116 Inhibit all error messages.
119 Suppress formatted output.
122 Enable compatibility mode.
134 must be a one letter name.
139 as the default font family.
144 Normally this will be searched for in @MACRODIR@.
145 By default is used the
147 macro (reverted using -U ).
150 Unsafe option, avoids default use of
159 Number the first page
165 which is a comma-separated list of page ranges;
170 means print every page between
175 means print every page up to
178 means print every page from
181 will exit after printing the last page in the list.
193 must be a one character name;
195 can be any troff numeric expression.
198 Prepare output for device
200 rather than the default
209 is the name of the device)
212 file and font files before the normal
218 for macro files before the normal
221 Only the features not in Unix troff are described here.
223 The names of number registers, fonts, strings/macros/diversions,
224 special characters can be of any length. In escape sequences, where
227 for a two character name, you can use
229 for a name of arbitrary length:
232 Print the special character called
244 Interpolate number register
246 .SS Fractional pointsizes
250 is equal to 1/sizescale
252 sizescale is specified in the
255 There is a new scale indicator
257 which has the effect of multiplying by sizescale.
258 Requests and escape sequences in troff
259 interpret arguments that represent a pointsize as being in units
260 of scaled points, but they evaluate each such argument
261 using a default scale indicator of
263 Arguments treated in this way are
267 the third argument to the
270 the second and fourth arguments to the
276 and those variants of the
278 escape sequence that take a numeric expression as their argument.
280 For example, suppose sizescale is 1000;
281 then a scaled point will be equivalent to a millipoint;
286 and so sets the pointsize to 10250 scaled points,
287 which is equal to 10.25 points.
291 returns the pointsize in points as decimal fraction.
292 There is also a new number register
294 that returns the pointsize in scaled points.
296 It would make no sense to use the
298 scale indicator in a numeric expression
299 whose default scale indicator was neither
306 Similarly it would make no sense to use a scaling indicator
311 in a numeric expression whose default scale indicator was
315 disallows this as well.
317 There is also new scale indicator
319 which multiplies by the number of units in a scaled point.
324 Be sure not to confuse the
329 .SS Numeric expressions
331 Spaces are permitted in a number expression within parentheses.
334 indicates a scale of 100ths of an em.
353 as the default scaling indicator.
356 is missing, ignore scaling indicators in the evaluation of
358 .SS New escape sequences
367 is or is not acceptable as the name of a string, macro, diversion,
368 number register, environment or font.
374 This is useful if you want to lookup user input in some sort of
378 Typeset character named
380 Normally it is more convenient to use
384 has the advantage that it is compatible with recent versions of
386 and is available in compatibility mode.
389 This is equivalent to an escape character,
390 but it's not interpreted in copy-mode.
391 For example, strings to start and end superscripting could be defined
395 \&.ds { \ev'\-.3m'\es'\eEn[.s]*6u/10u'
401 ensures that these definitions will work even if
403 gets interpreted in copy-mode
404 (for example, by being used in a macro argument.)
408 Typeset the character with code
413 Most devices only have characters with codes between 0 and 255.
414 If the current font does not contain a character with that code,
420 escape sequence can be conveniently used on conjunction with the
426 \&.char \e[phone] \ef(ZD\eN'37'
429 The code of each character is given in the fourth column in the font
430 description file after the
433 It is possible to include unnamed characters in the font description
434 file by using a name of
438 escape sequence is the only way to use these.
440 .BI \eR' name\ \(+-n '
441 This has the same effect as
450 Set the point size to
454 must be exactly two digits.
463 Set the point size to
467 is a numeric expression with a default scale indicator of
475 Interpolate the contents of the environment variable
480 is interpreted in copy-mode.
487 This is approximately equivalent to
488 .BI \eX'\e*[ xxx ]'\fR.
489 However the contents of the string or macro
492 also it is permitted for
494 to have been defined as a macro and thus contain newlines
495 (it is not permitted for the argument to
497 to contain newlines).
498 The inclusion of newlines requires an extension to the Unix troff output
499 format, and will confuse drivers that do not know about this
503 Print anything and then restore the horizontal and vertical
506 may not contain tabs or leaders.
509 The name by which the current macro was invoked.
512 request can make a macro have more than one name.
515 In a macro, the concatenation of all the arguments separated by spaces.
518 In a macro, the concatenation of all the arguments with each surrounded by
519 double quotes, and separated by spaces.
524 In a macro, this gives the
529 Macros can have a unlimited number of arguments.
532 When used in a diversion, this will transparently embed
536 is read in copy mode.
537 When the diversion is reread,
541 may not contain newlines; use
543 if you want to embed newlines in a diversion.
546 is also recognised in copy mode and turned into a single internal
547 code; it is this code that terminates
558 \e?\e\e?\e\e\e\e?\e\e\e\e\e\e\e\enx\e\e\e\e?\e\e?\e?
579 This increases the width of the preceding character so that
580 the spacing between that character and the following character
581 will be correct if the following character is a roman character.
582 For example, if an italic f is immediately followed by a roman
583 right parenthesis, then in many fonts the top right portion of the f
584 will overlap the top left of the right parenthesis producing \fIf\fR)\fR,
589 .ie \n(.g \fIf\/\fR)\fR
591 and avoids this problem.
592 It is a good idea to use this escape sequence whenever an
593 italic character is immediately followed by a roman character without any
597 This modifies the spacing of the following character so that the spacing
598 between that character and the preceding character will correct if
599 the preceding character is a roman character.
600 For example, inserting
602 between the parenthesis and the f changes
604 .ie \n(.g \fR(\,\fIf\fR.
606 It is a good idea to use this escape sequence whenever a
607 roman character is immediately followed by an italic character without any
613 except that it behaves like a character declared with the
615 request to be transparent for the purposes of end of sentence recognition.
618 This produces an unbreakable space that stretches like a normal inter-word
619 space when a line is adjusted.
622 Everything up to and including the next newline is ignored.
623 This is interpreted in copy mode.
628 does not ignore the terminating newline.
634 for number register object named
636 The new name and the old name will be exactly equivalent.
639 is undefined, a warning of type
641 will be generated, and the request will be ignored.
646 for request, string, macro, or diversion object named
648 The new name and the old name will be exactly equivalent (it is similar to a
649 hard rather than a soft link).
652 is undefined, a warning of type
654 will be generated, and the request will be ignored.
663 requests only create a new object if the name of the macro, diversion
664 or string diversion is currently undefined or if it is defined to be a
665 request; normally they modify the value of an existing object.
668 This request only exists in order to make it possible
669 to make certain gross hacks work with GNU troff.
670 It `unformats' the diversion
674 characters that were formatted and diverted into
676 will be treated like ordinary input characters when
703 Print a backtrace of the input stack on stderr.
706 Set the blank line macro to
708 If there is a blank line macro,
709 it will be invoked when a blank line is encountered instead of the usual
713 Break out of a while loop.
719 Be sure not to confuse this with the
723 .BI .cflags\ n\ c1\ c2\|.\|.\|.
727 have properties determined by
729 which is ORed from the following:
733 the character ends sentences
734 (initially characters
739 lines can be broken before the character
740 (initially no characters have this property);
741 a line will not be broken at a character with this property
742 unless the characters on each side both have non-zero
746 lines can be broken after the character
747 (initially characters
750 a line will not be broken at a character with this property
751 unless the characters on each side both have non-zero
755 the character overlaps horizontally
756 (initially characters
761 the character overlaps vertically
767 an end of sentence character followed by any number of characters
768 with this property will be treated
769 as the end of a sentence if followed by a newline or two spaces;
771 the character is transparent for the purposes of end of sentence
773 this is the same as having a zero space factor in \*(tx
774 (initially characters
775 .B \(ts')]*\e(dg\e(rq
788 will be processed in a temporary environment and the result
789 will be wrapped up into a single object.
790 Compatibility mode will be turned off
791 and the escape character will be set to
796 Any emboldening, constant spacing or track kerning will be applied
797 to this object rather than to individual characters in
799 A character defined by this request can be used just like
800 a normal character provided by the output device.
801 In particular other characters can be translated to it
805 it can be made the leader character by the
808 repeated patterns can be drawn with the character using the
813 words containing the character can be hyphenated
816 request is used to give the character a hyphenation code.
817 There is a special anti-recursion feature:
818 use of character within the character's definition
819 will be handled like normal characters not defined with
821 A character definition can be removed with the
826 Chop the last character off macro, string, or diversion
828 This is useful for removing the newline from the end of diversions
829 that are to be interpolated as strings.
832 Close the stream named
835 will no longer be an acceptable argument to the
843 Finish the current iteration of a while loop.
853 is non-zero or missing, enable compatibility mode, otherwise
855 In compatibility mode, long names are not recognised, and the
856 incompatibilities caused by long names do not arise.
861 with compatibility mode disabled.
868 would have the same effect as
873 except that it would work even if compatibility mode had been enabled.
874 Note that the previous compatibility mode is restored before any files
881 Set the current font family to
883 The current font family is part of the current environment.
884 See the description of the
886 request for more information on font families.
888 .BI .fspecial\ f\ s1\ s2\|.\|.\|.
889 When the current font is
894 will be special, that is, they will searched for characters not in
896 Any fonts specified in the
898 request will be searched after fonts specified in the
907 Whenever a font named
934 will not be translated.
936 .BI .hcode \ c1\ code1\ c2\ code2\|.\|.\|.
937 Set the hyphenation code of character
945 A hyphenation code must be a single input
946 character (not a special character) other than a digit or a space.
947 Initially each lower-case letter has a hyphenation code, which
948 is itself, and each upper-case letter has a hyphenation code
949 which is the lower case version of itself.
955 Set the current hyphenation language to
957 Hyphenation exceptions specified with the
959 request and hyphenation patterns specified with the
961 request are both associated with the current hyphenation language.
964 request is usually invoked by the
969 Set the maximum number of consecutive hyphenated lines to
973 is negative, there is no maximum.
974 The default value is \-1.
975 This value is associated with the current environment.
976 Only lines output from an environment count towards the maximum associated
977 with that environment.
978 Hyphens resulting from
980 are counted; explicit hyphens are not.
983 Read hyphenation patterns from
985 this will be searched for in the same way that
987 is searched for when the
990 It should have the same format as the argument to
991 the \epatterns primitive in \*(tx;
992 the letters appearing in this file are interpreted as hyphenation
996 character in the patterns file introduces a comment that continues
997 to the end of the line.
998 The set of hyphenation patterns is associated with the current language
1005 is usually invoked by the
1011 .I hyphenation margin
1014 when the current adjustment mode is not
1016 the line will not be hyphenated if the line is no more than
1019 The default hyphenation margin is 0.
1020 The default scaling indicator for this request is
1022 The hyphenation margin is associated with the current environment.
1023 The current hyphenation margin is available in the
1029 .I hyphenation space
1032 when the current adjustment mode is
1034 don't hyphenate the line if the line can be justified by adding no more than
1036 extra space to each word space.
1037 The default hyphenation space is 0.
1038 The default scaling indicator for this request is
1040 The hyphenation space is associated with the current environment.
1041 The current hyphenation space is available in the
1048 is non-zero or missing, enable pairwise kerning, otherwise disable it.
1050 .BI .length\ xx\ string
1051 Compute the length of
1053 and return it in the number register
1055 (which is not necessarily defined before).
1062 is searched for in the same way that
1064 is searched for when the
1066 option is specified.
1071 built-in condition true
1074 built-in condition false.
1075 This can be reversed using the
1079 .BI .open\ stream\ filename
1082 for writing and associate the stream named
1091 .BI .opena\ stream\ filename
1096 exists, append to it instead of truncating it.
1099 Print the names and contents of all currently defined number registers
1102 .BI .psbb \ filename
1103 Get the bounding box of a PostScript image
1105 This file must conform to Adobe's Document Structuring Conventions; the
1108 comment to extract the bounding box values.
1109 After a successful call, the coordinates (in PostScript units) of the lower
1110 left and upper right corner can be found in the registers
1117 If some error has occurred, the four registers are set to zero.
1120 This behaves like the
1122 request except that input comes from the standard output of
1126 Print the names and positions of all traps (not including input line
1127 traps and diversion traps) on stderr. Empty slots in the page trap
1128 list are printed as well, because they can affect the priority of
1129 subsequently planted traps.
1131 .BI .rchar\ c1\ c2\|.\|.\|.
1132 Remove the definitions of characters
1135 This undoes the effect of a
1142 Right justify the next
1145 Without an argument right justify the next input line.
1146 The number of lines to be right justified is available in the
1149 This implicitly does
1153 request implicitly does
1157 Rename number register
1163 Set the soft hyphen character to
1168 the soft hyphen character will be set to the default
1170 The soft hyphen character is the character which will be inserted
1171 when a word is hyphenated at a line break.
1172 If the soft hyphen character does not exist in the font of the character
1173 immediately preceding a potential break point,
1174 then the line will not be broken at that point.
1175 Neither definitions (specified with the
1178 nor translations (specified with the
1181 are considered when finding the soft hyphen character.
1184 In a macro, shift the arguments by
1193 will no longer be available.
1197 arguments will be shifted by 1.
1198 Shifting by negative amounts is currently undefined.
1200 .BI .special\ s1\ s2\|.\|.\|.
1204 are special and will be searched for characters not in the
1212 A font position can be associated either with a font or
1214 The current font is the index of a font position and so is also
1215 either a font or a style.
1216 When it is a style, the font that is actually used is the font the
1217 name of which is the concatenation of the name of the current family
1218 and the name of the current style.
1219 For example, if the current font is 1 and font position 1 is
1220 associated with style
1228 If the current font is not a style, then the current family is ignored.
1236 are applied to a style,
1237 then they will instead be applied to the member of the
1238 current family corresponding to that style.
1239 The default family can be set with the
1242 The styles command in the
1244 file controls which font positions
1245 (if any) are initially associated with styles rather than fonts.
1247 .BI .substring\ xx\ n1\ [ n2 ]
1248 Replace the string in register
1250 with the substring defined by the indices
1254 The first character in the string has index one.
1257 is omitted, it is taken to be equal to the string's length. If the
1262 is negative or zero, it will be counted from the end of the string,
1263 going backwards: The last character has index 0, the character before
1264 the last character has index -1, etc.
1266 .BI .tkf\ f\ s1\ n1\ s2\ n2
1267 Enable track kerning for font
1269 When the current font is
1271 the width of every character will be increased by an amount
1276 when the current point size is less than or equal to
1278 the width will be increased by
1280 when it is greater than or equal to
1282 the width will be increased by
1284 when the point size is greater than or equal to
1286 and less than or equal to
1288 the increase in width is a linear function of the point size.
1291 Transparently output the contents of file
1293 Each line is output as it would be were it preceded by
1295 however, the lines are not subject to copy-mode interpretation.
1296 If the file does not end with a newline, then a newline will
1298 For example, you can define a macro
1300 containing the contents of file
1314 the file cannot contain characters such as
1316 that are not legal troff input characters.
1320 This is the same as the
1322 request except that the translations do not apply to text that is
1323 transparently throughput into a diversion with
1351 built-in condition false,
1354 built-in condition true.
1355 This undoes the effect of the
1360 Enable vertical position traps if
1362 is non-zero, disable them otherwise.
1363 Vertical position traps are traps set by the
1370 request are not vertical position traps.
1371 The parameter that controls whether vertical position traps are enabled
1373 Initially vertical position traps are enabled.
1378 is the sum of the numbers associated with each warning that is to be enabled;
1379 all other warnings will be disabled.
1380 The number associated with each warning is listed in the `Warnings' section.
1383 will disable all warnings, and
1385 will disable all warnings except that about missing characters.
1389 all warnings will be enabled.
1391 .BI .while \ c\ anything
1398 can be any condition acceptable to an
1402 can comprise multiple lines if the first line starts with
1404 and the last line ends with
1412 .BI .write\ stream\ anything
1418 must previously have been the subject of an
1422 is read in copy mode;
1426 .SS Extended requests
1429 When used in a diversion, this will embed in the diversion an object which,
1430 when reread, will cause the contents of
1432 to be transparently copied through to the output.
1436 is immediately copied through to the output regardless of whether
1437 there is a current diversion; this behaviour is so anomalous that it
1438 must be considered a bug.
1443 is not a number, this will switch to a named environment called
1445 The environment should be popped with a matching
1447 request without any arguments, just as for numbered environments.
1448 There is no limit on the number of named environments; they will be
1449 created the first time that they are referenced.
1454 request has an optional third argument.
1455 This argument gives the external name of the font,
1456 which is used for finding the font description file.
1457 The second argument gives the internal name of the font
1458 which is used to refer to the font in troff after it has been mounted.
1459 If there is no third argument then the internal name will be used
1460 as the external name.
1461 This feature allows you to use fonts with long names in compatibility mode.
1464 When two arguments are given to the
1466 request, the second argument gives the
1467 .IR "sentence space size" .
1468 If the second argument is not given, the sentence space size
1469 will be the same as the word space size.
1470 Like the word space size, the sentence space is in units of
1471 one twelfth of the spacewidth parameter for the current font.
1472 Initially both the word space size and the sentence
1474 The sentence space size is used in two circumstances:
1475 if the end of a sentence occurs at the end of a line in fill mode, then
1476 both an inter-word space and a sentence space will be added;
1477 if two spaces follow the end of a sentence in the middle of a line,
1478 then the second space will be a sentence space.
1479 Note that the behaviour of Unix troff will be exactly
1480 that exhibited by GNU troff if a second argument is never given to the
1483 In GNU troff, as in Unix troff, you should always
1484 follow a sentence with either a newline or two spaces.
1486 .BI .ta\ n1\ n2\|.\|.\|.nn \ T\ r1\ r2\|.\|.\|.\|rn
1487 Set tabs at positions
1489 .IR n2 ,\|.\|.\|.\|,
1491 and then set tabs at
1493 .IR nn + r2 ,\|.\|.\|.\|.\|,
1497 .IR nn + rn + r2 ,\|.\|.\|.\|,
1506 will set tabs every half an inch.
1508 .SS New number registers
1509 The following read-only registers are available:
1512 1 if compatibility mode is in effect, 0 otherwise.
1515 The depth of the last character added to the current environment.
1516 It is positive if the character extends below the baseline.
1519 The number of lines remaining to be centered, as set by the
1524 The height of the last character added to the current environment.
1525 It is positive if the character extends above the baseline.
1528 The skew of the last character added to the current environment.
1531 of a character is how far to the right of the center of a character
1532 the center of an accent over that character should be placed.
1535 The name or number of the current environment.
1536 This is a string-valued register.
1539 The current font family.
1540 This is a string-valued register.
1543 The number of the next free font position.
1547 Macros should use this to determine whether they are running
1551 The current hyphenation language as set by the
1556 The number of immediately preceding consecutive hyphenated lines.
1559 The maximum allowed number of consecutive hyphenated lines, as set by the
1564 The current hyphenation flags (as set by the
1569 The current hyphenation margin (as set by the
1574 The current hyphenation space (as set by the
1579 The indent that applies to the current output line.
1583 if pairwise kerning is enabled,
1588 The current ligature mode (as set by the
1593 The line length that applies to the current output line.
1596 The title length as set by the
1601 The amount of space that was needed in the last
1603 request that caused a trap to be sprung.
1604 Useful in conjunction with the
1609 The number of the next page:
1610 either the value set by a
1612 request, or the number of the current page plus 1.
1615 The current pointsize in scaled points.
1618 The last-requested pointsize in scaled points.
1621 The number of lines to be right-justified as set by the
1626 The last requested pointsize in points as a decimal fraction.
1627 This is a string-valued register.
1630 A string representation of the current tab settings suitable for use as
1636 The amount of vertical space truncated by the most recently sprung
1637 vertical position trap, or,
1638 if the trap was sprung by a
1641 minus the amount of vertical motion produced by the
1644 In other words, at the point a trap is sprung, it represents the difference
1645 of what the vertical position would have been but for the trap,
1646 and what the vertical position actually is.
1647 Useful in conjunction with the
1654 These give the values of the parameters set by the
1655 first and second arguments of the
1660 1 if vertical position traps are enabled, 0 otherwise.
1663 The sum of the numbers associated with each of the currently enabled
1665 The number associated with each warning is listed in the `Warnings'
1669 The major version number.
1670 For example, if the version number is
1678 The minor version number.
1679 For example, if the version number is
1687 The revision number of groff.
1696 These four registers are set by the
1698 request and contain the bounding box values (in PostScript units) of a given
1701 The following registers are set by the
1712 registers, but takes account of the heights and depths of characters.
1715 The amount of horizontal space (possibly negative) that should
1716 be added to the last character before a subscript.
1719 How far to right of the center of the last character
1723 the center of an accent from a roman font should be placed over that character.
1725 The following read/write number registers are available:
1728 The return value of the system() function executed by the last
1733 If greater than 0, the maximum number of objects on the input stack.
1734 If less than or equal to 0, there is no limit on the number of objects
1735 on the input stack. With no limit, recursion can continue until
1736 virtual memory is exhausted.
1740 Note that the traditional
1744 is the current year minus 1900.
1747 Fonts not listed in the
1749 file are automatically mounted on the next available font position
1750 when they are referenced.
1751 If a font is to be mounted explicitly with the
1753 request on an unused font position,
1754 it should be mounted on the first unused font position,
1755 which can be found in the
1760 does not enforce this strictly,
1761 it will not allow a font to be mounted at a position whose number is much
1762 greater than that of any currently used position.
1764 Interpolating a string does not hide existing macro arguments.
1765 Thus in a macro, a more efficient way of doing
1773 If the font description file contains pairwise kerning information,
1774 characters from that font will be kerned.
1775 Kerning between two characters can be inhibited by placing a
1779 In a string comparison in a condition,
1780 characters that appear at different input levels
1781 to the first delimiter character will not be recognised
1782 as the second or third delimiters.
1783 This applies also to the
1789 a character that appears at a different input level to
1790 the starting delimiter character will not be recognised
1791 as the closing delimiter character.
1792 When decoding a macro argument that is delimited
1793 by double quotes, a character that appears at a different
1794 input level to the starting delimiter character will not
1795 be recognised as the closing delimiter character.
1796 The implementation of
1798 ensures that the double quotes surrounding an argument
1799 will appear the same input level, which will be different
1800 to the input level of the argument itself.
1801 In a long escape name
1803 will not be recognized as a closing delimiter except
1804 when it occurs at the same input level as the opening
1806 In compatibility mode, no attention is paid to the input-level.
1808 There are some new types of condition:
1811 True if there is a number register named
1815 True if there is a string, macro, diversion, or request named
1819 True if there is a character
1826 or a special character
1830 the condition will also be true if
1832 has been defined by the
1836 The warnings that can be given by
1838 are divided into the following categories.
1839 The name associated with each warning is used by the
1844 the number is used by the
1849 .nr x \w'\fBright-brace'+1n+\w'0000'u
1853 Non-existent characters.
1854 This is enabled by default.
1857 Invalid numeric expressions.
1858 This is enabled by default.
1861 In fill mode, lines which could not be broken so that their length was
1862 less than the line length.
1863 This is enabled by default.
1866 Missing or mismatched closing delimiters.
1871 request with no matching
1876 Meaningless scaling indicators.
1879 Out of range arguments.
1882 Dubious syntax in numeric expressions.
1889 without an argument when there is no current diversion.
1892 Use of undefined strings, macros and diversions.
1893 When an undefined string, macro or diversion is used,
1894 that string is automatically defined as empty.
1895 So, in most cases, at most one warning will be given for
1899 Use of undefined number registers.
1900 When an undefined number register is used,
1901 that register is automatically defined to have a value of 0.
1902 a definition is automatically made with a value of 0.
1903 So, in most cases, at most one warning will be given for
1904 use of a particular name.
1907 Inappropriate use of a tab character.
1908 Either use of a tab character where a number was expected,
1909 or use of tab character in an unquoted macro argument.
1911 .BR right-brace \t4096
1914 where a number was expected.
1917 Requests that are missing non-optional arguments.
1920 Illegal input characters.
1923 Unrecognized escape sequences.
1924 When an unrecognized escape sequence is encountered,
1925 the escape character is ignored.
1928 Missing space between a request or macro and its argument.
1929 This warning will be given
1930 when an undefined name longer than two characters is encountered,
1931 and the first two characters of the name make a defined name.
1932 The request or macro will not be invoked.
1933 When this warning is given, no macro is automatically defined.
1934 This is enabled by default.
1935 This warning will never occur in compatibility mode.
1939 This is enabled by default.
1942 Illegal escapes in text ignored with the
1945 These are conditions that are errors when they do not occur
1948 There are also names that can be used to refer to groups of warnings:
1956 It is intended that this covers all warnings
1957 that are useful with traditional macro packages.
1961 .SS Incompatibilities
1963 Long names cause some incompatibilities.
1964 Unix troff will interpret
1969 as defining a string
1973 Normally, GNU troff will interpret this as a call of a macro named
1975 Also Unix troff will interpret
1979 as references to a string or number register called
1981 In GNU troff, however, this will normally be interpreted as the start
1984 .I compatibility mode
1985 GNU troff will interpret these things in the traditional way.
1986 In compatibility mode, however, long names are not recognised.
1987 Compatibility mode can be turned on with the
1989 command line option, and turned on or off with the
1994 is 1 if compatibility mode is on, 0 otherwise.
1997 does not allow the use of the escape sequences
1998 .BR \\e\e|\e^\e&\e}\e{\e (space) \e'\e`\e-\e_\e!\e%\ec
1999 in names of strings, macros, diversions, number registers,
2000 fonts or environments; Unix troff does.
2003 escape sequence may be helpful in avoiding use of these
2004 escape sequences in names.
2006 Fractional pointsizes cause one noteworthy incompatibility.
2009 request ignores scale indicators and so
2013 will set the pointsize to 10 points, whereas in
2014 GNU troff it will set the pointsize to 10 scaled points.
2016 In GNU troff there is a fundamental difference between unformatted,
2017 input characters, and formatted, output characters.
2018 Everything that affects how an output character
2019 will be output is stored with the character; once an output
2020 character has been constructed it is unaffected by any subsequent
2021 requests that are executed, including
2029 Normally output characters are constructed from input
2030 characters at the moment immediately before the character
2031 is added to the current output line.
2032 Macros, diversions and strings are all, in fact, the same type
2033 of object; they contain lists of input characters and output
2034 characters in any combination.
2035 An output character does not behave like an input character
2036 for the purposes of macro processing; it does not inherit any
2037 of the special properties that the input character from which it
2038 was constructed might have had.
2056 is turned into one output
2058 and the resulting output
2060 are not interpreted as escape characters when they are reread.
2061 Unix troff would interpret them as escape characters
2062 when they were reread and would end up printing one
2064 The correct way to obtain a printable
2068 escape sequence: this will always print a single instance of the
2069 current escape character, regardless of whether or not it is used in a
2070 diversion; it will also work in both GNU troff and Unix troff.
2071 If you wish for some reason to store in a diversion an escape
2072 sequence that will be interpreted when the diversion is reread,
2073 you can either use the traditional
2075 transparent output facility, or, if this is unsuitable, the new
2082 A colon separated list of directories in which to search for
2091 A colon separated list of directories in which to search for the
2095 will search in directories given in the
2097 option before these, and in standard directories
2101 .Tp \w'@FONTDIR@/devname/DESC'u+3n
2102 .B @MACRODIR@/troffrc
2105 .BI @MACRODIR@/tmac. name
2108 .BI @FONTDIR@/dev name /DESC
2109 Device description file for device
2112 .BI @FONTDIR@/dev name / F
2118 .BR groff (@MAN1EXT@),
2119 .BR @g@tbl (@MAN1EXT@),
2120 .BR @g@pic (@MAN1EXT@),
2121 .BR @g@eqn (@MAN1EXT@),
2122 .BR grops (@MAN1EXT@),
2123 .BR grodvi (@MAN1EXT@),
2124 .BR grotty (@MAN1EXT@),
2125 .BR grohtml (@MAN1EXT@),
2126 .BR groff_font (@MAN5EXT@),
2127 .BR groff_out (@MAN5EXT@),
2128 .BR groff_char (@MAN7EXT@)