2 .TH @G@TROFF @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
4 @g@troff \- the troff processor of the groff text formatting system
6 .\" troff.man -> troff.1
9 .\" --------------------------------------------------------------------
11 .\" --------------------------------------------------------------------
14 Copyright \[co] 1989-2014 Free Software Foundation, Inc.
16 This file is part of groff, the GNU roff type-setting system, which
17 is a GNU free software project..
19 Permission is granted to copy, distribute and/or modify this document
20 under the terms of the GNU Free Documentation License, Version 1.3 or
21 any later version published by the Free Software Foundation; with the
22 Invariant Sections being this .ig-section and AUTHOR, with no
23 Front-Cover Texts, and with no Back-Cover Texts.
25 A copy of the Free Documentation License is included as a file called
26 FDL in the main directory of the groff source package.
30 This file was originally written by James Clark, it was modified by
35 .MT groff-bernd.warken-72@web.de
40 .\" --------------------------------------------------------------------
42 .\" --------------------------------------------------------------------
62 .\" --------------------------------------------------------------------
64 .\" --------------------------------------------------------------------
66 This manual page describes the GNU version of
69 It is part of the groff document formatting system.
71 It is functionally compatible with UNIX troff, but has many
73 .BR \%groff_diff (@MAN7EXT@).
75 Usually it should be invoked using the
77 command which will also run preprocessors and postprocessors in the
78 appropriate order and with the appropriate options.
81 .\" --------------------------------------------------------------------
83 .\" --------------------------------------------------------------------
85 It is possible to have whitespace between a command line option and
92 approximation of the typeset output.
96 Print a backtrace with each warning or error message.
98 This backtrace should help track down the cause of the error.
100 The line numbers given in the backtrace may not always be correct, for
102 idea of line numbers gets confused by
110 Disable color output (always disabled in compatibility mode).
114 Enable compatibility mode.
127 must be a one letter name.
131 Inhibit all error messages of
134 Note that this doesn\[aq]t affect messages output to standard error by
135 macro packages using the
145 as the default font family.
149 Search in directory (or directory path)
154 is the name of the device) and there for the
159 is scanned before all other font directories.
163 Read the standard input after all the named input files have been
168 This option may be used to add a directory to the search path for
169 files (both those on the command line and those named in
173 The search path is initialized with the current directory.
175 This option may be specified more than once; the directories are then
176 searched in the order specified (but before the current directory).
178 If you want to make the current directory be read before other
181 at the appropriate place.
184 No directory search is performed for files with an absolute file name.
191 If it isn\[aq]t found, try
195 It will be first searched for in directories given with the
197 command line option, then in directories given in the
199 environment variable, then in the current directory (only if in unsafe
200 mode), the home directory, @SYSTEMMACRODIR@, @LOCALMACRODIR@, and
205 Search directory (or directory path)
209 This is scanned before all other macro directories.
213 Number the first page
220 which is a comma-separated list of page ranges;
225 means print every page between
230 means print every page up to
233 means print every page from
237 will exit after printing the last page in the list.
250 must be a one character name;
252 can be any troff numeric expression.
263 Prepare output for device
265 rather than the default
268 .BR groff (@MAN1EXT@)
269 for a more detailed description.
275 This will enable the following requests:
282 For security reasons, these potentially dangerous requests are
285 It will also add the current directory to the macro search path.
289 Print the version number.
296 Available warnings are described in the section
300 For example, to enable all warnings, use
318 Suppress formatted output.
321 .\" --------------------------------------------------------------------
323 .\" --------------------------------------------------------------------
325 The warnings that can be given by
327 are divided into the following categories.
329 The name associated with each warning is used by the
333 options; the number is used by the
337 register; it is always a power of 2 to allow bitwise composition.
344 Bit@Code@Warning@Bit@Code@Warning
347 1@2@number@11@2048@tab
348 2@4@break@12@4096@right-brace
349 3@8@delim@13@8192@missing
350 4@16@el@14@16384@input
351 5@32@scale@15@32768@escape
352 6@64@range@16@65536@space
353 7@128@syntax@17@131072@font
354 8@256@di@18@262144@ig
355 9@512@mac@19@524288@color
360 .nr x \w'\fBright-brace'+1n+\w'00000'u
365 In fill mode, lines which could not be broken so that their length was
366 less than the line length.
368 This is enabled by default.
372 Non-existent characters.
374 This is enabled by default.
378 Color related warnings.
382 Missing or mismatched closing delimiters.
390 without an argument when there is no current diversion.
396 request with no matching
402 Unrecognized escape sequences.
404 When an unrecognized escape sequence is encountered, the escape
405 character is ignored.
409 Indicates a missing file for the
419 This is enabled by default.
423 Invalid escapes in text ignored with the
427 These are conditions that are errors when they do not occur in ignored
432 Invalid input characters.
436 Use of undefined strings, macros and diversions.
438 When an undefined string, macro or diversion is used, that string is
439 automatically defined as empty.
441 So, in most cases, at most one warning will be given for each name.
445 Requests that are missing non-optional arguments.
449 Invalid numeric expressions.
451 This is enabled by default.
455 Out of range arguments.
459 Use of undefined number registers.
461 When an undefined number register is used, that register is
462 automatically defined to have a value of\~0.
464 So, in most cases, at most one warning will be given for use of a
468 .BR right-brace "\t4096"
471 where a number was expected.
475 Meaningless scaling indicators.
479 Missing space between a request or macro and its argument.
481 This warning will be given when an undefined name longer than two
482 characters is encountered, and the first two characters of the name
485 The request or macro will not be invoked.
487 When this warning is given, no macro is automatically defined.
489 This is enabled by default.
491 This warning will never occur in compatibility mode.
495 Dubious syntax in numeric expressions.
499 Inappropriate use of a tab character.
501 Either use of a tab character where a number was expected, or use of tab
502 character in an unquoted macro argument.
505 There are also names that can be used to refer to groups of warnings:
515 It is intended that this covers all warnings that are useful with
516 traditional macro packages.
523 .\" --------------------------------------------------------------------
525 .\" --------------------------------------------------------------------
530 A colon separated list of directories in which to search for
534 will scan directories given in the
536 option before these, and in standard directories (current directory if
537 in unsafe mode, home directory,
538 .BR @SYSTEMMACRODIR@ ,
539 .BR @LOCALMACRODIR@ ,
551 A colon separated list of directories in which to search for the
556 will scan directories given in the
558 option before these, and in standard directories
559 .RB ( @LOCALFONTDIR@ ,
561 .BR @LEGACYFONTDIR@ )
565 .\" --------------------------------------------------------------------
567 .\" --------------------------------------------------------------------
570 .B @MACRODIR@/troffrc
571 Initialization file (called before any other macro package).
574 .B @MACRODIR@/troffrc-end
575 Initialization file (called after any other macro package).
578 .BI @MACRODIR@/ name .tmac
580 .BI @MACRODIR@/tmac. name
584 .BI @FONTDIR@/dev name /DESC
585 Device description file for device
589 .BI @FONTDIR@/dev name / F
601 are neither searched in the current nor in the home directory by
602 default for security reasons (even if the
608 command line option or the
610 environment variable to add these directories to the search path if
614 .\" --------------------------------------------------------------------
616 .\" --------------------------------------------------------------------
619 .BR groff (@MAN1EXT@)
620 The main program of the
622 system, a wrapper around
626 .BR groff (@MAN7EXT@)
629 language, including a short but complete reference of all predefined
630 requests, registers, and escapes of plain
633 From the command line, this is called by
640 .BR \%groff_diff (@MAN7EXT@)
641 The differences of the
647 Currently, this is the most actual document of the
657 systems, including pointers to further related documentation.
665 .BR info (@MAN1EXT@),
666 presents all groff documentation within a single document.
669 .\" --------------------------------------------------------------------
671 .\" --------------------------------------------------------------------
673 .\" --------------------------------------------------------------------
675 .\" --------------------------------------------------------------------
679 .\" --------------------------------------------------------------------
681 .\" --------------------------------------------------------------------