diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
commit | 4c0770c1ecd159a77561d8e0364385f4bb758650 (patch) | |
tree | 5c2d5820b093c1c08b6047ff110e9b055083a5ea /regress/mdoc/Li/punct.in | |
parent | d16e7f2cf346476e177ce672851b0b957aebbe5d (diff) | |
download | mandoc-4c0770c1ecd159a77561d8e0364385f4bb758650.tar.gz |
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this,
literally for years.
Diffstat (limited to 'regress/mdoc/Li/punct.in')
-rw-r--r-- | regress/mdoc/Li/punct.in | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/regress/mdoc/Li/punct.in b/regress/mdoc/Li/punct.in new file mode 100644 index 00000000..331e55da --- /dev/null +++ b/regress/mdoc/Li/punct.in @@ -0,0 +1,83 @@ +.Dd November 17, 2014 +.Dt LI-PUNCT 1 +.Os OpenBSD +.Sh NAME +.Nm Li-punct +.Nd punctuation following a literal macro +.Sh DESCRIPTION +Leading punctuation: +.Li ( b +.Li [ b +.Li | b +.Li . b +.Li , b +.Li ; b +.Li : b +.Li ? b +.Li ! b +.Li ) b +.Li ] b +.Pp +Trailing punctuation: +.Li a ( +.Li a [ +.Li a | +.Li a . +.Li a , +.Li a ; +.Li a : +.Li a ? +.Li a ! +.Li a ) +.Li a ] +.Pp +Middle punctuation: +.Li a ( b +.Li a [ b +.Li a | b +.Li a . b +.Li a , b +.Li a ; b +.Li a : b +.Li a ? b +.Li a ! b +.Li a ) b +.Li a ] b +.Pp +Isolated punctuation: +.Li a Li ( Li b +.Li a Li [ Li b +.Li a Li | Li b +.Li a Li . Li b +.Li a Li , Li b +.Li a Li ; Li b +.Li a Li : Li b +.Li a Li ? Li b +.Li a Li ! Li b +.Li a Li ) Li b +.Li a Li ] Li b +.Pp +Isolated trailing punctuation: +.Li a Li ( +.Li a Li [ +.Li a Li | +.Li a Li . +.Li a Li , +.Li a Li ; +.Li a Li : +.Li a Li ? +.Li a Li ! +.Li a Li ) +.Li a Li ] +.Pp +Multiple isolated punctuation: +.Li a Li ( [ Li b +.Li a Li ) ] Li b +.Pp +Multiple punctuation: +.Li [ ( arg ) ] . +.Pp +Quoted: +.Li "a . b Nm" +.Li ". b Nm" +.Li "." |