diff options
author | 2017-06-18 17:36:03 +0000 | |
---|---|---|
committer | 2017-06-18 17:36:03 +0000 | |
commit | 4e3e49e7768b3c4f42921865c4d39b90be193bbd (patch) | |
tree | b647dfd942761bdca912d39a7d207836683a8b32 /regress/roff/de/append.in | |
parent | 1646ab1fa6b40399b2913086e23b635022a70349 (diff) | |
download | mandoc-4e3e49e7768b3c4f42921865c4d39b90be193bbd.tar.gz mandoc-4e3e49e7768b3c4f42921865c4d39b90be193bbd.tar.zst mandoc-4e3e49e7768b3c4f42921865c4d39b90be193bbd.zip |
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[].
Diffstat (limited to 'regress/roff/de/append.in')
-rw-r--r-- | regress/roff/de/append.in | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/regress/roff/de/append.in b/regress/roff/de/append.in index cdc01bdd..9e76f6d0 100644 --- a/regress/roff/de/append.in +++ b/regress/roff/de/append.in @@ -1,4 +1,4 @@ -.Dd July 7, 2014 +.Dd June 18, 2017 .Dt DE-APPEND 1 .Os OpenBSD .Sh NAME @@ -23,3 +23,14 @@ ami: .mye .mym end +.Pp +standard macro: +.Bo in brackets +.Bc end +.Pp +append to standard macro: +.am Bc +.Pq appended words +.. +.Bo in brackets +.Bc end |