diff options
| author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2025-07-18 23:26:56 +0900 |
|---|---|---|
| committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2025-07-18 23:26:56 +0900 |
| commit | 33aafecc7e9e3224e0283fe8be098ede39f48f61 (patch) | |
| tree | 8e3241dc4d09c55e891933c7aeeaebefa8c7004a /Doc/zman.yo | |
| parent | 53820: detect integer overflow when parsing history word designators. (diff) | |
| download | zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.tar zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.tar.gz zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.tar.bz2 zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.tar.lz zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.tar.xz zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.tar.zst zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.zip | |
53821: add missing manpage name in cross reference
and many small improvements. See comments in zman.yo for the usage
of new yodl macros for cross reference.
Diffstat (limited to 'Doc/zman.yo')
| -rw-r--r-- | Doc/zman.yo | 45 |
1 files changed, 43 insertions, 2 deletions
diff --git a/Doc/zman.yo b/Doc/zman.yo index 5050edb8b..486ea9ca9 100644 --- a/Doc/zman.yo +++ b/Doc/zman.yo @@ -97,10 +97,51 @@ def(comment)(1)(\ COMMENT(--- cross-references ---) def(manref)(2)(\ - NOTRANS(\fI)ARG1+NOTRANS(\fP)(ARG2)\ + bf(ARG1)(ARG2)\ ) def(zmanref)(1)(manref(ARG1)(1)) -def(noderef)(1)(the section `ARG1') +def(noderef)(1)(bf(UPPERCASE(NOTRANS(ARG1))(0))) +COMMENT( nmref(node)(manpage) + Refer to 'node' (texi) or 'manpage' (man). +) +def(nmref)(2)(noderef(ARG2)) +COMMENT( sectref(sectname)(manpage) + Refer to 'section' in 'manpage' (man), or a node (texi). + There should be a node (or anchor) with the name 'sectname'. + 'manpage' can be "above", "below" or "". +) +def(sectref)(2)(\ + IFEMPTY(ARG2)(\ + the section noderef(ARG1)\ + )(\ + IFSTREQUAL(ARG2)(above)(\ + noderef(ARG1) above\ + )(\ + IFSTREQUAL(ARG2)(below)(\ + noderef(ARG1) below\ + )(\ + noderef(ARG1) in zmanref(ARG2)\ + )\ + )\ + )\ +) +COMMENT( subref(subsectname)(manpage) ) +def(subref)(2)(\ + IFEMPTY(ARG2)(\ + the subsection bf(ARG1)\ + )(\ + IFSTREQUAL(ARG2)(above)(\ + bf(ARG1) above\ + )(\ + IFSTREQUAL(ARG2)(below)(\ + bf(ARG1) below\ + )(\ + bf(ARG1) in zmanref(ARG2)\ + )\ + )\ + )\ +) +def(anchor)(1)() COMMENT(--- lists ---) |
