1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
<!DOCTYPE html>
<html>
<!-- Created by GNU Texinfo 7.0.3, https://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- This manual documents GNU troff version 1.23.0.
Copyright � 1994-2023 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
copy of the license is included in the section entitled "GNU Free
Documentation License". -->
<title>Invoking groff (The GNU Troff Manual)</title>
<meta name="description" content="Invoking groff (The GNU Troff Manual)">
<meta name="keywords" content="Invoking groff (The GNU Troff Manual)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="index.html" rel="start" title="Top">
<link href="Request-Index.html" rel="index" title="Request Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="index.html" rel="up" title="Top">
<link href="Tutorial-for-Macro-Users.html" rel="next" title="Tutorial for Macro Users">
<link href="Introduction.html" rel="prev" title="Introduction">
</head>
<body lang="en">
<div class="chapter-level-extent" id="Invoking-groff">
<div class="nav-panel">
<p>
Next: <a href="Tutorial-for-Macro-Users.html" accesskey="n" rel="next">Tutorial for Macro Users</a>, Previous: <a href="Introduction.html" accesskey="p" rel="prev">Introduction</a>, Up: <a href="index.html" accesskey="u" rel="up">GNU <code class="code">troff</code></a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Request-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<h2 class="chapter" id="Invoking-groff-1">2 Invoking <code class="code">groff</code></h2>
<a class="index-entry-id" id="index-invoking-groff"></a>
<a class="index-entry-id" id="index-groff-invocation"></a>
<p>This chapter focuses on how to invoke the <code class="code">groff</code> front end. This
front end takes care of the details of constructing the pipeline among
the preprocessors, <code class="code">gtroff</code> and the postprocessor.
</p>
<p>It has become a tradition that GNU programs get the prefix ‘<samp class="samp">g</samp>’ to
distinguish them from their original counterparts provided by the host
(see <a class="pxref" href="Environment.html">Environment</a>). Thus, for example, <code class="code">geqn</code> is GNU
<code class="code">eqn</code>. On operating systems like GNU/Linux or the Hurd, which
don’t contain proprietary versions of <code class="code">troff</code>, and on
MS-DOS/MS-Windows, where <code class="code">troff</code> and associated programs are not
available at all, this prefix is omitted since GNU <code class="code">troff</code> is the
only incarnation of <code class="code">troff</code> used. Exception: ‘<samp class="samp">groff</samp>’ is never
replaced by ‘<samp class="samp">roff</samp>’.
</p>
<p>In this document, we consequently say ‘<samp class="samp">gtroff</samp>’ when talking about
the GNU <code class="code">troff</code> program. All other implementations of <code class="code">troff</code> are called <abbr class="acronym">AT&T</abbr>
<code class="code">troff</code>, which is the common origin of almost all <code class="code">troff</code>
implementations<a class="footnote" id="DOCF4" href="groff.html_fot.html#FOOT4"><sup>4</sup></a> (with more or less compatible changes). Similarly, we say
‘<samp class="samp">gpic</samp>’, ‘<samp class="samp">geqn</samp>’, and so on.
</p>
<ul class="mini-toc">
<li><a href="Groff-Options.html" accesskey="1">Options</a></li>
<li><a href="Environment.html" accesskey="2">Environment</a></li>
<li><a href="Macro-Directories.html" accesskey="3">Macro Directories</a></li>
<li><a href="Font-Directories.html" accesskey="4">Font Directories</a></li>
<li><a href="Paper-Format.html" accesskey="5">Paper Format</a></li>
<li><a href="Invocation-Examples.html" accesskey="6">Invocation Examples</a></li>
</ul>
</div>
</body>
</html>
|