groff: update vendor branch to v1.20.1
[dragonfly.git] / contrib / groff / src / roff / groff / groff.man
CommitLineData
92d0a6a6
JR
1.ig
2groff.man
3
4d3e9548
JL
4Copyright (C) 1989, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
5Free Software Foundation, Inc.
92d0a6a6
JR
6Rewritten in 2002 by Bernd Warken <bwarken@mayn.de>
7
8Permission is granted to copy, distribute and/or modify this document
4d3e9548 9under the terms of the GNU Free Documentation License, Version 1.3 or
92d0a6a6
JR
10any later version published by the Free Software Foundation; with the
11Invariant Sections being this .ig-section and AUTHOR, with no
12Front-Cover Texts, and with no Back-Cover Texts.
13
14A copy of the Free Documentation License is included as a file called
15FDL in the main directory of the groff source package.
16..
17.
92d0a6a6
JR
18.
19.\" --------------------------------------------------------------------
4d3e9548 20.\" Environment variable
92d0a6a6
JR
21.de EnvVar
22. SM
4d3e9548 23. BR \%\\$1 \\$2
92d0a6a6 24..
4d3e9548
JL
25.\" --------------------------------------------------------------------
26.\" `char or string'
92d0a6a6
JR
27.de Quoted
28. ft CR
4d3e9548 29\[oq]\\$*\[cq]
92d0a6a6
JR
30. ft
31..
92d0a6a6
JR
32.
33.\" --------------------------------------------------------------------
34.\" Title
35.\" --------------------------------------------------------------------
36.
37.TH GROFF @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
38.SH NAME
39groff \- front-end for the groff document formatting system
40.
41.
42.\" --------------------------------------------------------------------
43.SH SYNOPSIS
44.\" --------------------------------------------------------------------
45.
4d3e9548
JL
46.SY groff
47.OP \-abcegiklpstzCEGNRSUVXZ
48.OP \-d cs
49.OP \-D arg
50.OP \-f fam
51.OP \-F dir
52.OP \-I dir
53.OP \-K arg
54.OP \-L arg
55.OP \-m name
56.OP \-M dir
57.OP \-n num
58.OP \-o list
59.OP \-P arg
60.OP \-r cn
61.OP \-T dev
62.OP \-w name
63.OP \-W name
64.RI [ file\~ .\|.\|.]
65.
66.SY groff
67.B \-h
92d0a6a6 68|
4d3e9548 69.B \-\-help
92d0a6a6 70.
4d3e9548
JL
71.SY groff
72.B \-v
92d0a6a6 73|
4d3e9548
JL
74.B \-\-version
75.RI [ option\~ .\|.\|.]
76.YS
92d0a6a6
JR
77.
78.
79.\" --------------------------------------------------------------------
80.SH DESCRIPTION
81.\" --------------------------------------------------------------------
82.
83This document describes the
84.B groff
85program, the main front-end for the
86.I groff
87document formatting system.
88.
89The
90.I groff
91program and macro suite is the implementation of a
92.BR roff (@MAN7EXT@)
93system within the free software collection
4d3e9548
JL
94.UR http://\:www.gnu.org
95GNU
96.UE .
92d0a6a6
JR
97.
98The
99.I groff
100system has all features of the classical
101.IR roff ,
102but adds many extensions.
103.
104.P
105The
106.B groff
107program allows to control the whole
108.I groff
109system by command line options.
110.
111This is a great simplification in comparison to the classical case (which
112uses pipes only).
113.
114.
115.\" --------------------------------------------------------------------
116.SH OPTIONS
117.\" --------------------------------------------------------------------
4d3e9548
JL
118.P
119The command line is parsed according to the usual \f[CR]GNU\f[]
120convention.
121.
122The whitespace between a command line option and its argument is
123optional.
124.
125Options can be grouped behind a single `\-' (minus character).
126.
127A filename of
128.B \-
129(minus character) denotes the standard input.
130.
131.P
92d0a6a6
JR
132.
133As
134.B groff
135is a wrapper program for
136.B @g@troff
137both programs share a set of options.
138.
139But the
140.B groff
141program has some additional, native options and gives a new meaning to
142some
143.B @g@troff
144options.
145.
146On the other hand, not all
147.B @g@troff
148options can be fed into
149.BR groff .
150.
151.
152.\" --------------------------------------------------------------------
153.SS Native groff Options
154.\" --------------------------------------------------------------------
155.
156The following options either do not exist for
157.B @g@troff
158or are differently interpreted by
159.BR groff .
160.
161.
4d3e9548
JL
162.TP
163.BI \-D\ arg
164Set default input encoding used by
165.B preconv
166to
167.IR arg .
168.
169Implies
170.BR \-k .
171.
172.
173.TP
174.B \-e
92d0a6a6
JR
175Preprocess with
176.BR @g@eqn .
177.
178.
4d3e9548
JL
179.TP
180.B \-g
92d0a6a6
JR
181Preprocess with
182.BR @g@grn .
183.
184.
4d3e9548
JL
185.TP
186.B \-G
92d0a6a6
JR
187Preprocess with
188.BR grap .
189.
190.
4d3e9548
JL
191.TP
192.B \-h
193.TQ
194.B \-\-help
92d0a6a6
JR
195Print a help message.
196.
197.
4d3e9548
JL
198.TP
199.BI \-I\ dir
92d0a6a6
JR
200This option may be used to specify a directory to search for
201files (both those on the command line and those named in
4d3e9548 202.B .psbb
92d0a6a6 203and
4d3e9548 204.B .so
92d0a6a6
JR
205requests, and
206.B \eX'ps: import'
207and
208.B \eX'ps: file'
209escapes).
210The current directory is always searched first.
211This option may be specified more than once;
4d3e9548 212the directories are searched in the order specified.
92d0a6a6
JR
213No directory search is performed for files specified using an absolute path.
214This option implies the
4d3e9548 215.B \-s
92d0a6a6
JR
216option.
217.
218.
4d3e9548
JL
219.TP
220.B \-k
221Preprocess with
222.BR preconv .
223This is run before any other preprocessor.
224.
225Please refer to
226.BR preconv 's
227manual page for its behaviour if no
228.B \-K
229(or
230.BR \-D )
231option is specified.
232.
233.
234.TP
235.BI \-K\ arg
236Set input encoding used by
237.B preconv
238to
239.IR arg .
240.
241Implies
242.BR \-k .
243.
244.
245.TP
246.B \-l
92d0a6a6
JR
247Send the output to a spooler program for printing.
248.
249The command that should be used for this is specified by the
250.B print
251command in the device description file, see
252.BR \%groff_font (@MAN5EXT@).
253If this command is not present, the output is piped into the
254.BR lpr (1)
255program by default.
256.
257See options
4d3e9548 258.B \-L
92d0a6a6 259and
4d3e9548 260.BR \-X .
92d0a6a6
JR
261.
262.
4d3e9548
JL
263.TP
264.BI \-L\ arg
92d0a6a6
JR
265Pass
266.I arg
267to the spooler program.
268Several arguments should be passed with a separate
4d3e9548 269-L
92d0a6a6
JR
270option each.
271.
272Note that
273.B groff
274does not prepend
4d3e9548 275`-'
92d0a6a6
JR
276(a minus sign) to
277.I arg
278before passing it to the spooler program.
279.
280.
4d3e9548
JL
281.TP
282.B \-N
92d0a6a6
JR
283Don't allow newlines within
284.I eqn
285delimiters.
286.
287This is the same as the
4d3e9548 288.B \-N
92d0a6a6
JR
289option in
290.BR @g@eqn .
291.
292.
4d3e9548
JL
293.TP
294.B \-p
92d0a6a6
JR
295Preprocess with
296.BR @g@pic .
297.
298.
4d3e9548
JL
299.TP
300.BI \-P\ \-option
301.TQ
302.BI \-P\ \-option \ \-P\ arg
92d0a6a6 303Pass
4d3e9548 304.I \-option
92d0a6a6 305or
4d3e9548 306.I "\-option\~arg"
92d0a6a6
JR
307to the postprocessor.
308.
309The option must be specified with the necessary preceding minus
310sign(s)
4d3e9548 311.Quoted -
92d0a6a6 312or
4d3e9548
JL
313.Quoted --
314because
315.B groff
316does not prepend any dashes before passing it to the postprocessor.
317.
318For example, to pass a title to the
319.B \%gxditview
320postprocessor, the shell command
92d0a6a6 321.
4d3e9548 322.RS
92d0a6a6 323.IP
4d3e9548
JL
324.EX
325groff -X -P -title -P 'groff it' \f[I]foo\f[]
326.EE
327.RE
328.
92d0a6a6
JR
329.IP
330is equivalent to
4d3e9548
JL
331.
332.RS
92d0a6a6 333.IP
4d3e9548
JL
334.EX
335groff -X -Z \f[I]foo\f[] | \
336gxditview -title 'groff it' -
337.EE
338.RE
92d0a6a6
JR
339.
340.
4d3e9548
JL
341.TP
342.B \-R
92d0a6a6
JR
343Preprocess with
344.BR @g@refer .
345.
346No mechanism is provided for passing arguments to
347.B @g@refer
348because most
349.B @g@refer
350options have equivalent language elements that can be specified within
351the document.
352.
353See
354.BR \%@g@refer (@MAN1EXT@)
355for more details.
356.
357.
4d3e9548
JL
358.TP
359.B \-s
92d0a6a6
JR
360Preprocess with
361.BR @g@soelim .
362.
363.
4d3e9548
JL
364.TP
365.B \-S
92d0a6a6
JR
366Safer mode.
367.
368Pass the
4d3e9548 369.B \-S
92d0a6a6
JR
370option to
371.B @g@pic
372and disable the following
373.B @g@troff
374requests:
375.BR .open ,
376.BR .opena ,
377.BR .pso ,
378.BR .sy ,
379and
380.BR .pi .
381For security reasons, safer mode is enabled by default.
382.
383.
4d3e9548
JL
384.TP
385.B \-t
92d0a6a6
JR
386Preprocess with
387.BR @g@tbl .
388.
389.
4d3e9548
JL
390.TP
391.BI \-T\ dev
92d0a6a6
JR
392Set output device to
393.IR dev .
465b256c
JR
394For this device,
395.B @g@troff
396generates the
397.I intermediate
398.IR output ;
399see
400.BR \%groff_out (@MAN5EXT@).
401.
402Then
92d0a6a6
JR
403.B groff
404calls a postprocessor to convert
405.BR @g@troff 's
465b256c
JR
406.I intermediate output
407to its final format.
408.
92d0a6a6
JR
409Real devices in
410.B groff
411are
412.
413.RS
414.RS
4d3e9548
JL
415.TP
416dvi
92d0a6a6
JR
417TeX DVI format (postprocessor is
418.BR grodvi ).
4d3e9548
JL
419.
420.TP
421html
422.TQ
423xhtml
424HTML and XHTML output (preprocessors are
92d0a6a6
JR
425.B @g@soelim
426and
427.BR \%pre-grohtml ,
428postprocessor is
429.BR \%post-grohtml ).
4d3e9548
JL
430.
431.TP
432lbp
92d0a6a6
JR
433Canon CAPSL printers (\%LBP-4 and \%LBP-8 series laser printers;
434postprocessor is
435.BR grolbp ).
4d3e9548
JL
436.
437.TP
438lj4
92d0a6a6
JR
439HP LaserJet4 compatible (or other PCL5 compatible) printers (postprocessor
440is
441.BR grolj4 ).
4d3e9548
JL
442.
443.TP
444ps
92d0a6a6
JR
445PostScript output (postprocessor is
446.BR grops ).
447.RE
448.RE
449.
4d3e9548 450.
92d0a6a6
JR
451.IP
452For the following TTY output devices (postprocessor is always
453.BR grotty ),
4d3e9548 454.B \-T
92d0a6a6 455selects the output encoding:
4d3e9548 456.
92d0a6a6
JR
457.RS
458.RS
4d3e9548
JL
459.TP
460ascii
4617bit \f[CR]ASCII\f[].
462.
463.TP
464cp1047
92d0a6a6 465\%Latin-1 character set for EBCDIC hosts.
4d3e9548
JL
466.
467.TP
468latin1
92d0a6a6 469ISO \%8859-1.
4d3e9548
JL
470.
471.TP
472utf8
92d0a6a6
JR
473Unicode character set in \%UTF-8 encoding.
474.RE
475.RE
476.
4d3e9548 477.
92d0a6a6
JR
478.IP
479The following arguments select
465b256c 480.B \%gxditview
92d0a6a6
JR
481as the `postprocessor' (it is rather a viewing program):
482.
483.RS
484.RS
4d3e9548
JL
485.TP
486X75
48775\|dpi resolution, 10\|pt document base font.
488.TP
489X75-12
49075\|dpi resolution, 12\|pt document base font.
491.TP
492X100
493100\|dpi resolution, 10\|pt document base font.
494.TP
495X100-12
496100\|dpi resolution, 12\|pt document base font.
92d0a6a6
JR
497.RE
498.RE
499.
500.IP
501The default device is
502.BR @DEVICE@ .
503.
504.
4d3e9548
JL
505.TP
506.B \-U
92d0a6a6
JR
507Unsafe mode.
508.
509Reverts to the (old) unsafe behaviour; see option
4d3e9548 510.BR \-S .
92d0a6a6
JR
511.
512.
4d3e9548
JL
513.TP
514.B \-v
515.TQ
516.B \-\-version
92d0a6a6
JR
517Output version information of
518.B groff
519and of all programs that are run by it; that is, the given command line
520is parsed in the usual way, passing
4d3e9548 521.B \-v
92d0a6a6
JR
522to all subprograms.
523.
524.
4d3e9548
JL
525.TP
526.B \-V
92d0a6a6
JR
527Output the pipeline that would be run by
528.BR groff
529(as a wrapper program) on the standard output, but do not execute it.
530If given more than once,
4d3e9548 531the commands are both printed on the standard error and run.
92d0a6a6
JR
532.
533.
4d3e9548
JL
534.TP
535.B \-X
92d0a6a6 536Use
465b256c 537.B \%gxditview
92d0a6a6
JR
538instead of using the usual postprocessor to (pre)view a document.
539.
540The printing spooler behavior as outlined with options
4d3e9548 541.B \-l
92d0a6a6 542and
4d3e9548 543.B \-L
92d0a6a6
JR
544is carried over to
545.BR \%gxditview (@MAN1EXT@)
546by determining an argument for the
4d3e9548 547.B \-printCommand
92d0a6a6
JR
548option of
549.BR \%gxditview (@MAN1EXT@).
550.
551This sets the default
552.B Print
553action and the corresponding menu entry to that value.
554.
4d3e9548 555.B \-X
92d0a6a6 556only produces good results with
4d3e9548
JL
557.BR \-Tps ,
558.BR \-TX75 ,
559.BR \-TX75-12 ,
560.BR \-TX100 ,
92d0a6a6 561and
4d3e9548 562.BR \-TX100-12 .
92d0a6a6
JR
563.
564The default resolution for previewing
4d3e9548 565.B \-Tps
92d0a6a6 566output is 75\|dpi; this can be changed by passing the
4d3e9548 567.B \-resolution
92d0a6a6 568option to
465b256c 569.BR \%gxditview ,
92d0a6a6
JR
570for example
571.
4d3e9548 572.RS
92d0a6a6 573.IP
4d3e9548
JL
574.EX
575groff -X -P-resolution -P100 -man foo.1
576.EE
577.RE
92d0a6a6
JR
578.
579.
4d3e9548
JL
580.TP
581.B \-z
92d0a6a6
JR
582Suppress output generated by
583.BR @g@troff .
4d3e9548 584Only error messages are printed.
92d0a6a6
JR
585.
586.
4d3e9548
JL
587.TP
588.B \-Z
589Do not automatically postprocess
465b256c 590.I groff intermediate output
4d3e9548
JL
591in the usual manner.
592This will cause the
465b256c 593.B @g@troff
4d3e9548
JL
594.I output
595to appear on standard output,
596replacing the usual postprocessor output; see
597.BR \%groff_out (@MAN5EXT@).
92d0a6a6
JR
598.
599.
600.\" --------------------------------------------------------------------
601.SS Transparent Options
602.\" --------------------------------------------------------------------
603.
604The following options are transparently handed over to the formatter
605program
606.B @g@troff
4d3e9548
JL
607that is called by
608.B groff
609subsequently.
92d0a6a6
JR
610.
611These options are described in more detail in
612.BR @g@troff (@MAN1EXT@).
613.
4d3e9548
JL
614.TP
615.B \-a
616\f[CR]ASCII\f[] approximation of output.
92d0a6a6 617.
4d3e9548
JL
618.TP
619.B \-b
620Backtrace on error or warning.
92d0a6a6 621.
4d3e9548
JL
622.TP
623.B \-c
624Disable color output.
92d0a6a6 625.
465b256c
JR
626Please consult the
627.BR \%grotty (@MAN1EXT@)
628man page for more details.
629.
4d3e9548
JL
630.TP
631.B \-C
632Enable compatibility mode.
92d0a6a6 633.
4d3e9548
JL
634.TP
635.BI \-d\ cs
636.TQ
637.BI \-d\ name = s
638Define string.
92d0a6a6 639.
4d3e9548
JL
640.TP
641.B \-E
642Disable
92d0a6a6
JR
643.B @g@troff
644error messages.
645.
4d3e9548
JL
646.TP
647.BI \-f\ fam
648Set default font family.
92d0a6a6 649.
4d3e9548
JL
650.TP
651.BI \-F\ dir
652Set path for font DESC files.
92d0a6a6 653.
4d3e9548
JL
654.TP
655.B \-i
656Process standard input after the specified input files.
92d0a6a6 657.
4d3e9548
JL
658.TP
659.BI \-m\ name
660Include macro file
661.IB name .tmac
662(or
663.BI tmac. name\c
664); see also
92d0a6a6
JR
665.BR \%groff_tmac (@MAN5EXT@).
666.
4d3e9548
JL
667.TP
668.BI \-M\ dir
669Path for macro files.
92d0a6a6 670.
4d3e9548
JL
671.TP
672.BI \-n\ num
673Number the first page
92d0a6a6
JR
674.IR num .
675.
4d3e9548
JL
676.TP
677.BI \-o\ list
678Output only pages in
92d0a6a6
JR
679.IR list .
680.
4d3e9548
JL
681.TP
682.BI \-r\ cn
683.TQ
684.BI \-r\ name = n
685Set number register.
92d0a6a6 686.
4d3e9548
JL
687.TP
688.BI \-w\ name
689Enable warning
92d0a6a6
JR
690.IR name .
691.
4d3e9548
JL
692.TP
693.BI \-W\ name
92d0a6a6
JR
694disable warning
695.IR name .
696.
697.
698.\" --------------------------------------------------------------------
699.SH "USING GROFF"
700.\" --------------------------------------------------------------------
701.
702The
703.I groff system
704implements the infrastructure of classical roff; see
705.BR roff (@MAN7EXT@)
4d3e9548
JL
706for a survey on how a
707.I roff
708system works in general.
92d0a6a6 709.
4d3e9548
JL
710Due to the front-end programs available within the
711.I groff
712system, using
92d0a6a6
JR
713.I groff
714is much easier than
715.IR "classical roff" .
716.
4d3e9548
JL
717This section gives an overview of the parts that constitute the
718.I groff
92d0a6a6
JR
719system.
720.
721It complements
722.BR roff (@MAN7EXT@)
4d3e9548
JL
723with
724.IR groff -specific
725features.
92d0a6a6
JR
726.
727This section can be regarded as a guide to the documentation around
4d3e9548
JL
728the
729.I groff
730system.
92d0a6a6
JR
731.
732.
733.\" --------------------------------------------------------------------
465b256c
JR
734.SS Paper Size
735.\" --------------------------------------------------------------------
736.
737The
738.I virtual
739paper size used by
740.B troff
741to format the input is controlled globally with the requests
742.BR .po ,
743.BR .pl ,
744and
745.BR .ll .
746See
747.BR groff_tmac (@MAN5EXT@)
748for the `papersize' macro package which provides a convenient interface.
749.
750.P
751The
752.I physical
753paper size, giving the actual dimensions of the paper sheets, is
754controlled by output devices like
755.BR grops
756with the command line options
757.B \-p
758and
759.BR \-l .
760See
761.BR groff_font (@MAN5EXT@)
762and the man pages of the output devices for more details.
763.B groff
764uses the command line option
765.B \-P
766to pass options to output devices; for example, the following selects
767A4 paper in landscape orientation for the PS device:
768.
4d3e9548
JL
769.IP
770.EX
771groff -Tps -P-pa4 -P-l ...
772.EE
465b256c
JR
773.
774.
775.\" --------------------------------------------------------------------
92d0a6a6
JR
776.SS Front-ends
777.\" --------------------------------------------------------------------
778.
779The
780.B groff
781program is a wrapper around the
782.BR @g@troff (@MAN1EXT@)
783program.
784.
785It allows to specify the preprocessors by command line options and
786automatically runs the postprocessor that is appropriate for the
787selected device.
788.
789Doing so, the sometimes tedious piping mechanism of classical
790.BR roff (@MAN7EXT@)
791can be avoided.
792.
793.P
794The
795.BR grog (@MAN1EXT@)
4d3e9548
JL
796program can be used for guessing the correct
797.I groff
798command line to format a file.
92d0a6a6
JR
799.
800.P
801The
802.BR \%groffer (@MAN1EXT@)
4d3e9548
JL
803program is an allround-viewer for
804.I groff
805files and man pages.
92d0a6a6
JR
806.
807.
808.\" --------------------------------------------------------------------
809.SS Preprocessors
810.\" --------------------------------------------------------------------
811.
4d3e9548
JL
812The
813.I groff
814preprocessors are reimplementations of the classical preprocessors
815with moderate extensions.
92d0a6a6 816.
4d3e9548 817The standard preprocessors distributed with the
92d0a6a6
JR
818.I groff
819package are
820.
821.TP
822.BR @g@eqn (@MAN1EXT@)
823for mathematical formul\(ae,
4d3e9548 824.
92d0a6a6
JR
825.TP
826.BR @g@grn (@MAN1EXT@)
827for including
828.BR gremlin (1)
829pictures,
4d3e9548 830.
92d0a6a6
JR
831.TP
832.BR @g@pic (@MAN1EXT@)
833for drawing diagrams,
4d3e9548
JL
834.
835.TP
836.BR @g@chem (@MAN1EXT@)
837for chemical structure diagrams,
838.
92d0a6a6
JR
839.TP
840.BR \%@g@refer (@MAN1EXT@)
841for bibliographic references,
4d3e9548 842.
92d0a6a6
JR
843.TP
844.BR \%@g@soelim (@MAN1EXT@)
845for including macro files from standard locations,
846.
847.P
848and
4d3e9548 849.
92d0a6a6
JR
850.TP
851.BR @g@tbl (@MAN1EXT@)
852for tables.
853.
854.P
4d3e9548
JL
855A new preprocessor not available in classical
856.I troff
857is
858.BR \%preconv (@MAN1EXT@)
859which converts various input encodings to something
860.B groff
861can understand.
862.
863It is always run first before any other preprocessor.
864.
865.P
92d0a6a6
JR
866Besides these, there are some internal preprocessors that are
867automatically run with some devices.
868.
869These aren't visible to the user.
870.
871.
872.\" --------------------------------------------------------------------
873.SS "Macro Packages"
874.\" --------------------------------------------------------------------
875.
876Macro packages can be included by option
4d3e9548 877.BR \-m .
92d0a6a6 878.
4d3e9548
JL
879The
880.I groff
881system implements and extends all classical macro packages in a
882compatible way and adds some packages of its own.
92d0a6a6
JR
883.
884Actually, the following macro packages come with
885.IR groff :
886.
887.TP
888.B man
889The traditional man page format; see
890.BR \%groff_man (@MAN7EXT@).
891It can be specified on the command line as
4d3e9548 892.B \-man
92d0a6a6 893or
4d3e9548 894.BR \-m\~man .
92d0a6a6
JR
895.
896.TP
897.B mandoc
898The general package for man pages; it automatically recognizes
899whether the documents uses the
900.I man
901or the
902.I mdoc
903format and branches to the corresponding macro package.
904.
905It can be specified on the command line as
4d3e9548 906.B \%\-mandoc
92d0a6a6 907or
4d3e9548 908.BR \-m\~\%mandoc .
92d0a6a6
JR
909.
910.TP
911.B mdoc
4d3e9548 912The \f[CR]BSD\f[]-style man page format; see
92d0a6a6
JR
913.BR \%groff_mdoc (@MAN7EXT@).
914It can be specified on the command line as
4d3e9548 915.B \-mdoc
92d0a6a6 916or
4d3e9548 917.BR \-m\~mdoc .
92d0a6a6
JR
918.
919.TP
920.B me
921The classical
922.I me
923document format; see
924.BR \%groff_me (@MAN7EXT@).
925It can be specified on the command line as
4d3e9548 926.B \-me
92d0a6a6 927or
4d3e9548 928.BR \-m\~me .
92d0a6a6
JR
929.
930.TP
931.B mm
932The classical
933.I mm
934document format; see
935.BR \%groff_mm (@MAN7EXT@).
936It can be specified on the command line as
4d3e9548 937.B \-mm
92d0a6a6 938or
4d3e9548 939.BR \-m\~mm .
92d0a6a6
JR
940.
941.TP
942.B ms
943The classical
944.I ms
945document format; see
946.BR \%groff_ms (@MAN7EXT@).
947It can be specified on the command line as
4d3e9548 948.B \-ms
92d0a6a6 949or
4d3e9548 950.BR \-m\~ms .
92d0a6a6
JR
951.
952.TP
953.B www
4d3e9548
JL
954HTML-like macros for inclusion in arbitrary
955.I groff
956documents; see
92d0a6a6
JR
957.BR \%groff_www (@MAN7EXT@).
958.
959.P
960Details on the naming of macro files and their placement can be found
961in
465b256c
JR
962.BR \%groff_tmac (@MAN5EXT@);
963this man page also documents some other, minor auxiliary macro packages
964not mentioned here.
92d0a6a6
JR
965.
966.
967.\" --------------------------------------------------------------------
968.SS "Programming Language"
969.\" --------------------------------------------------------------------
970.
4d3e9548
JL
971General concepts common to all
972.I roff
973programming languages are described in
92d0a6a6
JR
974.BR roff (@MAN7EXT@).
975.
976.P
4d3e9548
JL
977The
978.I groff
979extensions to the classical
980.I troff
981language are documented in
92d0a6a6
JR
982.BR \%groff_diff (@MAN7EXT@).
983.
984.P
4d3e9548
JL
985The
986.I groff
987language as a whole is described in the (still incomplete)
92d0a6a6
JR
988.IR "groff info file" ;
989a short (but complete) reference can be found in
990.BR groff (@MAN7EXT@).
991.
992.
993.\" --------------------------------------------------------------------
994.SS Formatters
995.\" --------------------------------------------------------------------
996.
4d3e9548
JL
997The central
998.I roff
999formatter within the
1000.I groff
1001system is
92d0a6a6 1002.BR @g@troff (@MAN1EXT@).
4d3e9548
JL
1003It provides the features of both the classical
1004.I troff
1005and
1006.IR nroff ,
1007as well as the
1008.I groff
1009extensions.
92d0a6a6
JR
1010.
1011The command line option
4d3e9548 1012.B \-C
92d0a6a6
JR
1013switches
1014.B @g@troff
1015into
1016.I "compatibility mode"
4d3e9548
JL
1017which tries to emulate classical
1018.I roff
1019as much as possible.
92d0a6a6
JR
1020.
1021.P
1022There is a shell script
1023.BR @g@nroff (@MAN1EXT@)
4d3e9548
JL
1024that emulates the behavior of classical
1025.BR nroff .
92d0a6a6
JR
1026.
1027It tries to automatically select the proper output encoding, according to
1028the current locale.
1029.
1030.P
1031The formatter program generates
1032.IR "intermediate output" ;
1033see
1034.BR \%groff_out (@MAN7EXT@).
1035.
1036.
1037.\" --------------------------------------------------------------------
1038.SS Devices
1039.\" --------------------------------------------------------------------
1040.
4d3e9548
JL
1041In
1042.IR roff ,
1043the output targets are called
92d0a6a6 1044.IR devices .
4d3e9548 1045A device can be a piece of hardware, e.g., a printer, or a software
92d0a6a6
JR
1046file format.
1047.
1048A device is specified by the option
4d3e9548
JL
1049.BR \-T .
1050The
1051.I groff
1052devices are as follows.
92d0a6a6
JR
1053.
1054.TP
1055.B ascii
1056Text output using the
1057.BR ascii (7)
1058character set.
1059.
1060.TP
1061.B cp1047
4d3e9548 1062Text output using the EBCDIC code page IBM cp1047 (e.g., OS/390 Unix).
92d0a6a6
JR
1063.
1064.TP
1065.B dvi
1066TeX DVI format.
1067.
1068.TP
1069.B html
1070HTML output.
1071.
1072.TP
1073.B latin1
1074Text output using the ISO \%Latin-1 (ISO \%8859-1) character set; see
1075.BR \%iso_8859_1 (7).
1076.
1077.TP
1078.B lbp
1079Output for Canon CAPSL printers (\%LBP-4 and \%LBP-8 series laser printers).
1080.
1081.TP
1082.B lj4
1083HP LaserJet4-compatible (or other PCL5-compatible) printers.
1084.
1085.TP
1086.B ps
1087PostScript output; suitable for printers and previewers like
1088.BR gv (1).
1089.
1090.TP
1091.B utf8
1092Text output using the Unicode (ISO 10646) character set with \%UTF-8
1093encoding; see
1094.BR unicode (7).
1095.
1096.TP
4d3e9548
JL
1097.B xhtml
1098XHTML output.
1099.
1100.TP
92d0a6a6
JR
1101.B X75
110275dpi X Window System output suitable for the previewers
465b256c 1103.BR \%xditview (1x)
92d0a6a6
JR
1104and
1105.BR \%gxditview (@MAN1EXT@).
4d3e9548 1106.
92d0a6a6
JR
1107A variant for a 12\|pt document base font is
1108.BR \%X75-12 .
1109.
1110.TP
1111.B X100
1112100dpi X Window System output suitable for the previewers
465b256c 1113.BR \%xditview (1x)
92d0a6a6
JR
1114and
1115.BR \%gxditview (@MAN1EXT@).
4d3e9548 1116.
92d0a6a6
JR
1117A variant for a 12\|pt document base font is
1118.BR \%X100-12 .
1119.
1120.P
1121The postprocessor to be used for a device is specified by the
1122.B postpro
1123command in the device description file; see
1124.BR \%groff_font (@MAN5EXT@).
1125.
1126This can be overridden with the
4d3e9548 1127.B -X
92d0a6a6
JR
1128option.
1129.
1130.P
1131The default device is
1132.BR @DEVICE@ .
1133.
1134.
1135.\" --------------------------------------------------------------------
1136.SS Postprocessors
1137.\" --------------------------------------------------------------------
1138.
4d3e9548
JL
1139.I groff
1140provides 3\~hardware postprocessors:
92d0a6a6
JR
1141.
1142.TP
1143.BR \%grolbp (@MAN1EXT@)
1144for some Canon printers,
4d3e9548 1145.
92d0a6a6
JR
1146.TP
1147.BR \%grolj4 (@MAN1EXT@)
1148for printers compatible to the HP LaserJet\~4 and PCL5,
4d3e9548 1149.
92d0a6a6
JR
1150.TP
1151.BR \%grotty (@MAN1EXT@)
4d3e9548 1152for text output using various encodings, e.g., on text-oriented
92d0a6a6
JR
1153terminals or line-printers.
1154.
1155.P
1156Today, most printing or drawing hardware is handled by the operating
1157system, by device drivers, or by software interfaces, usually accepting
1158PostScript.
1159.
1160Consequently, there isn't an urgent need for more hardware device
1161postprocessors.
1162.
1163.P
4d3e9548
JL
1164The
1165.I groff
1166software devices for conversion into other document file formats are
92d0a6a6
JR
1167.
1168.TP
1169.BR \%grodvi (@MAN1EXT@)
1170for the DVI format,
4d3e9548 1171.
92d0a6a6
JR
1172.TP
1173.BR \%grohtml (@MAN1EXT@)
4d3e9548
JL
1174for HTML and XHTML formats,
1175.
92d0a6a6
JR
1176.TP
1177.BR grops (@MAN1EXT@)
1178for PostScript.
1179.
1180.P
1181Combined with the many existing free conversion tools this should
4d3e9548
JL
1182be sufficient to convert a
1183.I troff
1184document into virtually any existing data format.
92d0a6a6
JR
1185.
1186.
1187.\" --------------------------------------------------------------------
1188.SS Utilities
1189.\" --------------------------------------------------------------------
1190.
4d3e9548
JL
1191The following utility programs around
1192.I groff
1193are available.
92d0a6a6
JR
1194.
1195.TP
1196.BR \%addftinfo (@MAN1EXT@)
4d3e9548
JL
1197Add information to
1198.I troff
1199font description files for use with
1200.IR groff .
92d0a6a6
JR
1201.
1202.TP
1203.BR \%afmtodit (@MAN1EXT@)
1204Create font description files for PostScript device.
1205.
1206.TP
4d3e9548
JL
1207.BR \%eqn2graph (@MAN1EXT@)
1208Convert an
1209.B eqn
1210image into a cropped image.
1211.
1212.TP
1213.BR \%gdiffmk (@MAN1EXT@)
1214Mark differences between
1215.IR groff ,
1216.IR nroff ,
1217or
1218.I troff
1219files.
1220.
1221.TP
1222.BR \%grap2graph (@MAN1EXT@)
1223Convert a
1224.B grap
1225diagram into a cropped bitmap image.
1226.
1227.TP
92d0a6a6 1228.BR \%groffer (@MAN1EXT@)
4d3e9548
JL
1229General viewer program for
1230.I groff
1231files and man pages.
92d0a6a6
JR
1232.
1233.TP
1234.BR \%gxditview (@MAN1EXT@)
4d3e9548
JL
1235The
1236.I groff
1237X viewer, the \f[CR]GNU\f[] version of
1238.BR xditview .
92d0a6a6
JR
1239.
1240.TP
1241.BR \%hpftodit (@MAN1EXT@)
1242Create font description files for lj4 device.
1243.
1244.TP
4d3e9548 1245.BR \%@g@indxbib (@MAN1EXT@)
92d0a6a6
JR
1246Make inverted index for bibliographic databases.
1247.
1248.TP
1249.BR lkbib (@MAN1EXT@)
1250Search bibliographic databases.
1251.
1252.TP
4d3e9548 1253.BR \%@g@lookbib (@MAN1EXT@)
92d0a6a6
JR
1254Interactively search bibliographic databases.
1255.
1256.TP
4d3e9548
JL
1257.BR \%pdfroff (@MAN1EXT@)
1258Create PDF documents using
1259.BR groff .
1260.
1261.TP
92d0a6a6 1262.BR \%pfbtops (@MAN1EXT@)
4d3e9548
JL
1263Translate a PostScript font in .pfb format to \f[CR]ASCII\f[].
1264.
1265.TP
1266.BR \%pic2graph (@MAN1EXT@)
1267Convert a
1268.B pic
1269diagram into a cropped image.
92d0a6a6
JR
1270.
1271.TP
1272.BR \%tfmtodit (@MAN1EXT@)
1273Create font description files for TeX DVI device.
1274.
1275.TP
1276.BR \%xditview (1x)
4d3e9548
JL
1277.I roff
1278viewer distributed with X window.
1279.
1280.TP
1281.BR \%xtotroff (@MAN1EXT@)
1282Convert X font metrics into \f[CR]GNU\f[]
1283.I troff
1284font metrics.
92d0a6a6
JR
1285.
1286.
1287.\" --------------------------------------------------------------------
1288.SH ENVIRONMENT
1289.\" --------------------------------------------------------------------
1290.
1291Normally, the path separator in the following environment variables is the
1292colon; this may vary depending on the operating system.
1293.
1294For example, DOS and Windows use a semicolon instead.
1295.
4d3e9548 1296.
92d0a6a6
JR
1297.TP
1298.EnvVar GROFF_BIN_PATH
1299This search path, followed by
1300.EnvVar $PATH ,
4d3e9548 1301is used for commands that are executed by
92d0a6a6
JR
1302.BR groff .
1303.
4d3e9548
JL
1304If it is not set then the directory where the
1305.I groff
1306binaries were installed is prepended to
92d0a6a6
JR
1307.EnvVar PATH .
1308.
4d3e9548 1309.
92d0a6a6
JR
1310.TP
1311.EnvVar GROFF_COMMAND_PREFIX
4d3e9548
JL
1312When there is a need to run different
1313.I roff
1314implementations at the same time
92d0a6a6
JR
1315.I groff
1316provides the facility to prepend a prefix to most of its programs that
1317could provoke name clashings at run time (default is to have none).
1318.
1319Historically, this prefix was the character
1320.BR g ,
1321but it can be anything.
1322.
1323For example,
1324.BR gtroff
1325stood for
1326.IR groff 's
1327.BR troff ,
1328.BR gtbl
1329for the
1330.I groff
1331version of
1332.BR tbl .
1333.
1334By setting
1335.EnvVar GROFF_COMMAND_PREFIX
4d3e9548
JL
1336to different values, the different
1337.I roff
1338installations can be addressed.
92d0a6a6
JR
1339.
1340More exactly, if it is set to prefix
1341.I xxx
1342then
1343.B groff
4d3e9548 1344as a wrapper program internally calls
92d0a6a6
JR
1345.IB xxx troff
1346instead of
1347.BR troff .
1348This also applies to the preprocessors
4d3e9548
JL
1349.BR eqn ,
1350.BR grn ,
1351.BR pic ,
92d0a6a6 1352.BR \%refer ,
4d3e9548 1353.BR tbl ,
92d0a6a6
JR
1354.BR \%soelim ,
1355and to the utilities
1356.B \%@g@indxbib
1357and
1358.BR \%@g@lookbib .
1359.
1360This feature does not apply to any programs different from the ones
1361above (most notably
1362.B groff
4d3e9548
JL
1363itself) since they are unique to the
1364.I groff
1365package.
1366.
1367.
1368.TP
1369.EnvVar GROFF_ENCODING
1370The value of this environment value is passed to the
1371.B preconv
1372preprocessor to select the encoding of input files.
1373.
1374Setting this option implies
1375.BR groff 's
1376command line option
1377.B \-k
1378(this is,
1379.B groff
1380actually always calls
1381.BR preconv ).
1382.
1383If set without a value,
1384.B groff
1385calls
1386.B preconv
1387without arguments.
1388.
1389An explicit
1390.B \-K
1391command line option overrides the value of
1392.EnvVar GROFF_ENCODING .
1393.
1394See
1395.BR preconv (@MAN1EXT@)
1396for details.
92d0a6a6
JR
1397.
1398.
1399.TP
1400.EnvVar GROFF_FONT_PATH
1401A list of directories in which to search for the
1402.BI dev name
1403directory in addition to the default ones.
1404.
1405See
1406.BR @g@troff (@MAN1EXT@)
1407and
1408.BR \%groff_font (@MAN5EXT@)
1409for more details.
1410.
1411.
1412.TP
1413.EnvVar GROFF_TMAC_PATH
1414A list of directories in which to search for macro files in addition to
1415the default directories.
1416.
1417See
1418.BR @g@troff (@MAN1EXT@)
1419and
1420.BR \%groff_tmac (@MAN5EXT@)
1421for more details.
1422.
1423.
1424.TP
1425.EnvVar GROFF_TMPDIR
4d3e9548 1426The directory in which temporary files are created.
92d0a6a6
JR
1427.
1428If this is not set but the environment variable
1429.EnvVar TMPDIR
4d3e9548 1430instead, temporary files are created in the directory
92d0a6a6 1431.EnvVar $TMPDIR .
4d3e9548 1432On MS-DOS and Windows\~32 platforms, the environment variables
92d0a6a6
JR
1433.EnvVar TMP
1434and
1435.EnvVar TEMP
1436(in that order) are searched also, after
1437.EnvVar GROFF_TMPDIR
1438and
1439.EnvVar TMPDIR .
1440.
4d3e9548 1441Otherwise, temporary files are created in
92d0a6a6
JR
1442.BR /tmp .
1443The
1444.BR \%@g@refer (@MAN1EXT@),
1445.BR \%groffer (@MAN1EXT@),
1446.BR \%grohtml (@MAN1EXT@),
1447and
1448.BR grops (@MAN1EXT@)
1449commands use temporary files.
1450.
1451.
1452.TP
1453.EnvVar GROFF_TYPESETTER
1454Preset the default device.
1455.
1456If this is not set the
1457.B @DEVICE@
1458device is used as default.
1459.
1460This device name is overwritten by the option
4d3e9548 1461.BR \-T .
92d0a6a6
JR
1462.
1463.
1464.\" --------------------------------------------------------------------
1465.SH FILES
1466.\" --------------------------------------------------------------------
1467.
1468There are some directories in which
1469.I groff
1470installs all of its data files.
1471.
1472Due to different installation habits on different operating systems,
1473their locations are not absolutely fixed, but their function is
1474clearly defined and coincides on all systems.
1475.
1476.
1477.\" --------------------------------------------------------------------
1478.SS "groff Macro Directory"
1479.\" --------------------------------------------------------------------
1480.
1481This contains all information related to macro packages.
1482.
1483Note that more than a single directory is searched for those files
1484as documented in
1485.BR \%groff_tmac (@MAN5EXT@).
1486.
4d3e9548
JL
1487For the
1488.I groff
1489installation corresponding to this document, it is located at
92d0a6a6
JR
1490.IR @MACRODIR@ .
1491.
1492The following files contained in the
1493.I groff macro directory
1494have a special meaning:
1495.
1496.
1497.TP
1498.B troffrc
4d3e9548
JL
1499Initialization file for
1500.IR troff .
92d0a6a6
JR
1501.
1502This is interpreted by
1503.B @g@troff
1504before reading the macro sets and any input.
1505.
1506.
1507.TP
1508.B troffrc-end
4d3e9548
JL
1509Final startup file for
1510.IR troff .
1511.
1512It is parsed after all macro sets have been read.
92d0a6a6
JR
1513.
1514.
1515.TP
1516.IB name .tmac
4d3e9548 1517.TQ
92d0a6a6
JR
1518.BI tmac. name
1519Macro file for macro package
1520.IR name .
1521.
1522.
1523.\" --------------------------------------------------------------------
1524.SS "groff Font Directory"
1525.\" --------------------------------------------------------------------
1526.
1527This contains all information related to output devices.
1528.
1529Note that more than a single directory is searched for those files; see
1530.BR @g@troff (@MAN1EXT@).
1531.
4d3e9548
JL
1532For the
1533.I groff
1534installation corresponding to this document, it is located at
92d0a6a6
JR
1535.IR @FONTDIR@ .
1536.
1537The following files contained in the
4d3e9548 1538.I "groff font directory"
92d0a6a6
JR
1539have a special meaning:
1540.
1541.
1542.TP
1543.BI dev name /DESC
1544Device description file for device
1545.IR name ,
1546see
1547.BR \%groff_font (@MAN5EXT@).
1548.
1549.
1550.TP
1551.BI dev name / F
1552Font file for font
1553.I F
1554of device
1555.IR name .
1556.
1557.
1558.\" --------------------------------------------------------------------
1559.SH EXAMPLES
1560.\" --------------------------------------------------------------------
1561.
1562The following example illustrates the power of the
1563.B groff
1564program as a wrapper around
1565.BR @g@troff .
1566.
1567.P
4d3e9548
JL
1568To process a
1569.I roff
1570file using the preprocessors
92d0a6a6
JR
1571.B tbl
1572and
1573.B pic
1574and the
1575.B me
4d3e9548
JL
1576macro set, classical
1577.I troff
1578had to be called by
92d0a6a6 1579.
4d3e9548
JL
1580.IP
1581.EX
1582pic foo.me | tbl | troff -me -Tlatin1 | grotty
1583.EE
92d0a6a6
JR
1584.
1585.P
1586Using
1587.BR groff ,
1588this pipe can be shortened to the equivalent command
4d3e9548
JL
1589.
1590.IP
1591.EX
1592groff -p -t -me -T latin1 foo.me
1593.EE
92d0a6a6
JR
1594.
1595.P
1596An even easier way to call this is to use
1597.BR grog (@MAN1EXT@)
1598to guess the preprocessor and macro options and execute the generated
1599command (by using backquotes to specify shell command substitution)
4d3e9548
JL
1600.
1601.IP
1602.EX
1603\`grog -Tlatin1 foo.me\`
1604.EE
92d0a6a6
JR
1605.
1606.P
1607The simplest way is to view the contents in an automated way by
1608calling
1609.
4d3e9548
JL
1610.IP
1611.EX
1612groffer foo.me
1613.EE
92d0a6a6
JR
1614.
1615.
1616.\" --------------------------------------------------------------------
1617.SH BUGS
1618.\" --------------------------------------------------------------------
1619.
1620.P
4d3e9548
JL
1621On \f[CR]EBCDIC\f[] hosts (e.g., \f[CR]OS/390 Unix\f[]), output
1622devices
92d0a6a6
JR
1623.B ascii
1624and
1625.B latin1
1626aren't available.
1627.
4d3e9548 1628Similarly, output for \f[CR]EBCDIC\f[] code page
92d0a6a6 1629.B cp1047
4d3e9548 1630is not available on \f[CR]ASCII\f[] based operating systems.
92d0a6a6
JR
1631.
1632.P
4d3e9548
JL
1633Report bugs to
1634.MT bug-groff@gnu.org
1635the groff maling list
1636.ME .
92d0a6a6 1637.
4d3e9548
JL
1638Include a complete, self-contained example that allows the bug to
1639be reproduced, and say which version of
1640.I groff
1641you are using.
92d0a6a6
JR
1642.
1643.
1644.\" --------------------------------------------------------------------
1645.SH AVAILABILITY
1646.\" --------------------------------------------------------------------
1647.
4d3e9548
JL
1648Information on how to get
1649.I groff
1650and related information is available at the
1651.UR http://\:www.gnu.org/\:software/\:groff
1652groff GNU website
1653.UE .
92d0a6a6 1654.
4d3e9548
JL
1655The most recent released version of
1656.I groff
1657is available at the
1658.UR http://\:groff.ffii.org/\:groff/\:devel/\:groff-current.tar.gz
1659groff development site
1660.UE .
92d0a6a6 1661.
4d3e9548
JL
1662.P
1663Three
1664.I groff
1665mailing lists are available:
1666.IP
1667.MT bug-groff@gnu.org
1668for reporting bugs
1669.ME .
92d0a6a6 1670.
4d3e9548
JL
1671.IP
1672.MT groff@gnu.org
1673for general discussion of
1674.IR groff ,
1675.ME .
1676.IP
1677.MT groff-commit@ffii.org
1678the groff commit list
1679.ME ,
92d0a6a6
JR
1680a read-only list showing logs of commitments to the CVS repository.
1681.
1682.P
1683Details on CVS access and much more can be found in the file
1684.B README
4d3e9548
JL
1685at the top directory of the
1686.I groff
1687source package.
92d0a6a6
JR
1688.
1689.P
1690There is a free implementation of the
1691.B grap
1692preprocessor, written by
4d3e9548
JL
1693.MT faber@lunabase.org
1694Ted Faber
1695.ME .
92d0a6a6
JR
1696.
1697The actual version can be found at the
1698.
4d3e9548
JL
1699.UR http://\:www.lunabase.org/\:~faber/\:Vault/\:software/\:grap/
1700grap website
1701.UE .
1702This is the only grap version supported by
1703.IR groff .
92d0a6a6
JR
1704.
1705.
1706.\" --------------------------------------------------------------------
1707.SH AUTHORS
1708.\" --------------------------------------------------------------------
1709.
4d3e9548
JL
1710Copyright \(co 1989, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
1711Free Software Foundation, Inc.
92d0a6a6
JR
1712.
1713.P
4d3e9548
JL
1714This document is distributed under the terms of the \f[CR]FDL\f[]
1715(\f[CR]GNU Free Documentation License\f[]) version 1.3 or later.
92d0a6a6 1716.
4d3e9548
JL
1717You should have received a copy of the \f[CR]FDL\f[] on your system,
1718it is also available on-line at the
1719.UR http://\:www.gnu.org/\:copyleft/\:fdl.html
1720GNU copyleft site
1721.UE .
92d0a6a6
JR
1722.
1723.P
4d3e9548
JL
1724This document is based on the original
1725.I groff
1726man page written by
1727.MT jjc@jclark.com
1728James Clark
1729.UE .
92d0a6a6
JR
1730.
1731It was rewritten, enhanced, and put under the FDL license by
4d3e9548 1732Bernd Warken.
92d0a6a6
JR
1733.
1734It is maintained by
4d3e9548
JL
1735.MT wl@gnu.org
1736Werner Lemberg
1737.ME .
92d0a6a6
JR
1738.
1739.P
1740.I groff
4d3e9548 1741is a \f[CR]GNU\f[] free software project.
92d0a6a6
JR
1742.
1743All parts of the
1744.I groff package
4d3e9548 1745are protected by \f[CR]GNU copyleft licenses\f[].
92d0a6a6 1746.
4d3e9548
JL
1747The software files are distributed under the terms of the \f[CR]GNU
1748General Public License\f[] (\f[CR]GPL\f[]), while the documentation
1749files mostly use the \f[CR]GNU Free Documentation License\f[]
1750(\f[CR]FDL\f[]).
92d0a6a6
JR
1751.
1752.
1753.\" --------------------------------------------------------------------
1754.SH "SEE ALSO"
1755.\" --------------------------------------------------------------------
1756.
1757The
4d3e9548
JL
1758.I groff info file
1759contains all information on the
1760.I groff
1761system within a single document, providing many examples and
1762background information.
92d0a6a6
JR
1763.
1764See
1765.BR info (1)
1766on how to read it.
1767.
1768.P
4d3e9548
JL
1769Due to its complex structure, the
1770.I groff
1771system has many man pages.
92d0a6a6
JR
1772.
1773They can be read with
1774.BR man (1)
1775or
1776.BR \%groffer (@MAN1EXT@).
1777.
1778.TP
1779Introduction, history and further readings:
1780.BR roff (@MAN7EXT@).
1781.
1782.TP
1783Viewer for groff files:
1784.BR \%groffer (@MAN1EXT@),
1785.BR \%gxditview (@MAN1EXT@),
1786.BR \%xditview (1x).
1787.
1788.TP
1789Wrapper programs for formatters:
1790.BR \%groff (@MAN1EXT@),
1791.BR \%grog (@MAN1EXT@).
1792.
1793.TP
1794Roff preprocessors:
1795.BR \%@g@eqn (@MAN1EXT@),
1796.BR \%@g@grn (@MAN1EXT@),
1797.BR \%@g@pic (@MAN1EXT@),
4d3e9548
JL
1798.BR \%@g@chem (@MAN1EXT@),
1799.BR \%preconv (@MAN1EXT@),
92d0a6a6
JR
1800.BR \%@g@refer (@MAN1EXT@),
1801.BR \%@g@soelim (@MAN1EXT@),
1802.BR \%@g@tbl (@MAN1EXT@),
1803.BR grap (1).
1804.
1805.TP
1806Roff language with the groff extensions:
1807.BR \%groff (@MAN7EXT@),
1808.BR \%groff_char (@MAN7EXT@),
1809.BR \%groff_diff (@MAN7EXT@),
1810.BR \%groff_font (@MAN5EXT@).
1811.
1812.TP
1813Roff formatter programs:
1814.BR \%@g@nroff (@MAN1EXT@),
1815.BR \%@g@troff (@MAN1EXT@),
1816.BR ditroff (@MAN7EXT@).
1817.
1818.TP
4d3e9548 1819The intermediate output language:
92d0a6a6
JR
1820.BR \%groff_out (@MAN7EXT@).
1821.
1822.TP
1823Postprocessors for the output devices:
1824.BR \%grodvi (@MAN1EXT@),
1825.BR \%grohtml (@MAN1EXT@),
1826.BR \%grolbp (@MAN1EXT@),
1827.BR \%grolj4 (@MAN1EXT@),
1828.BR \%lj4_font (@MAN5EXT@),
1829.BR \%grops (@MAN1EXT@),
1830.BR \%grotty (@MAN1EXT@).
1831.
1832.TP
1833Groff macro packages and macro-specific utilities:
1834.BR \%groff_tmac (@MAN5EXT@),
1835.BR \%groff_man (@MAN7EXT@),
1836.BR \%groff_mdoc (@MAN7EXT@),
1837.BR \%groff_me (@MAN7EXT@),
1838.BR \%groff_mm (@MAN7EXT@),
1839.BR \%groff_mmse (@MAN7EXT@),
1840.BR \%groff_mom (@MAN7EXT@),
1841.BR \%groff_ms (@MAN7EXT@),
1842.BR \%groff_www (@MAN7EXT@),
1843.BR \%groff_trace (@MAN7EXT@),
1844.BR \%mmroff (@MAN7EXT@).
1845.
1846.TP
1847The following utilities are available:
1848.BR \%addftinfo (@MAN1EXT@),
1849.BR \%afmtodit (@MAN1EXT@),
1850.BR \%eqn2graph (@MAN1EXT@),
4d3e9548 1851.BR \%gdiffmk (@MAN1EXT@),
92d0a6a6
JR
1852.BR \%grap2graph (@MAN1EXT@),
1853.BR \%groffer (@MAN1EXT@),
1854.BR \%gxditview (@MAN1EXT@),
1855.BR \%hpftodit (@MAN1EXT@),
1856.BR \%@g@indxbib (@MAN1EXT@),
4d3e9548 1857.BR \%lkbib (@MAN1EXT@),
92d0a6a6 1858.BR \%@g@lookbib (@MAN1EXT@),
4d3e9548 1859.BR \%pdfroff (@MAN1EXT@),
92d0a6a6
JR
1860.BR \%pfbtops (@MAN1EXT@),
1861.BR \%pic2graph (@MAN1EXT@),
4d3e9548
JL
1862.BR \%tfmtodit (@MAN1EXT@),
1863.BR \%xtotroff (@MAN1EXT@).
92d0a6a6
JR
1864.
1865.\" --------------------------------------------------------------------
1866.\" Emacs setup
1867.\" --------------------------------------------------------------------
1868.
1869.\" Local Variables:
1870.\" mode: nroff
1871.\" End: