5 This file is part of groff, the GNU roff type-setting system.
7 Copyright (C) 1989, 2000, 2001, 2002, 2003, 2007, 2008
8 Free Software Foundation, Inc.
10 written by James Clark
12 modified by Werner Lemberg <wl@gnu.org>
13 Bernd Warken <bwarken@mayn.de>
15 Permission is granted to copy, distribute and/or modify this document
16 under the terms of the GNU Free Documentation License, Version 1.1 or
17 any later version published by the Free Software Foundation; with the
18 Invariant Sections being this .ig-section and AUTHOR, with no
19 Front-Cover Texts, and with no Back-Cover Texts.
21 A copy of the Free Documentation License is included as a file called
22 FDL in the main directory of the groff source package.
25 .\" --------------------------------------------------------------------
27 .\" --------------------------------------------------------------------
29 .TH @G@TROFF @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
31 @g@troff \- the troff processor of the groff text formatting system
34 .\" --------------------------------------------------------------------
36 .\" --------------------------------------------------------------------
52 .RI "[\ " files\|.\|.\|. "\ ]"
56 .\" --------------------------------------------------------------------
58 .\" --------------------------------------------------------------------
60 This manual page describes the GNU version of
62 It is part of the groff document formatting system.
64 It is functionally compatible with UNIX troff, but has many extensions,
66 .BR \%groff_diff (@MAN7EXT@).
67 Usually it should be invoked using the
69 command which will also run preprocessors and postprocessors in the
70 appropriate order and with the appropriate options.
73 .\" --------------------------------------------------------------------
75 .\" --------------------------------------------------------------------
76 It is possible to have whitespace between a command line option and
83 approximation of the typeset output.
87 Print a backtrace with each warning or error message.
89 This backtrace should help track down the cause of the error.
91 The line numbers given in the backtrace may not always be correct, for
93 idea of line numbers gets confused by
101 Disable color output (always disabled in compatibility mode).
105 Enable compatibility mode.
118 must be a one letter name.
122 Inhibit all error messages of
124 Note that this doesn't affect messages output to standard error by macro
135 as the default font family.
139 Search in directory (or directory path)
144 is the name of the device) and there for the
148 is scanned before all other font directories.
152 Read the standard input after all the named input files have been
157 This option may be used to specify a directory to search for
158 files (both those on the command line and those named in
161 The current directory is always searched first.
162 This option may be specified more than once;
163 the directories will be searched in the order specified.
164 No directory search is performed for files specified using an absolute path.
170 If it isn't found, try
174 It will be first searched for in directories given with the
176 command line option, then in directories given in the
178 environment variable, then in the current directory (only if in unsafe
179 mode), the home directory, @SYSTEMMACRODIR@, @LOCALMACRODIR@, and
184 Search directory (or directory path)
188 This is scanned before all other macro directories.
192 Number the first page
199 which is a comma-separated list of page ranges;
204 means print every page between
209 means print every page up to
212 means print every page from
215 will exit after printing the last page in the list.
228 must be a one character name;
230 can be any troff numeric expression.
241 Prepare output for device
243 rather than the default
246 .BR groff (@MAN1EXT@)
247 for a more detailed description.
253 This will enable the following requests:
260 For security reasons, these potentially dangerous requests are disabled
263 It will also add the current directory to the macro search path.
267 Print the version number.
273 Available warnings are described in the section
277 For example, to enable all warnings, use
294 Suppress formatted output.
297 .\" --------------------------------------------------------------------
299 .\" --------------------------------------------------------------------
301 The warnings that can be given by
303 are divided into the following categories.
305 The name associated with each warning is used by the
309 options; the number is used by the
313 register; it is always a power of 2 to allow bitwise composition.
320 Bit@Code@Warning@Bit@Code@Warning
323 1@2@number@11@2048@tab
324 2@4@break@12@4096@right-brace
325 3@8@delim@13@8192@missing
326 4@16@el@14@16384@input
327 5@32@scale@15@32768@escape
328 6@64@range@16@65536@space
329 7@128@syntax@17@131072@font
330 8@256@di@18@262144@ig
331 9@512@mac@19@524288@color
335 .nr x \w'\fBright-brace'+1n+\w'00000'u
340 In fill mode, lines which could not be broken so that their length was
341 less than the line length.
343 This is enabled by default.
347 Non-existent characters.
349 This is enabled by default.
353 Color related warnings.
357 Missing or mismatched closing delimiters.
365 without an argument when there is no current diversion.
371 request with no matching
377 Unrecognized escape sequences.
379 When an unrecognized escape sequence is encountered, the escape
380 character is ignored.
386 This is enabled by default.
390 Invalid escapes in text ignored with the
394 These are conditions that are errors when they do not occur in ignored
399 Invalid input characters.
403 Use of undefined strings, macros and diversions.
405 When an undefined string, macro or diversion is used, that string is
406 automatically defined as empty.
408 So, in most cases, at most one warning will be given for each name.
412 Requests that are missing non-optional arguments.
416 Invalid numeric expressions.
418 This is enabled by default.
422 Out of range arguments.
426 Use of undefined number registers.
428 When an undefined number register is used, that register is
429 automatically defined to have a value of\~0.
431 So, in most cases, at most one warning will be given for use of a
435 .BR right-brace "\t4096"
438 where a number was expected.
442 Meaningless scaling indicators.
446 Missing space between a request or macro and its argument.
448 This warning will be given when an undefined name longer than two
449 characters is encountered, and the first two characters of the name
452 The request or macro will not be invoked.
454 When this warning is given, no macro is automatically defined.
456 This is enabled by default.
458 This warning will never occur in compatibility mode.
462 Dubious syntax in numeric expressions.
466 Inappropriate use of a tab character.
467 Either use of a tab character where a number was expected, or use of tab
468 character in an unquoted macro argument.
471 There are also names that can be used to refer to groups of warnings:
480 It is intended that this covers all warnings that are useful with
481 traditional macro packages.
488 .\" --------------------------------------------------------------------
490 .\" --------------------------------------------------------------------
495 A colon separated list of directories in which to search for
498 will scan directories given in the
500 option before these, and in standard directories (current directory if
501 in unsafe mode, home directory,
502 .BR @SYSTEMMACRODIR@ ,
503 .BR @LOCALMACRODIR@ ,
515 A colon separated list of directories in which to search for the
519 will scan directories given in the
521 option before these, and in standard directories
522 .RB ( @LOCALFONTDIR@ ,
524 .BR @LEGACYFONTDIR@ )
528 .\" --------------------------------------------------------------------
530 .\" --------------------------------------------------------------------
533 .B @MACRODIR@/troffrc
534 Initialization file (called before any other macro package).
537 .B @MACRODIR@/troffrc-end
538 Initialization file (called after any other macro package).
541 .BI @MACRODIR@/ name .tmac
543 .BI @MACRODIR@/tmac. name
547 .BI @FONTDIR@/dev name /DESC
548 Device description file for device
552 .BI @FONTDIR@/dev name / F
562 are neither searched in the current nor in the home directory by
563 default for security reasons (even if the
569 command line option or the
571 environment variable to add these directories to the search path if
575 .\" --------------------------------------------------------------------
577 .\" --------------------------------------------------------------------
579 Copyright (C) 1989, 2001, 2002, 2003, 2007, 2008
580 Free Software Foundation, Inc.
583 This document is distributed under the terms of the FDL (GNU Free
584 Documentation License) version 1.1 or later.
586 You should have received a copy of the FDL on your system, it is also
587 available on-line at the
588 .UR http://\:www.gnu.org/\:copyleft/\:fdl.html
591 This document was written by James Clark, with modifications from
601 This document is part of
603 the GNU roff distribution.
606 .\" --------------------------------------------------------------------
608 .\" --------------------------------------------------------------------
611 .BR groff (@MAN1EXT@)
612 The main program of the
614 system, a wrapper around
618 .BR groff (@MAN7EXT@)
621 language, including a short but complete reference of all predefined
622 requests, registers, and escapes of plain
624 From the command line, this is called by
631 .BR \%groff_diff (@MAN7EXT@)
632 The differences of the
638 Currently, this is the most actual document of the
648 systems, including pointers to further related documentation.
655 .BR info (@MAN1EXT@),
656 presents all groff documentation within a single document.
658 .\" --------------------------------------------------------------------
660 .\" --------------------------------------------------------------------