[BACK]Return to append.out_ascii CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / roff / rn

File: [cvsweb.bsd.lv] / mandoc / regress / roff / rn / append.out_ascii (download)

Revision 1.1, Sun Jun 18 17:36:08 2017 UTC (7 years ago) by schwarze
Branch: MAIN

Implement appending to standard man(7) and mdoc(7) macros with .am.

With roff_getstrn(), provide finer control which definitions
can be used for what:
* All definitions can be used for .if d tests and .am appending.
* User-defined for \* expansion, .dei expansion, and macro calling.
* Predefined for \* expansion.
* Standard macros, original or renamed, for macro calling.

Several related improvements while here:
* Do not return string table entries that have explicitly been removed.
* Do not create a rentab entry when trying to rename a non-existent macro.
* Clear an existing rentab entry when the external interface
roff_setstr() is called with its name.
* Avoid trailing blanks in macro lines generated from renamed
and from aliased macros.
* Delete the duplicate __m*_reserved[] tables, just use roff_name[].

RN-APPEND(1)                General Commands Manual               RN-APPEND(1)

NNAAMMEE
     rrnn--aappppeenndd - append to renamed standard macro

DDEESSCCRRIIPPTTIIOONN
     original macro: [in brackets]

     renamed macro: [in brackets]

     appending to macro: [more in brackets] (appended words) final text

OpenBSD                          June 18, 2017                         OpenBSD