summaryrefslogtreecommitdiffstats
path: root/doc/groff.html.node/Major-Macro-Packages.html
blob: 414994f4d199854e8f41b36cb68c7b334d2a8cf0 (plain)
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!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>Major Macro Packages (The GNU Troff Manual)</title>

<meta name="description" content="Major Macro Packages (The GNU Troff Manual)">
<meta name="keywords" content="Major Macro Packages (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="GNU-troff-Reference.html" rel="next" title="GNU troff Reference">
<link href="Tutorial-for-Macro-Users.html" rel="prev" title="Tutorial for Macro Users">
<style type="text/css">
<!--
div.example {margin-left: 3.2em}
span.r {font-family: initial; font-weight: normal; font-style: normal}
-->
</style>


</head>

<body lang="en">
<div class="chapter-level-extent" id="Major-Macro-Packages">
<div class="nav-panel">
<p>
Next: <a href="GNU-troff-Reference.html" accesskey="n" rel="next">GNU <code class="code">troff</code> Reference</a>, Previous: <a href="Tutorial-for-Macro-Users.html" accesskey="p" rel="prev">Tutorial for Macro Users</a>, Up: <a href="index.html" accesskey="u" rel="up">GNU <code class="code">troff</code></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>
</div>
<hr>
<h2 class="chapter" id="Macro-Packages-2">4 Macro Packages</h2>
<a class="index-entry-id" id="index-major-macro-package"></a>
<a class="index-entry-id" id="index-package_002c-macro_002c-major"></a>
<a class="index-entry-id" id="index-macro-package_002c-major"></a>

<p>This chapter surveys the &ldquo;major&rdquo; macro packages that come with
<code class="code">groff</code>.  One, <samp class="file">ms</samp>, is presented in detail.
</p>
<a class="index-entry-id" id="index-full_002dservice-macro-package"></a>
<a class="index-entry-id" id="index-package_002c-macro_002c-full_002dservice"></a>
<a class="index-entry-id" id="index-macro-package_002c-full_002dservice"></a>
<p>Major macro packages are also sometimes described as <em class="dfn">full-service</em>
due to the breadth of features they provide and because more than one
cannot be used by the same document; for example
</p>
<div class="example">
<div class="group"><pre class="example-preformatted">groff -m man foo.man -m ms bar.doc
</pre></div></div>

<p>doesn&rsquo;t work.  Option arguments are processed before non-option
arguments; the above (failing) sample is thus reordered to
</p>
<div class="example">
<div class="group"><pre class="example-preformatted">groff -m man -m ms foo.man bar.doc
</pre></div></div>

<a class="index-entry-id" id="index-minor-macro-package"></a>
<a class="index-entry-id" id="index-package_002c-macro_002c-minor"></a>
<a class="index-entry-id" id="index-macro-package_002c-minor"></a>
<a class="index-entry-id" id="index-auxiliary-macro-package"></a>
<a class="index-entry-id" id="index-package_002c-macro_002c-auxiliary"></a>
<a class="index-entry-id" id="index-macro-package_002c-auxiliary"></a>
<p>Many auxiliary, or &ldquo;minor&rdquo;, macro packages are also available.  They
may in general be used with any full-service macro package and handle a
variety of tasks from character encoding selection, to language
localization, to inlining of raster images.  See the
<cite class="cite">groff_tmac<span class="r">(5)</span></cite> man page for a list.  Type &lsquo;<samp class="samp">man
groff_tmac</samp>&rsquo; at the command line to view it.
</p>



<ul class="mini-toc">
<li><a href="man.html" accesskey="1"><samp class="file">man</samp></a></li>
<li><a href="mdoc.html" accesskey="2"><samp class="file">mdoc</samp></a></li>
<li><a href="me.html" accesskey="3"><samp class="file">me</samp></a></li>
<li><a href="mm.html" accesskey="4"><samp class="file">mm</samp></a></li>
<li><a href="mom.html" accesskey="5"><samp class="file">mom</samp></a></li>
<li><a href="ms.html" accesskey="6"><samp class="file">ms</samp></a></li>
</ul>
</div>



</body>
</html>