diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-21 20:33:25 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-21 20:33:25 +0000 |
commit | 1f42b16d7620434847b937d82a463bd7cbe63255 (patch) | |
tree | 4ee3ab1a6a2c6f5ee76f69a33d0b12a1aae40bf8 /mandoc_escape.3 | |
parent | 28c98469ed60b736b7c70dc094a9d94197a1568f (diff) | |
download | mandoc-1f42b16d7620434847b937d82a463bd7cbe63255.tar.gz |
Rudimentary implementation of the roff(7) \o escape sequence (overstrike).
This is of some relevance because the pod2man(1) preamble abuses it
for the icelandic letter Thorn, instead of simply using \(TP and \(Tp.
Missing feature found by sthen@ in DateTime::Locale::is_IS(3p).
Diffstat (limited to 'mandoc_escape.3')
-rw-r--r-- | mandoc_escape.3 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/mandoc_escape.3 b/mandoc_escape.3 index 332b94fe..2fe2ccab 100644 --- a/mandoc_escape.3 +++ b/mandoc_escape.3 @@ -20,8 +20,6 @@ .Sh NAME .Nm mandoc_escape .Nd parse roff escape sequences -.Sh LIBRARY -.Lb libmandoc .Sh SYNOPSIS .In sys/types.h .In mandoc.h @@ -119,8 +117,8 @@ in turn contain other escape sequences, for error detection internally by the .Xr roff 7 parser part of the -.Lb libmandoc , -see the file +.Xr mandoc 3 +library, see the file .Pa roff.c , .It above all externally by the @@ -256,6 +254,10 @@ Such ASCII character escape sequences can be rendered using the function described in the .Xr mchars_alloc 3 manual. +.It Dv ESCAPE_OVERSTRIKE +The escape sequence +.Ic \eo +followed by an argument delimited by an arbitrary character. .It Dv ESCAPE_IGNORE .Bl -bullet -width 2n .It @@ -288,7 +290,6 @@ The escape sequences .Ic \eA , .Ic \eb , .Ic \eD , -.Ic \eo , .Ic \eR , .Ic \eX , and |