aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-01-21 20:33:25 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-01-21 20:33:25 +0000
commit2c8780108e37e85285813e3f999444c3e861a456 (patch)
tree6539e8d252bac96f53212ea11bb5ea88a23d2379 /mandoc.h
parent73f85b8d5a3ab767a78772963e344e8759ccb1d7 (diff)
downloadmandoc-2c8780108e37e85285813e3f999444c3e861a456.tar.gz
mandoc-2c8780108e37e85285813e3f999444c3e861a456.tar.zst
mandoc-2c8780108e37e85285813e3f999444c3e861a456.zip
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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index 8c3c8749..9cbc0ff0 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.183 2015/01/20 21:16:51 schwarze Exp $ */
+/* $Id: mandoc.h,v 1.184 2015/01/21 20:33:25 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -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,