2 Copyright (C) 1989-2000 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 @MAN1EXT@ "@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 It is possible to have whitespace between a command line option and its
69 This manual page describes the GNU version of
71 which is part of the groff document formatting system.
72 It is highly compatible with Unix troff.
73 Usually it should be invoked using the groff command, which will
74 also run preprocessors and postprocessors in the appropriate
75 order and with the appropriate options.
81 approximation of the typeset output.
84 Print a backtrace with each warning or error message. This backtrace
85 should help track down the cause of the error. The line numbers given
86 in the backtrace may not always be correct:
96 Read the standard input after all the named input files have been
100 Print the version number.
105 Available warnings are described in
106 the Warnings subsection below.
119 Inhibit all error messages.
122 Suppress formatted output.
125 Enable compatibility mode.
137 must be a one letter name.
142 as the default font family.
147 Normally this will be searched for in @MACRODIR@.
150 macro is used (this can be reverted using
154 Unsafe option, avoids default use of
165 Number the first page
171 which is a comma-separated list of page ranges;
176 means print every page between
181 means print every page up to
184 means print every page from
187 will exit after printing the last page in the list.
199 must be a one character name;
201 can be any troff numeric expression.
204 Prepare output for device
206 rather than the default
215 is the name of the device)
218 file and font files before the normal
224 for macro files before the normal
227 Only the features not in Unix troff are described here.
229 The names of number registers, fonts, strings/macros/diversions,
230 special characters can be of any length. In escape sequences, where
233 for a two character name, you can use
235 for a name of arbitrary length:
238 Print the special character called
250 Interpolate number register
252 .SS Fractional pointsizes
256 is equal to 1/sizescale
258 sizescale is specified in the
261 There is a new scale indicator
263 which has the effect of multiplying by sizescale.
264 Requests and escape sequences in troff
265 interpret arguments that represent a pointsize as being in units
266 of scaled points, but they evaluate each such argument
267 using a default scale indicator of
269 Arguments treated in this way are
273 the third argument to the
276 the second and fourth arguments to the
282 and those variants of the
284 escape sequence that take a numeric expression as their argument.
286 For example, suppose sizescale is 1000;
287 then a scaled point will be equivalent to a millipoint;
292 and so sets the pointsize to 10250 scaled points,
293 which is equal to 10.25 points.
297 returns the pointsize in points as decimal fraction.
298 There is also a new number register
300 that returns the pointsize in scaled points.
302 It would make no sense to use the
304 scale indicator in a numeric expression
305 whose default scale indicator was neither
312 Similarly it would make no sense to use a scaling indicator
317 in a numeric expression whose default scale indicator was
321 disallows this as well.
323 There is also new scale indicator
325 which multiplies by the number of units in a scaled point.
330 Be sure not to confuse the
335 .SS Numeric expressions
337 Spaces are permitted in a number expression within parentheses.
340 indicates a scale of 100ths of an em.
359 as the default scaling indicator.
362 is missing, ignore scaling indicators in the evaluation of
364 .SS New escape sequences
373 is or is not acceptable as the name of a string, macro, diversion,
374 number register, environment or font.
380 This is useful if you want to lookup user input in some sort of
384 Typeset character named
386 Normally it is more convenient to use
390 has the advantage that it is compatible with recent versions of
392 and is available in compatibility mode.
395 This is equivalent to an escape character,
396 but it's not interpreted in copy-mode.
397 For example, strings to start and end superscripting could be defined
401 \&.ds { \ev'\-.3m'\es'\eEn[.s]*6u/10u'
407 ensures that these definitions will work even if
409 gets interpreted in copy-mode
410 (for example, by being used in a macro argument.)
414 Typeset the character with code
419 Most devices only have characters with codes between 0 and 255.
420 If the current font does not contain a character with that code,
426 escape sequence can be conveniently used on conjunction with the
432 \&.char \e[phone] \ef(ZD\eN'37'
435 The code of each character is given in the fourth column in the font
436 description file after the
439 It is possible to include unnamed characters in the font description
440 file by using a name of
444 escape sequence is the only way to use these.
446 .BI \eR' name\ \(+-n '
447 This has the same effect as
456 Set the point size to
460 must be exactly two digits.
469 Set the point size to
473 is a numeric expression with a default scale indicator of
481 Interpolate the contents of the environment variable
486 is interpreted in copy-mode.
493 This is approximately equivalent to
494 .BI \eX'\e*[ xxx ]'\fR.
495 However the contents of the string or macro
498 also it is permitted for
500 to have been defined as a macro and thus contain newlines
501 (it is not permitted for the argument to
503 to contain newlines).
504 The inclusion of newlines requires an extension to the Unix troff output
505 format, and will confuse drivers that do not know about this
509 Print anything and then restore the horizontal and vertical
512 may not contain tabs or leaders.
515 The name by which the current macro was invoked.
518 request can make a macro have more than one name.
521 In a macro, the concatenation of all the arguments separated by spaces.
524 In a macro, the concatenation of all the arguments with each surrounded by
525 double quotes, and separated by spaces.
530 In a macro, this gives the
535 Macros can have a unlimited number of arguments.
538 When used in a diversion, this will transparently embed
542 is read in copy mode.
543 When the diversion is reread,
547 may not contain newlines; use
549 if you want to embed newlines in a diversion.
552 is also recognised in copy mode and turned into a single internal
553 code; it is this code that terminates
564 \e?\e\e?\e\e\e\e?\e\e\e\e\e\e\e\enx\e\e\e\e?\e\e?\e?
585 This increases the width of the preceding character so that
586 the spacing between that character and the following character
587 will be correct if the following character is a roman character.
588 For example, if an italic f is immediately followed by a roman
589 right parenthesis, then in many fonts the top right portion of the f
590 will overlap the top left of the right parenthesis producing \fIf\fR)\fR,
595 .ie \n(.g \fIf\/\fR)\fR
597 and avoids this problem.
598 It is a good idea to use this escape sequence whenever an
599 italic character is immediately followed by a roman character without any
603 This modifies the spacing of the following character so that the spacing
604 between that character and the preceding character will correct if
605 the preceding character is a roman character.
606 For example, inserting
608 between the parenthesis and the f changes
610 .ie \n(.g \fR(\,\fIf\fR.
612 It is a good idea to use this escape sequence whenever a
613 roman character is immediately followed by an italic character without any
619 except that it behaves like a character declared with the
621 request to be transparent for the purposes of end of sentence recognition.
624 This produces an unbreakable space that stretches like a normal inter-word
625 space when a line is adjusted.
628 Everything up to and including the next newline is ignored.
629 This is interpreted in copy mode.
634 does not ignore the terminating newline.
640 for number register object named
642 The new name and the old name will be exactly equivalent.
645 is undefined, a warning of type
647 will be generated, and the request will be ignored.
652 for request, string, macro, or diversion object named
654 The new name and the old name will be exactly equivalent (it is similar to a
655 hard rather than a soft link).
658 is undefined, a warning of type
660 will be generated, and the request will be ignored.
669 requests only create a new object if the name of the macro, diversion
670 or string diversion is currently undefined or if it is defined to be a
671 request; normally they modify the value of an existing object.
674 This request only exists in order to make it possible
675 to make certain gross hacks work with GNU troff.
676 It `unformats' the diversion
680 characters that were formatted and diverted into
682 will be treated like ordinary input characters when
709 Print a backtrace of the input stack on stderr.
712 Set the blank line macro to
714 If there is a blank line macro,
715 it will be invoked when a blank line is encountered instead of the usual
719 Break out of a while loop.
725 Be sure not to confuse this with the
729 .BI .cflags\ n\ c1\ c2\|.\|.\|.
733 have properties determined by
735 which is ORed from the following:
739 the character ends sentences
740 (initially characters
745 lines can be broken before the character
746 (initially no characters have this property);
747 a line will not be broken at a character with this property
748 unless the characters on each side both have non-zero
752 lines can be broken after the character
753 (initially characters
756 a line will not be broken at a character with this property
757 unless the characters on each side both have non-zero
761 the character overlaps horizontally
762 (initially characters
767 the character overlaps vertically
773 an end of sentence character followed by any number of characters
774 with this property will be treated
775 as the end of a sentence if followed by a newline or two spaces;
777 the character is transparent for the purposes of end of sentence
779 this is the same as having a zero space factor in \*(tx
780 (initially characters
781 .B \(ts')]*\e(dg\e(rq
794 will be processed in a temporary environment and the result
795 will be wrapped up into a single object.
796 Compatibility mode will be turned off
797 and the escape character will be set to
802 Any emboldening, constant spacing or track kerning will be applied
803 to this object rather than to individual characters in
805 A character defined by this request can be used just like
806 a normal character provided by the output device.
807 In particular other characters can be translated to it
811 it can be made the leader character by the
814 repeated patterns can be drawn with the character using the
819 words containing the character can be hyphenated
822 request is used to give the character a hyphenation code.
823 There is a special anti-recursion feature:
824 use of character within the character's definition
825 will be handled like normal characters not defined with
827 A character definition can be removed with the
832 Chop the last character off macro, string, or diversion
834 This is useful for removing the newline from the end of diversions
835 that are to be interpolated as strings.
838 Close the stream named
841 will no longer be an acceptable argument to the
849 Finish the current iteration of a while loop.
859 is non-zero or missing, enable compatibility mode, otherwise
861 In compatibility mode, long names are not recognised, and the
862 incompatibilities caused by long names do not arise.
867 with compatibility mode disabled.
874 would have the same effect as
879 except that it would work even if compatibility mode had been enabled.
880 Note that the previous compatibility mode is restored before any files
887 Copy the contents of environment
889 to the current environment.
890 No pushing or popping of environents will be done.
893 Set the current font family to
895 The current font family is part of the current environment.
896 See the description of the
898 request for more information on font families.
900 .BI .fspecial\ f\ s1\ s2\|.\|.\|.
901 When the current font is
906 will be special, that is, they will searched for characters not in
908 Any fonts specified in the
910 request will be searched after fonts specified in the
919 Whenever a font named
946 will not be translated.
948 .BI .hcode \ c1\ code1\ c2\ code2\|.\|.\|.
949 Set the hyphenation code of character
957 A hyphenation code must be a single input
958 character (not a special character) other than a digit or a space.
959 Initially each lower-case letter has a hyphenation code, which
960 is itself, and each upper-case letter has a hyphenation code
961 which is the lower case version of itself.
967 Set the current hyphenation language to
969 Hyphenation exceptions specified with the
971 request and hyphenation patterns specified with the
973 request are both associated with the current hyphenation language.
976 request is usually invoked by the
981 Set the maximum number of consecutive hyphenated lines to
985 is negative, there is no maximum.
986 The default value is \-1.
987 This value is associated with the current environment.
988 Only lines output from an environment count towards the maximum associated
989 with that environment.
990 Hyphens resulting from
992 are counted; explicit hyphens are not.
995 Read hyphenation patterns from
997 this will be searched for in the same way that
999 is searched for when the
1001 option is specified.
1002 It should have the same format as the argument to
1003 the \epatterns primitive in \*(tx;
1004 the letters appearing in this file are interpreted as hyphenation
1008 character in the patterns file introduces a comment that continues
1009 to the end of the line.
1010 The set of hyphenation patterns is associated with the current language
1017 is usually invoked by the
1023 .I hyphenation margin
1026 when the current adjustment mode is not
1028 the line will not be hyphenated if the line is no more than
1031 The default hyphenation margin is 0.
1032 The default scaling indicator for this request is
1034 The hyphenation margin is associated with the current environment.
1035 The current hyphenation margin is available in the
1041 .I hyphenation space
1044 when the current adjustment mode is
1046 don't hyphenate the line if the line can be justified by adding no more than
1048 extra space to each word space.
1049 The default hyphenation space is 0.
1050 The default scaling indicator for this request is
1052 The hyphenation space is associated with the current environment.
1053 The current hyphenation space is available in the
1060 is non-zero or missing, enable pairwise kerning, otherwise disable it.
1062 .BI .length\ xx\ string
1063 Compute the length of
1065 and return it in the number register
1067 (which is not necessarily defined before).
1074 is searched for in the same directories as
1076 is searched for when the
1078 option is specified.
1083 built-in condition true
1086 built-in condition false.
1087 This can be reversed using the
1091 .BI .open\ stream\ filename
1094 for writing and associate the stream named
1103 .BI .opena\ stream\ filename
1108 exists, append to it instead of truncating it.
1111 Print the names and contents of all currently defined number registers
1114 .BI .psbb \ filename
1115 Get the bounding box of a PostScript image
1117 This file must conform to Adobe's Document Structuring Conventions; the
1120 comment to extract the bounding box values.
1121 After a successful call, the coordinates (in PostScript units) of the lower
1122 left and upper right corner can be found in the registers
1129 If some error has occurred, the four registers are set to zero.
1132 This behaves like the
1134 request except that input comes from the standard output of
1138 Print the names and positions of all traps (not including input line
1139 traps and diversion traps) on stderr. Empty slots in the page trap
1140 list are printed as well, because they can affect the priority of
1141 subsequently planted traps.
1143 .BI .rchar\ c1\ c2\|.\|.\|.
1144 Remove the definitions of characters
1147 This undoes the effect of a
1154 Right justify the next
1157 Without an argument right justify the next input line.
1158 The number of lines to be right justified is available in the
1161 This implicitly does
1165 request implicitly does
1169 Rename number register
1175 Set the soft hyphen character to
1180 the soft hyphen character will be set to the default
1182 The soft hyphen character is the character which will be inserted
1183 when a word is hyphenated at a line break.
1184 If the soft hyphen character does not exist in the font of the character
1185 immediately preceding a potential break point,
1186 then the line will not be broken at that point.
1187 Neither definitions (specified with the
1190 nor translations (specified with the
1193 are considered when finding the soft hyphen character.
1196 In a macro, shift the arguments by
1205 will no longer be available.
1209 arguments will be shifted by 1.
1210 Shifting by negative amounts is currently undefined.
1212 .BI .special\ s1\ s2\|.\|.\|.
1216 are special and will be searched for characters not in the
1224 A font position can be associated either with a font or
1226 The current font is the index of a font position and so is also
1227 either a font or a style.
1228 When it is a style, the font that is actually used is the font the
1229 name of which is the concatenation of the name of the current family
1230 and the name of the current style.
1231 For example, if the current font is 1 and font position 1 is
1232 associated with style
1240 If the current font is not a style, then the current family is ignored.
1248 are applied to a style,
1249 then they will instead be applied to the member of the
1250 current family corresponding to that style.
1251 The default family can be set with the
1254 The styles command in the
1256 file controls which font positions
1257 (if any) are initially associated with styles rather than fonts.
1259 .BI .substring\ xx\ n1\ [ n2 ]
1260 Replace the string in register
1262 with the substring defined by the indices
1266 The first character in the string has index one.
1269 is omitted, it is taken to be equal to the string's length. If the
1274 is negative or zero, it will be counted from the end of the string,
1275 going backwards: The last character has index 0, the character before
1276 the last character has index -1, etc.
1278 .BI .tkf\ f\ s1\ n1\ s2\ n2
1279 Enable track kerning for font
1281 When the current font is
1283 the width of every character will be increased by an amount
1288 when the current point size is less than or equal to
1290 the width will be increased by
1292 when it is greater than or equal to
1294 the width will be increased by
1296 when the point size is greater than or equal to
1298 and less than or equal to
1300 the increase in width is a linear function of the point size.
1303 Transparently output the contents of file
1305 Each line is output as it would be were it preceded by
1307 however, the lines are not subject to copy-mode interpretation.
1308 If the file does not end with a newline, then a newline will
1310 For example, you can define a macro
1312 containing the contents of file
1326 the file cannot contain characters such as
1328 that are not legal troff input characters.
1332 This is the same as the
1334 request except that the translations do not apply to text that is
1335 transparently throughput into a diversion with
1363 built-in condition false,
1366 built-in condition true.
1367 This undoes the effect of the
1372 Enable vertical position traps if
1374 is non-zero, disable them otherwise.
1375 Vertical position traps are traps set by the
1382 request are not vertical position traps.
1383 The parameter that controls whether vertical position traps are enabled
1385 Initially vertical position traps are enabled.
1390 is the sum of the numbers associated with each warning that is to be enabled;
1391 all other warnings will be disabled.
1392 The number associated with each warning is listed in the `Warnings' section.
1395 will disable all warnings, and
1397 will disable all warnings except that about missing characters.
1401 all warnings will be enabled.
1403 .BI .while \ c\ anything
1410 can be any condition acceptable to an
1414 can comprise multiple lines if the first line starts with
1416 and the last line ends with
1424 .BI .write\ stream\ anything
1430 must previously have been the subject of an
1434 is read in copy mode;
1438 .SS Extended requests
1441 When used in a diversion, this will embed in the diversion an object which,
1442 when reread, will cause the contents of
1444 to be transparently copied through to the output.
1448 is immediately copied through to the output regardless of whether
1449 there is a current diversion; this behaviour is so anomalous that it
1450 must be considered a bug.
1455 is not a number, this will switch to a named environment called
1457 The environment should be popped with a matching
1459 request without any arguments, just as for numbered environments.
1460 There is no limit on the number of named environments; they will be
1461 created the first time that they are referenced.
1466 request has an optional third argument.
1467 This argument gives the external name of the font,
1468 which is used for finding the font description file.
1469 The second argument gives the internal name of the font
1470 which is used to refer to the font in troff after it has been mounted.
1471 If there is no third argument then the internal name will be used
1472 as the external name.
1473 This feature allows you to use fonts with long names in compatibility mode.
1476 When two arguments are given to the
1478 request, the second argument gives the
1479 .IR "sentence space size" .
1480 If the second argument is not given, the sentence space size
1481 will be the same as the word space size.
1482 Like the word space size, the sentence space is in units of
1483 one twelfth of the spacewidth parameter for the current font.
1484 Initially both the word space size and the sentence
1486 The sentence space size is used in two circumstances:
1487 if the end of a sentence occurs at the end of a line in fill mode, then
1488 both an inter-word space and a sentence space will be added;
1489 if two spaces follow the end of a sentence in the middle of a line,
1490 then the second space will be a sentence space.
1491 Note that the behaviour of Unix troff will be exactly
1492 that exhibited by GNU troff if a second argument is never given to the
1495 In GNU troff, as in Unix troff, you should always
1496 follow a sentence with either a newline or two spaces.
1498 .BI .ta\ n1\ n2\|.\|.\|.nn \ T\ r1\ r2\|.\|.\|.\|rn
1499 Set tabs at positions
1501 .IR n2 ,\|.\|.\|.\|,
1503 and then set tabs at
1505 .IR nn + r2 ,\|.\|.\|.\|.\|,
1509 .IR nn + rn + r2 ,\|.\|.\|.\|,
1518 will set tabs every half an inch.
1520 .SS New number registers
1521 The following read-only registers are available:
1524 1 if compatibility mode is in effect, 0 otherwise.
1527 The depth of the last character added to the current environment.
1528 It is positive if the character extends below the baseline.
1531 The number of lines remaining to be centered, as set by the
1536 The height of the last character added to the current environment.
1537 It is positive if the character extends above the baseline.
1540 The skew of the last character added to the current environment.
1543 of a character is how far to the right of the center of a character
1544 the center of an accent over that character should be placed.
1547 The name or number of the current environment.
1548 This is a string-valued register.
1551 The current font family.
1552 This is a string-valued register.
1555 The number of the next free font position.
1559 Macros should use this to determine whether they are running
1563 The current hyphenation language as set by the
1568 The number of immediately preceding consecutive hyphenated lines.
1571 The maximum allowed number of consecutive hyphenated lines, as set by the
1576 The current hyphenation flags (as set by the
1581 The current hyphenation margin (as set by the
1586 The current hyphenation space (as set by the
1591 The indent that applies to the current output line.
1595 if pairwise kerning is enabled,
1600 The current ligature mode (as set by the
1605 The line length that applies to the current output line.
1608 The title length as set by the
1613 The amount of space that was needed in the last
1615 request that caused a trap to be sprung.
1616 Useful in conjunction with the
1621 The number of the next page:
1622 either the value set by a
1624 request, or the number of the current page plus 1.
1627 The current pointsize in scaled points.
1630 The last-requested pointsize in scaled points.
1633 The number of lines to be right-justified as set by the
1638 The last requested pointsize in points as a decimal fraction.
1639 This is a string-valued register.
1642 A string representation of the current tab settings suitable for use as
1648 The amount of vertical space truncated by the most recently sprung
1649 vertical position trap, or,
1650 if the trap was sprung by a
1653 minus the amount of vertical motion produced by the
1656 In other words, at the point a trap is sprung, it represents the difference
1657 of what the vertical position would have been but for the trap,
1658 and what the vertical position actually is.
1659 Useful in conjunction with the
1666 These give the values of the parameters set by the
1667 first and second arguments of the
1672 1 if vertical position traps are enabled, 0 otherwise.
1675 The sum of the numbers associated with each of the currently enabled
1677 The number associated with each warning is listed in the `Warnings'
1681 The major version number.
1682 For example, if the version number is
1690 The minor version number.
1691 For example, if the version number is
1699 The revision number of groff.
1708 These four registers are set by the
1710 request and contain the bounding box values (in PostScript units) of a given
1713 The following registers are set by the
1724 registers, but takes account of the heights and depths of characters.
1727 The amount of horizontal space (possibly negative) that should
1728 be added to the last character before a subscript.
1731 How far to right of the center of the last character
1735 the center of an accent from a roman font should be placed over that character.
1737 The following read/write number registers are available:
1740 The return value of the system() function executed by the last
1745 If greater than 0, the maximum number of objects on the input stack.
1746 If less than or equal to 0, there is no limit on the number of objects
1747 on the input stack. With no limit, recursion can continue until
1748 virtual memory is exhausted.
1752 Note that the traditional
1756 is the current year minus 1900.
1759 predefines a single (read/write) string-based register,
1761 which contains the argument given to the
1763 command line option, namely the current output device (for example,
1767 Note that this is not the same as the (read-only) number register
1769 which is defined to be\ 1 if
1773 command line option, and zero otherwise. This behaviour is different to
1776 Fonts not listed in the
1778 file are automatically mounted on the next available font position
1779 when they are referenced.
1780 If a font is to be mounted explicitly with the
1782 request on an unused font position,
1783 it should be mounted on the first unused font position,
1784 which can be found in the
1789 does not enforce this strictly,
1790 it will not allow a font to be mounted at a position whose number is much
1791 greater than that of any currently used position.
1793 Interpolating a string does not hide existing macro arguments.
1794 Thus in a macro, a more efficient way of doing
1802 If the font description file contains pairwise kerning information,
1803 characters from that font will be kerned.
1804 Kerning between two characters can be inhibited by placing a
1808 In a string comparison in a condition,
1809 characters that appear at different input levels
1810 to the first delimiter character will not be recognised
1811 as the second or third delimiters.
1812 This applies also to the
1818 a character that appears at a different input level to
1819 the starting delimiter character will not be recognised
1820 as the closing delimiter character.
1821 When decoding a macro argument that is delimited
1822 by double quotes, a character that appears at a different
1823 input level to the starting delimiter character will not
1824 be recognised as the closing delimiter character.
1825 The implementation of
1827 ensures that the double quotes surrounding an argument
1828 will appear the same input level, which will be different
1829 to the input level of the argument itself.
1830 In a long escape name
1832 will not be recognized as a closing delimiter except
1833 when it occurs at the same input level as the opening
1835 In compatibility mode, no attention is paid to the input-level.
1837 There are some new types of condition:
1840 True if there is a number register named
1844 True if there is a string, macro, diversion, or request named
1848 True if there is a character
1855 or a special character
1859 the condition will also be true if
1861 has been defined by the
1865 The warnings that can be given by
1867 are divided into the following categories.
1868 The name associated with each warning is used by the
1873 the number is used by the
1878 .nr x \w'\fBright-brace'+1n+\w'0000'u
1882 Non-existent characters.
1883 This is enabled by default.
1886 Invalid numeric expressions.
1887 This is enabled by default.
1890 In fill mode, lines which could not be broken so that their length was
1891 less than the line length.
1892 This is enabled by default.
1895 Missing or mismatched closing delimiters.
1900 request with no matching
1905 Meaningless scaling indicators.
1908 Out of range arguments.
1911 Dubious syntax in numeric expressions.
1918 without an argument when there is no current diversion.
1921 Use of undefined strings, macros and diversions.
1922 When an undefined string, macro or diversion is used,
1923 that string is automatically defined as empty.
1924 So, in most cases, at most one warning will be given for
1928 Use of undefined number registers.
1929 When an undefined number register is used,
1930 that register is automatically defined to have a value of 0.
1931 a definition is automatically made with a value of 0.
1932 So, in most cases, at most one warning will be given for
1933 use of a particular name.
1936 Inappropriate use of a tab character.
1937 Either use of a tab character where a number was expected,
1938 or use of tab character in an unquoted macro argument.
1940 .BR right-brace \t4096
1943 where a number was expected.
1946 Requests that are missing non-optional arguments.
1949 Illegal input characters.
1952 Unrecognized escape sequences.
1953 When an unrecognized escape sequence is encountered,
1954 the escape character is ignored.
1957 Missing space between a request or macro and its argument.
1958 This warning will be given
1959 when an undefined name longer than two characters is encountered,
1960 and the first two characters of the name make a defined name.
1961 The request or macro will not be invoked.
1962 When this warning is given, no macro is automatically defined.
1963 This is enabled by default.
1964 This warning will never occur in compatibility mode.
1968 This is enabled by default.
1971 Illegal escapes in text ignored with the
1974 These are conditions that are errors when they do not occur
1977 There are also names that can be used to refer to groups of warnings:
1985 It is intended that this covers all warnings
1986 that are useful with traditional macro packages.
1990 .SS Incompatibilities
1992 Long names cause some incompatibilities.
1993 Unix troff will interpret
1998 as defining a string
2002 Normally, GNU troff will interpret this as a call of a macro named
2004 Also Unix troff will interpret
2008 as references to a string or number register called
2010 In GNU troff, however, this will normally be interpreted as the start
2013 .I compatibility mode
2014 GNU troff will interpret these things in the traditional way.
2015 In compatibility mode, however, long names are not recognised.
2016 Compatibility mode can be turned on with the
2018 command line option, and turned on or off with the
2023 is 1 if compatibility mode is on, 0 otherwise.
2026 does not allow the use of the escape sequences
2027 .BR \\e\e|\e^\e&\e}\e{\e (space) \e'\e`\e-\e_\e!\e%\ec
2028 in names of strings, macros, diversions, number registers,
2029 fonts or environments; Unix troff does.
2032 escape sequence may be helpful in avoiding use of these
2033 escape sequences in names.
2035 Fractional pointsizes cause one noteworthy incompatibility.
2038 request ignores scale indicators and so
2042 will set the pointsize to 10 points, whereas in
2043 GNU troff it will set the pointsize to 10 scaled points.
2045 In GNU troff there is a fundamental difference between unformatted,
2046 input characters, and formatted, output characters.
2047 Everything that affects how an output character
2048 will be output is stored with the character; once an output
2049 character has been constructed it is unaffected by any subsequent
2050 requests that are executed, including
2058 Normally output characters are constructed from input
2059 characters at the moment immediately before the character
2060 is added to the current output line.
2061 Macros, diversions and strings are all, in fact, the same type
2062 of object; they contain lists of input characters and output
2063 characters in any combination.
2064 An output character does not behave like an input character
2065 for the purposes of macro processing; it does not inherit any
2066 of the special properties that the input character from which it
2067 was constructed might have had.
2085 is turned into one output
2087 and the resulting output
2089 are not interpreted as escape characters when they are reread.
2090 Unix troff would interpret them as escape characters
2091 when they were reread and would end up printing one
2093 The correct way to obtain a printable
2097 escape sequence: this will always print a single instance of the
2098 current escape character, regardless of whether or not it is used in a
2099 diversion; it will also work in both GNU troff and Unix troff.
2100 If you wish for some reason to store in a diversion an escape
2101 sequence that will be interpreted when the diversion is reread,
2102 you can either use the traditional
2104 transparent output facility, or, if this is unsuitable, the new
2111 A colon separated list of directories in which to search for
2120 A colon separated list of directories in which to search for the
2124 will search in directories given in the
2126 option before these, and in standard directories
2130 .Tp \w'@FONTDIR@/devname/DESC'u+3n
2131 .B @MACRODIR@/troffrc
2132 Initialization file (called before any other macro package).
2134 .B @MACRODIR@/troffrc-end
2135 Initialization file (called after any other macro package).
2137 .BI @MACRODIR@/tmac. name
2140 .BI @FONTDIR@/dev name /DESC
2141 Device description file for device
2144 .BI @FONTDIR@/dev name / F
2150 .BR groff (@MAN1EXT@),
2151 .BR @g@tbl (@MAN1EXT@),
2152 .BR @g@pic (@MAN1EXT@),
2153 .BR @g@eqn (@MAN1EXT@),
2154 .BR @g@refer (@MAN1EXT@),
2155 .BR @g@soelim (@MAN1EXT@),
2156 .BR @g@grn (@MAN1EXT@),
2157 .BR grops (@MAN1EXT@),
2158 .BR grodvi (@MAN1EXT@),
2159 .BR grotty (@MAN1EXT@),
2160 .BR grohtml (@MAN1EXT@),
2161 .BR grolj4 (@MAN1EXT@),
2162 .BR groff_font (@MAN5EXT@),
2163 .BR groff_out (@MAN5EXT@),
2164 .BR groff_char (@MAN7EXT@)