diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-08-29 22:40:00 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-08-29 22:40:00 +0000 |
commit | 1d138a1a665a692994e1870ac5bd920bb7e5cf8f (patch) | |
tree | 3999e53a7755ccb5c743084b5aafabcfc8eaae09 /share/man | |
parent | 664516ba4cab3104c79862943a21c9f58b2fdcec (diff) |
Parse and ignore the escape sequences \, and \/ (italic corrections).
Actually using these is very stupid because they are groff extensions
and other roff(7) implementations typically print unintended characters
at the places where they are used.
Nevertheless, some manuals contain them, for example ocserv(8).
Problem reported by Kurt Jaeger <pi at FreeBSD>.
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man7/roff.7 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/share/man/man7/roff.7 b/share/man/man7/roff.7 index 2410d45d279..f7a7234ce43 100644 --- a/share/man/man7/roff.7 +++ b/share/man/man7/roff.7 @@ -1,7 +1,7 @@ -.\" $OpenBSD: roff.7,v 1.53 2015/08/29 21:37:11 schwarze Exp $ +.\" $OpenBSD: roff.7,v 1.54 2015/08/29 22:39:59 schwarze Exp $ .\" .\" Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> -.\" Copyright (c) 2010, 2011, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> +.\" Copyright (c) 2010, 2011, 2013-2015 Ingo Schwarze <schwarze@openbsd.org> .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above @@ -1837,9 +1837,15 @@ For short names, there are variants .No \e* Ns Ar c and .No \e*( Ns Ar cc . +.Ss \e, +Left italic correction (groff extension); ignored by +.Xr mandoc 1 . .Ss \e- Special character .Dq mathematical minus sign . +.Ss \e/ +Right italic correction (groff extension); ignored by +.Xr mandoc 1 . .Ss \e[ Ns Ar name ] .Sx Special Characters with names of arbitrary length, see |