Imported Upstream version 1.23.0
[platform/upstream/groff.git] / doc / groff.html.node / Macro-Packages.html
1 <!DOCTYPE html>
2 <html>
3 <!-- Created by GNU Texinfo 7.0.3, https://www.gnu.org/software/texinfo/ -->
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6 <!-- This manual documents GNU troff version 1.23.0.
7
8 Copyright © 1994-2023 Free Software Foundation, Inc.
9
10 Permission is granted to copy, distribute and/or modify this document
11 under the terms of the GNU Free Documentation License, Version 1.3 or
12 any later version published by the Free Software Foundation; with no
13 Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
14 copy of the license is included in the section entitled "GNU Free
15 Documentation License". -->
16 <title>Macro Packages (The GNU Troff Manual)</title>
17
18 <meta name="description" content="Macro Packages (The GNU Troff Manual)">
19 <meta name="keywords" content="Macro Packages (The GNU Troff Manual)">
20 <meta name="resource-type" content="document">
21 <meta name="distribution" content="global">
22 <meta name="Generator" content="makeinfo">
23 <meta name="viewport" content="width=device-width,initial-scale=1">
24
25 <link href="index.html" rel="start" title="Top">
26 <link href="Request-Index.html" rel="index" title="Request Index">
27 <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
28 <link href="Text.html" rel="up" title="Text">
29 <link href="Input-Encodings.html" rel="next" title="Input Encodings">
30 <link href="Requests-and-Macros.html" rel="prev" title="Requests and Macros">
31
32
33 </head>
34
35 <body lang="en">
36 <div class="subsection-level-extent" id="Macro-Packages">
37 <div class="nav-panel">
38 <p>
39 Next: <a href="Input-Encodings.html" accesskey="n" rel="next">Input Encodings</a>, Previous: <a href="Requests-and-Macros.html" accesskey="p" rel="prev">Requests and Macros</a>, Up: <a href="Text.html" accesskey="u" rel="up">Text</a> &nbsp; [<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>
40 </div>
41 <hr>
42 <h4 class="subsection" id="Macro-Packages-3">5.1.8 Macro Packages</h4>
43 <a class="index-entry-id" id="index-macro-package"></a>
44 <a class="index-entry-id" id="index-package_002c-macro"></a>
45
46 <p>Macro definitions can be collected into <em class="dfn">macro files</em>, <code class="code">roff</code>
47 input files designed to produce no output themselves but instead ease
48 the preparation of other <code class="code">roff</code> documents.  There is no syntactical
49 difference between a macro file and any other <code class="code">roff</code> document; only
50 its purpose distinguishes it.  When a macro file is installed at a
51 standard location and suitable for use by a general audience, it is
52 often termed a <em class="dfn">macro package</em>.<a class="footnote" id="DOCF29" href="groff.html_fot.html#FOOT29"><sup>29</sup></a>  Macro packages can be
53 loaded by supplying the <samp class="option">-m</samp> option to GNU <code class="command">troff</code> or a
54 <code class="code">groff</code> front end.  Alternatively, a document requiring a macro
55 package can load it with the <code class="code">mso</code> (&ldquo;macro source&rdquo;) request.
56 </p>
57
58
59 </div>
60
61
62
63 </body>
64 </html>