Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   groff_man    ( 7 )

составлять справочные страницы с помощью GNU roff (compose manual pages with GNU roff)

  Name  |  Synopsis  |  Description  |  Options  |    Files    |  See also  |

Файлы (Files)

/usr/local/share/groff/1.23.0/tmac/an.tmac Most man macros are contained in this file. It also loads the extensions from an-ext.tmac (see below).

/usr/local/share/groff/1.23.0/tmac/andoc.tmac This brief groff program detects whether the man or mdoc macro package is being used by a document and loads the correct macro definitions, taking advantage of the fact that pages using them must call .TH or .Dd, respectively, as their first macro. A man program or user typing, for example, 'groff -mandoc page.1', need not know which package the file page.1 uses. Multiple man pages, in either format, can be handled; andoc reloads each macro package as necessary.

/usr/local/share/groff/1.23.0/tmac/an-ext.tmac The extension macro definitions for .SY, .OP, .YS, .TQ, .EX/.EE, .UR/.UE, and .MT/.ME are contained in this file, which is written to be compatible with AT&T troff and permissively licensed—not copylefted. Man page authors concerned about portability to legacy Unix systems are encouraged to copy these definitions into their pages, and maintainers of troff implementations or work-alike systems that format man pages are encouraged to re-use them.

The definitions for these macros are read after a page calls .TH, so they will replace any macros of the same names preceding it in your file. If you use your own implementations of these macros, they must be defined after calling .TH to have any effect. Furthermore, it is wise to define such page-local macros (if at all) after the 'Name' section to accommodate timid mandb implementations that may give up their scan for indexing material early.

/usr/local/share/groff/1.23.0/tmac/man.tmac This is a wrapper that loads an.tmac.

/usr/local/share/groff/1.23.0/tmac/mandoc.tmac This is a wrapper that loads andoc.tmac.

/usr/local/share/groff/site-tmac/man.local Put local changes and customizations into this file.