5 This file is part of groff, the GNU roff type-setting system.
7 Copyright (C) 2000 Free Software Foundation, Inc.
8 written by Bernd Warken <bwarken@mayn.de>
10 Last update: 17 May 2000
12 Permission is granted to copy, distribute and/or modify this document
13 under the terms of the GNU Free Documentation License, Version 1.1 or
14 any later version published by the Free Software Foundation; with the
15 Invariant Sections being this .ig-section and AUTHOR, with no
16 Front-Cover Texts, and with no Back-Cover Texts.
18 A copy of the Free Documentation License is included as a file called
19 FDL in the main directory of the groff source package.
21 .\" Japanese Version Copyright (c) 2001 UCHIDA Norihiro all rights reserved.
22 .\" Translated Mon Mar 12 2001 by UCHIDA Norihiro <KY4N-UCD@asahi-net.or.jp>
23 .\" --------------------------------------------------------------------
25 .\" --------------------------------------------------------------------
34 .\" text lines in macro definitions or bracketed sections \{...\}
43 . ds @tmp@ \fB\\$1\fP\fI\\$2\fP
45 . text \\*[@tmp@]\fR\\$*\fP
51 . ds @tmp@ `\f(CB\\$1\fP'
58 . ds @tmp@ \f(CB\\$1\fP
64 .als shellcommand option
67 . ds @tmp@ \f(CI\\$1\fP
74 . ds @tmp@ \f(CB\\$1\fP
80 .\" --------------------------------------------------------------------
82 .\" --------------------------------------------------------------------
83 .TH GROFF_TMAC 5 "22 May 2000" "Groff Version 1.16.1"
86 .\"O groff_tmac \- macro files in the roff typesetting system
87 groff_tmac \- roff ¥Æ¥¥¹¥ÈÀ°·Á¥·¥¹¥Æ¥à¤Î¥Þ¥¯¥í¥Õ¥¡¥¤¥ë
88 .\" --------------------------------------------------------------------
91 .\" --------------------------------------------------------------------
94 .\"O type-setting system provides a set of macro packages suitable for
95 .\"O special kinds of documents. Each macro package stores its macros and
96 .\"O definitions in a file called the package's
97 .\"O .BR "tmac file" .
98 .\"O The name is deduced from
102 ¥Æ¥¥¹¥ÈÀ°·Á¥·¥¹¥Æ¥à¤Ï¡¢ÆÃÄê¤Î¥É¥¥å¥á¥ó¥È¤Ë¤È¤Ã¤ÆÊØÍø¤Ê¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤ò
103 Ä󶡤·¤Æ¤¤¤ë¡£¤½¤ì¤¾¤ì¤Î¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤Ï¥Ñ¥Ã¥±¡¼¥¸¤´¤È¤Î
105 ¤È¸Æ¤Ð¤ì¤ë¥Õ¥¡¥¤¥ë¤Ë¥Þ¥¯¥í¤ÈÄêµÁ¤ò³ÊǼ¤·¤Æ¤¤¤ë¡£
111 .\"O The tmac files are normal roff source documents, except that they
112 .\"O usually contain only definitions and setup commands, but no text. All
113 .\"O tmac files are kept in a single or a small number of directories, the
116 tmac ¥Õ¥¡¥¤¥ë¤ÏÉáÄ̤Πroff ¤Î¥½¡¼¥¹¥É¥¥å¥á¥ó¥È¤Ç¡¢Ä̾ï¤ÏÄêµÁ¤È¥»¥Ã¥È¥¢¥Ã¥×
117 ¥³¥Þ¥ó¥É¤À¤±¤ò´Þ¤ß¡¢¥Æ¥¥¹¥È¤Ï´Þ¤Þ¤ì¤Ê¤¤¡£
118 ¤¹¤Ù¤Æ¤Î tmac ¥Õ¥¡¥¤¥ë¤Ï¡¢¤Ò¤È¤Ä¤¢¤ë¤¤¤Ï¤¤¤¯¤Ä¤«¤Î¥Ç¥£¥ì¥¯¥È¥ê
120 ¥Ç¥£¥ì¥¯¥È¥ê) ¤Ë³ÊǼ¤µ¤ì¤ë¡£
121 .\" --------------------------------------------------------------------
124 .\" --------------------------------------------------------------------
125 .\"O In classical roff systems, there was a funny naming scheme.
126 .\"O If the name of a macro package started with
128 .\"O this letter was omitted, e.g., the macro package for the man pages
132 .\"O and its macro file
134 ¸ÅŵŪ¤Ê roff ¥·¥¹¥Æ¥à¤Ç¤Ï¡¢´ñ̯¤Ê̿̾µ¬Â§¤¬ÍѤ¤¤é¤ì¤Æ¤¤¤¿¡£
135 ¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤Î̾Á°¤¬
137 ¤Ç»Ï¤Þ¤ë¾ì¹ç¤Ï¡¢¤³¤Îʸ»ú¤Ï¾Êά¤µ¤ì¤¿¡£¤¿¤È¤¨¤Ð¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸
139 ÍѤΥޥ¯¥í¥Ñ¥Ã¥±¡¼¥¸¤Ï
141 ¤Ç¡¢¤½¤Î¥Þ¥¯¥í¥Õ¥¡¥¤¥ë¤Ï
145 .\"O By a similar reasoning, macro packages that did not start with an
147 .\"O were often referred to by adding an
149 .\"O e.g., the package corresponding to
153 .\"O because the command-line for activating it reads
156 ¤Ç»Ï¤Þ¤é¤Ê¤¤¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤Ï¤·¤Ð¤·¤Ð
158 ¤òÄɲ䵤ì¤Æ¸Æ¤Ð¤ì¤¿¡£¤¿¤È¤¨¤Ð¡¢
160 ¤ËÂбþ¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤Ï
162 ¤È¸Æ¤Ð¤ì¤¿¡£¤Ê¤¼¤Ê¤é¡¢¤³¤Î¥Þ¥¯¥í¤òÍѤ¤¤ë¤È¤¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤¬°Ê²¼¤Î¤è¤¦¤Ë
166 .\"O .BIR "troff\ \-m" doc .
170 .\"O Actual versions of
172 .\"O provide both naming schemes for the inflicted macro packages, with and
173 .\"O without the leading
179 .\"O macro package may be specified as
182 .\"O .BIR "groff\ \-m\ " man ,
184 .\"O .BIR "groff\ \-m" an ,
186 .\"O .BIR "groff\ \-m" man , or
188 .\"O .BIR "groff\ \-m " an .
193 ¤Ç¤Ï¡¢»ÈÍѤ¹¤ë¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤Î̿̾ÊýË¡¤ÏÀè¹Ô¤¹¤ë
195 ¤¬¤¢¤ë¾ì¹ç¡¦¤Ê¤¤¾ì¹ç¤ÎξÊý¤òÄ󶡤·¤Æ¤¤¤ë¡£
200 ¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤Ï°Ê²¼¤Î¤è¤¦¤Ë»ØÄê¤Ç¤¤ë¡£
203 .BI "groff\ \-m\ " man
212 .\"O The easiest way to find out which macro packages are available on a
213 .\"O system is to check the content of the
216 .\"O For example, a file called
217 .\"O .BI tmac. anything
218 .\"O determines a macro package named
220 ¥·¥¹¥Æ¥à¾å¤Ç͸ú¤Ê¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤ò¸«¤Ä¤±¤ë¤â¤Ã¤È¤â´Êñ¤ÊÊýË¡¤Ï¡¢
222 ¥Ç¥£¥ì¥¯¥È¥ê¤ÎÆâÍƤò¥Á¥§¥Ã¥¯¤¹¤ë¤³¤È¤Ç¤¢¤ë¡£
227 ¤È¤¤¤¦Ì¾Á°¤Î¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤òÄêµÁ¤·¤Æ¤¤¤ë¡£
231 .\"O most macro packages are described in man pages called
232 .\"O .BR groff_<name> (7),
235 .\"O for the classical packages.
237 ¤Ç¤Ï¡¢¤Û¤È¤ó¤É¤Î¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤¬
239 ¤È¤¤¤¦¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ÇÀâÌÀ¤µ¤ì¤Æ¤ª¤ê¡¢¸ÅŵŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤â
242 .\" --------------------------------------------------------------------
245 .\" --------------------------------------------------------------------
246 .\"O There are several ways to use a macro package in documents. At
247 .\"O run-time, the groff option
248 .\"O .option \-m \ \c
250 .\"O makes the definitions in the macro file
252 .\"O available as described in the section
254 ¥É¥¥å¥á¥ó¥ÈÃæ¤Ç¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤ò»È¤¦ÊýË¡¤Ï¤¤¤¯¤Ä¤«¤¢¤ë¡£
255 ¼Â¹Ô»þ¤Î»ØÄêÊýË¡¤Ç¤Ï¡¢groff ¤Î ¥ª¥×¥·¥ç¥ó
260 ¤Î¥»¥¯¥·¥ç¥ó¤Çµ½Ò¤·¤¿¤è¤¦¤Ë¥Þ¥¯¥í¥Õ¥¡¥¤¥ë
264 .\"O It is also possible to include the macro file into the document by using
265 .\"O the groff requests
271 .\"O the full filename of the macro file must be specified \(em including the
272 .\"O directory where it is kept.
273 .\"O If the macro file is stored in one of the tmac directories it is more
274 .\"O convenient to use
276 .\"O instead because it additionally searches the tmac path for the filename.
281 ¤ò»È¤Ã¤Æ¥É¥¥å¥á¥ó¥ÈÃæ¤Ç¥Þ¥¯¥í¥Õ¥¡¥¤¥ë¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤¤ë¡£
283 ¤Ç¤Ï¡¢¥Þ¥¯¥í¥Õ¥¡¥¤¥ë¤Ï³ÊǼ¤µ¤ì¤Æ¤¤¤ë¥Ç¥£¥ì¥¯¥È¥ê¤â´Þ¤á¤¿´°Á´¤Ê¥Õ¥¡¥¤¥ë̾¤Ç
285 ¥Þ¥¯¥í¥Õ¥¡¥¤¥ë¤¬ tmac ¥Ç¥£¥ì¥¯¥È¥ê¤Î¤Ò¤È¤Ä¤Ë³ÊǼ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢Âå¤ï¤ê¤Ë
287 ¤ò»ÈÍѤ¹¤ëÊý¤¬ÊØÍø¤Ç¤¢¤ë¡£¤³¤Á¤é¤Ï¥Õ¥¡¥¤¥ë̾¤Ë tmac ¥Ñ¥¹¤òÄɲä·¤Æ
290 .\"O Note that in order to resolve the
294 .\"O requests the roff preprocessor
295 .\"O .shellcommand soelim
296 .\"O must be called. This can be done either directly by a pipeline on the
297 .\"O command line or by using the
300 .\"O .shellcommand groff .
304 ¤Î¥ê¥¯¥¨¥¹¥È¤ò²ò·è¤¹¤ë¤¿¤á¤Ë roff ¤Î¥×¥ê¥×¥í¥»¥Ã¥µ
306 ¤¬¸Æ¤Ó½Ð¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤³¤È¤ËÃí°Õ¤¹¤ë¤³¤È¡£
307 ¤³¤ì¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¾å¤Î¥Ñ¥¤¥×¥é¥¤¥ó¤ÇľÀܼ¹Ԥ¹¤ëÊýË¡¤È¡¢
311 ¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤Æ¸Æ¤Ó½Ð¤¹ÊýË¡¤Î¤É¤Á¤é¤Ç¤â²Äǽ¤Ç¤¢¤ë¡£
313 .\"O You can also supply the letter
315 .\"O in the preprocessor word as described in section
316 .\"O .BR CONVENTION .
318 ¤Î¥»¥¯¥·¥ç¥ó¤Çµ½Ò¤·¤Æ¤¢¤ë¤è¤¦¤Ë¡¢¥×¥ê¥×¥í¥»¥Ã¥µ»ØÄê»Ò¤Îʸ»ú
320 ¤Ç»ØÄꤹ¤ë¤³¤È¤â¤Ç¤¤ë¡£
322 .\"O For example, suppose a macro file is stored as
323 .\"O .I /usr/share/groff/tmac/tmac.macros
324 .\"O and is used in some document called
326 ¤¿¤È¤¨¤Ð¡¢¥Þ¥¯¥í¥Õ¥¡¥¤¥ë¤¬
327 .I /usr/share/groff/tmac/tmac.macros
330 ¤È¤¤¤¦¥É¥¥å¥á¥ó¥È¤Ç»ÈÍѤ¹¤ë¤È²¾Äꤹ¤ë¡£
332 .\"O At run-time, the formatter call for this is
333 ¼Â¹Ô»þ¤Ç¤Ï¡¢¥Õ¥©¡¼¥Þ¥Ã¥¿¤Î¸Æ¤Ó½Ð¤·ÊýË¡¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ë¡£
337 .shellcommand "groff\ \-m"
343 .\"O To include the macro file directly in the document either
344 ¥É¥¥å¥á¥ó¥ÈÃæ¤Ç¥Þ¥¯¥í¥Õ¥¡¥¤¥ë¤òľÀÜ»ØÄꤹ¤ë¤Ë¤Ï¡¢
354 \&\.so /usr/share/groff/tmac/tmac.macros
359 .\"O In both cases, the formatter is called with
360 ¤É¤Á¤é¤Î¾ì¹ç¤Ç¤â¡¢¥Õ¥©¡¼¥Þ¥Ã¥¿¤ò
366 ¤Î¤è¤¦¤Ë¤·¤Æ¸Æ¤Ó½Ð¤¹¡£
368 .\" --------------------------------------------------------------------
371 .\" --------------------------------------------------------------------
373 .\"O There is a convention that is supported by many modern roff
374 .\"O type-setters: the
375 .\"O .B preprocessor word
376 .\"O described in the following.
377 ºÇ¶á¤Î¿¤¯¤Î roff À°·Á¥·¥¹¥Æ¥à¤Ç¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë
378 .B ¥×¥ê¥×¥í¥»¥Ã¥µ»ØÄê»Ò
379 ¤Îµ¬Äê¤Ë¤Ä¤¤¤Æ°Ê²¼¤Ëµ½Ò¤¹¤ë¡£
381 .\"O If the first line in a document is a comment, the first word (after the
382 .\"O comment characters and a blank) constitutes the
385 ¥É¥¥å¥á¥ó¥È¤ÎÀèƬ¹Ô¤¬¥³¥á¥ó¥È¤Î¾ì¹ç¤Ï¡¢¥³¥á¥ó¥Èʸ»ú¤È¶õÇò¤Ë³¤¯ºÇ½é¤Î
387 .B ¥×¥ê¥×¥í¥»¥Ã¥µ»ØÄê»Ò
389 .\"O That means that the letters of this word are interpreted as
390 .\"O abbreviations for those preprocessor commands that should be run
391 .\"O when formatting the document. Mostly, only the letters corresponding to
392 .\"O the options for the preprocessors are recognized,
402 ¤Ä¤Þ¤ê¡¢¤³¤ì¤é¤Îʸ»ú¤Ï¥É¥¥å¥á¥ó¥È¤òÀ°·Á¤¹¤ë¤È¤¤Ëµ¯Æ°¤µ¤ì¤ë
403 ¥×¥ê¥×¥í¥»¥Ã¥µ¥³¥Þ¥ó¥É¤Î¾Êά·Á¤È¤ß¤Ê¤µ¤ì¤ë¡£
404 ¤¿¤¤¤Æ¤¤¤Ï¡¢¥×¥ê¥×¥í¥»¥Ã¥µ¤Î¸Æ¤Ó½Ð¤·¥ª¥×¥·¥ç¥ó¤È°ìÃפ¹¤ëʸ»ú¤À¤±¤¬Ç§¼±¤µ¤ì¡¢
416 .\"O Besides being a good reminder for the user, some formatters (like the
418 .\"O program) are even able to automatically start the preprocessors
419 .\"O specified in the preprocessor word, but do not bet on this.
420 ¥æ¡¼¥¶¤ËÎɤ½õ¸À¤òÍ¿¤¨¤ë¤Ê¤é¤Ð¡¢¤¤¤¯¤Ä¤«¤Î¥Õ¥©¡¼¥Þ¥Ã¥¿ (¤¿¤È¤¨¤Ð
422 ¥×¥í¥°¥é¥à¤Ê¤É) ¤â¥×¥ê¥×¥í¥»¥Ã¥µ»ØÄê»Ò¤Ë¤è¤Ã¤Æ»ØÄꤵ¤ì¤¿¥×¥ê¥×¥í¥»¥Ã¥µ¤ò
423 ¼«Æ°Åª¤Ëµ¯Æ°¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¡£¤·¤«¤·¡¢¤½¤ÎÆ°ºî¤ò´üÂÔ¤¹¤ë¤Ù¤¤Ç¤Ï¤Ê¤¤¡£
424 .\" --------------------------------------------------------------------
425 .\"O .SH "WRITING A MACRO FILE"
426 .SH ¥Þ¥¯¥í¥Õ¥¡¥¤¥ë¤Îµ½ÒÊýË¡
427 .\" --------------------------------------------------------------------
428 .\"O Writing a groff macro file is easy. Design a set of macros, strings,
429 .\"O registers, etc. Store them in a single file. Documents that use the
430 .\"O macros include this macro file with the
432 .\"O request as described in the
435 groff ¤Î¥Þ¥¯¥í¥Õ¥¡¥¤¥ë¤òµ½Ò¤¹¤ë¤³¤È¤Ï´Êñ¤Ç¤¢¤ë¡£
436 °ìÏ¢¤Î¥Þ¥¯¥í¡¢Ê¸»úÎ󡢥쥸¥¹¥¿¤Ê¤É¤ò¥Ç¥¶¥¤¥ó¤·¡¢¤½¤ì¤é¤ò¤Ò¤È¤Ä¤Î¥Õ¥¡¥¤¥ë¤Ë
437 ³ÊǼ¤¹¤ë¡£¤³¤Î¥Þ¥¯¥í¤òÍѤ¤¤ë¥É¥¥å¥á¥ó¥È¤Ç
439 ¥ê¥¯¥¨¥¹¥È¤Ë¤è¤Ã¤Æ¥Þ¥¯¥í¥Õ¥¡¥¤¥ë¤ò»ØÄꤹ¤ëÊýË¡¤Ï
441 ¤Î¥»¥¯¥·¥ç¥ó¤Ëµ½Ò¤·¤Æ¤¢¤ë¡£
443 .\"O To use the tmac functionality, call the macro file
444 .\"O .BI tmac. whatever
445 .\"O and put it in some directory of the tmac path, cf. section
447 .\"O Then documents can include it with the
450 .\"O .shellcommand "groff\ \-m"
451 .\"O option as described in the
454 tmac ¤Îµ¡Ç½¤òÍѤ¤¤ë¤Ë¤Ï¡¢¥Þ¥¯¥í¥Õ¥¡¥¤¥ë¤ò
456 ¤Î¤è¤¦¤Ë̿̾¤·¤Æ tmac ¥Ñ¥¹¤Ç»ØÄꤵ¤ì¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Ë³ÊǼ¤¹¤ë
458 ¤Î¥»¥¯¥·¥ç¥ó¤ò»²¾È)¡£
459 ¤½¤·¤Æ¡¢¥É¥¥å¥á¥ó¥È¤Ç¤Ï
461 ¤Î¥»¥¯¥·¥ç¥ó¤Çµ½Ò¤·¤Æ¤¢¤ë¤è¤¦¤Ë¡¢
464 .shellcommand "groff\ \-m"
465 ¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤Æ¤½¤Î¥Þ¥¯¥í¤ò»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤¤ë¡£
467 .\"O If your macros might be of general usage contact the groff maintainers
468 .\"O to have them included in the groff
470 .\"O source directory.
471 ¤â¤·¤¢¤Ê¤¿¤Î¥Þ¥¯¥í¤¬°ìÈÌŪ¤ÊÍÑÅӤ˸þ¤¤¤Æ¤¤¤ë¤Ê¤é¤Ð¡¢groff ¤Î¥á¥ó¥Æ¥Ê¤Ë
472 Ï¢Íí¤ò¤È¤Ã¤Æ groff ¤Î
474 ¥½¡¼¥¹¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤½¤ì¤é¤ò´Þ¤á¤ë¤è¤¦¤Ë¤·¤Æ¤Û¤·¤¤¡£
476 .\"O Some general guidelines might be helpful in writing macros.
477 ¥Þ¥¯¥í¤Îµ½Ò¤Ë¤Ï¡¢°ìÈÌŪ¤Ê¥¬¥¤¥É¥é¥¤¥ó¤Î¤¤¤¯¤Ä¤«¤¬Ìò¤ËΩ¤Ä¤À¤í¤¦¡£
479 .\"O Double all functional backslashes,
480 µ¡Ç½Åª¤Ê¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤Ï¤¹¤Ù¤ÆÆó½Å¤Ë¤¹¤ë¡£
486 .\"O All printable backslashes must be written as
488 ɽ¼¨¤¹¤ë¤¿¤á¤Î¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤Ï¼¡¤Î¤è¤¦¤Ëµ½Ò¤¹¤ë¡£
491 .\"O Escape all dots,
492 ¥É¥Ã¥È¤Ï¤¹¤Ù¤Æ¥¨¥¹¥±¡¼¥×¤¹¤ë¡£
498 .\"O Make ample use of the non-printable character
500 .\"O in text parts, esp. before
502 .\"O and at the beginning of a line, but not before a delayed command.
503 ¥Æ¥¥¹¥ÈÉôʬ¤Ë¤ÏÈóɽ¼¨Ê¸»ú¤Ç¤¢¤ë
507 ¤ÎÁ°¤È¹Ô¤ÎÀèƬ¤Ë¹¤¯ÍѤ¤¤ë¤è¤¦¤Ë¤¹¤ë¡£¤¿¤À¤·¸å¤Ë³¤¯¥³¥Þ¥ó¥É¤¬¤¢¤ë¾ì¹ç¤Ï
510 .\"O Use the character
512 .\"O in temporary variable names.
513 °ì»þŪ¤ÊÊÑ¿ô̾¤Ë¤Ïʸ»ú
517 .\"O Test your macros for text and graphical devices, e.g.,
521 ¥Þ¥¯¥í¤Ï¥Æ¥¥¹¥È¤È¥°¥é¥Õ¥£¥Ã¥¯¤Î¥Ç¥Ð¥¤¥¹¤Ç¥Æ¥¹¥È¤¹¤ë¡£¤¿¤È¤¨¤Ð
526 .\" --------------------------------------------------------------------
529 .\" --------------------------------------------------------------------
530 .\"O All macro names that want to use the tmac mechanism must be named
531 .\"O according to the form
532 .\"O .BIR tmac. name .
533 tmac ¤Î¥á¥«¥Ë¥º¥à¤ÇÍѤ¤¤è¤¦¤È¤¹¤ë¥Þ¥¯¥í¤Î̾Á°¤Ï
535 ¤È¤¤¤¦·Á¼°¤Ç̿̾¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
537 .\"O The macro files are kept in the
539 .\"O .BR directories ,
540 .\"O all of which constitue the
546 .B "tmac ¥Ç¥£¥ì¥¯¥È¥ê"
548 .\"O In accordance with the Filesystem Hierarchy Standard (FHS), the standard
549 .\"O tmac directory location for groff is
550 .\"O .IR /usr/share/groff/tmac ,
551 .\"O a local installation will use
552 .\"O .IR /usr/local/share/groff/tmac .
553 Filesystem Hierarchy Standard (FHS) ¤Ë½àµò¤·¤Æ¤¤¤ì¤Ð¡¢
554 groff ¤Îɸ½àŪ¤Ê tmac ¥Ç¥£¥ì¥¯¥È¥ê¤Î¾ì½ê¤Ï
555 .I /usr/share/groff/tmac
556 ¤Ç¤¢¤ê¡¢¥í¡¼¥«¥ë¤ÊƳÆþÀè¤Ï
557 .I /usr/local/share/groff/tmac
559 .\"O Older systems used a subdirectory of
561 ¸Å¤¤¥·¥¹¥Æ¥à¤Ë¤ª¤¤¤Æ¤Ï¡¢
563 °Ê²¼¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤ò»ÈÍѤ·¤Æ¤¤¤¿¡£
564 .\"O Independently of the default tmac path, the tmac path actually used by a
565 .\"O document can always be set by a shell environment variable, cf. section
566 .\"O .BR ENVIRONMENT .
567 ¥Ç¥Õ¥©¥ë¥È¤Î tmac ¥Ñ¥¹¤È¤ÏÆÈΩ¤·¤Æ¡¢¼ÂºÝ¤Ë¥É¥¥å¥á¥ó¥È¤ÇÍѤ¤¤é¤ì¤ë
568 tmac ¥Ñ¥¹¤Ï¾ï¤Ë¥·¥§¥ë´Ä¶ÊÑ¿ô¤Ç»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¤ë¡£¥»¥¯¥·¥ç¥ó
571 .\" --------------------------------------------------------------------
574 .\" --------------------------------------------------------------------
577 .\"O A colon separated list of tmac directories in which to search for macro
581 .\"O If unset a default path is used as is outlined in the
584 ¥Þ¥¯¥í¥Õ¥¡¥¤¥ë¤ò¸¡º÷¤¹¤ë¤¿¤á¤Î tmac ¥Ç¥£¥ì¥¯¥È¥ê
586 ¤ò¥³¥í¥ó¤Ç¶èÀڤ俥ꥹ¥È¡£
587 »ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¡¢
589 ¤Î¥»¥¯¥·¥ç¥ó¤Ç¼¨¤·¤¿¥Ç¥Õ¥©¥ë¥È¤Î¥Ñ¥¹¤¬»ÈÍѤµ¤ì¤ë¡£
590 .\" --------------------------------------------------------------------
593 .\" --------------------------------------------------------------------
594 .\"O The groff documentation is in evolution at the moment. It is possible
595 .\"O that small inconsistencies between different documents exist
597 ¸½ºß¡¢groff ¥·¥¹¥Æ¥à¤Î¥É¥¥å¥á¥ó¥È¤Ï¿Ê²½¤ÎÅÓ¾å¤Ë¤¢¤ë¡£
598 °ì»þŪ¤Ë¥É¥¥å¥á¥ó¥ÈƱ»Î¤Ç¤µ¤µ¤ä¤«¤ÊÌ·½âÅÀ¤¬¸«¤é¤ì¤ë¤À¤í¤¦¡£
599 .\" --------------------------------------------------------------------
602 .\" --------------------------------------------------------------------
603 .\"O This document is part of groff, the GNU roff distribution. It was
604 .\"O written by Bernd Warken <bwarken@mayn.de>.
605 ¤³¤Î¥É¥¥å¥á¥ó¥È¤Ï groff (GNU roff ¥Ñ¥Ã¥±¡¼¥¸) ¤Î°ìÉô¤Ç¤¢¤ë¡£
606 Bernd Warken <bwarken@mayn.de> ¤Ë¤è¤Ã¤Æµ½Ò¤µ¤ì¤¿¡£
608 .\"O It is distributed under the terms of the FDL (GNU Free Documentation
609 .\"O License) version 1.1 or later. You should have received a copy of the
610 .\"O FDL on your system, it is also available on-line under
611 ¤³¤Î¥É¥¥å¥á¥ó¥È¤Ï FDL (GNU Free Documentation License) ¤Î¥Ð¡¼¥¸¥ç¥ó 1.1
612 °Ê¹ß¤Î¸µ¤ËÇÛÉÛ¤µ¤ì¤ë¡£¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à¤Ë¤â FDL ¤Î¥³¥Ô¡¼¤¬¤¢¤ë¤Ï¤º¤Ç¤¢¤ë¡£
613 °Ê²¼¤Ç¤â¥ª¥ó¥é¥¤¥ó¤Ç»²¾È¤Ç¤¤ë¡£
616 .IR <http://www.gnu.org/copyleft/fdl.html> .
618 .\" --------------------------------------------------------------------
621 .\" --------------------------------------------------------------------
622 .\"O The authoritative source of information for all details of the groff
623 .\"O system is the groff
626 groff ¥·¥¹¥Æ¥à¤Î¾ÜºÙ¤Ë¤Ä¤¤¤Æ¡¢¿®¤º¤Ù¤¾ðÊ󸻤ϡ¢groff ¤Î
630 .\"O For a groff overview, see
634 .\"O in the groff source package.
635 groff ¤Î³µÍפˤĤ¤¤Æ¤Ï
637 ¤È groff ¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤Î
639 ¥Õ¥¡¥¤¥ë¤ò»²¾È¤Î¤³¤È¡£
641 .\"O The groff tmac macro packages are
642 .\"O .BR groff_man (7),
643 .\"O .BR groff_markup (7),
644 .\"O .BR groff_mdoc (7),
645 .\"O .BR groff_mdoc.samples (7),
646 .\"O .BR groff_me (7),
647 .\"O .BR groff_mm (7),
648 .\"O .BR groff_mmroff (7),
649 .\"O .BR groff_ms (7),
650 .\"O .BR groff_msafer (7).
651 groff ¤Î tmac ¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤Ë¤Ä¤¤¤Æ¤Ï°Ê²¼¤ò»²¾È¤Î¤³¤È¡£
653 .BR groff_markup (7),
655 .BR groff_mdoc.samples (7),
658 .BR groff_mmroff (7),
662 .\"O The groff language is described in
664 .\"O and the formatters in
669 ¤Ë¡¢¥Õ¥©¡¼¥Þ¥Ã¥¿¤Ë¤Ä¤¤¤Æ¤Ï
674 .\"O The Filesystem Hierarchy Standard (FHS) is available at
675 .\"O .BR http://www.pathname.com/fhs/ .
677 Filesystem Hierarchy Standard (FHS) ¤Ë¤Ä¤¤¤Æ¤Ï
678 .B http://www.pathname.com/fhs/