diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2012-08-29 23:38:50 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2012-08-29 23:38:50 +0000 |
commit | 5e5fda418e03813767c8f6cd3ff0da1ccac926ae (patch) | |
tree | ea51faa65f0da984381c1d8f38625f97f34e4d4b | |
parent | e715af9462476af00b3a238e899359d5a56101ee (diff) | |
download | mandoc-5e5fda418e03813767c8f6cd3ff0da1ccac926ae.tar.gz |
1) Remove documentation of the groff-1.15 compatibility quirk
of suppressing spacing before a third .Xr argument
because that quirk was removed in mdoc_macro.c rev. 1.113.
2) Mark the "section" argument to .Xr as (syntactically) optional,
but still do not encourage omitting it.
The missing .Op was reported by espie@.
Wording tweaked by and ok jmc@, ok millert@.
-rw-r--r-- | mdoc.7 | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -2532,20 +2532,14 @@ Link to another manual .Pq Qq cross-reference . Its syntax is as follows: .Pp -.D1 Pf \. Sx \&Xr Ar name section +.D1 Pf \. Sx \&Xr Ar name Op section .Pp -The +Cross reference the .Ar name and .Ar section -are the name and section of the linked manual. -If -.Ar section -is followed by non-punctuation, an -.Sx \&Ns -is inserted into the token stream. -This behaviour is for compatibility with -GNU troff. +number of another man page; +omitting the section number is rarely useful. .Pp Examples: .Dl \&.Xr mandoc 1 |