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.h | |
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.h')
-rw-r--r-- | mandoc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -399,7 +399,8 @@ enum mandoc_esc { ESCAPE_NUMBERED, /* a numbered glyph */ ESCAPE_UNICODE, /* a unicode codepoint */ ESCAPE_NOSPACE, /* suppress space if the last on a line */ - ESCAPE_SKIPCHAR /* skip the next character */ + ESCAPE_SKIPCHAR, /* skip the next character */ + ESCAPE_OVERSTRIKE /* overstrike all chars in the argument */ }; typedef void (*mandocmsg)(enum mandocerr, enum mandoclevel, |