aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-01 19:05:37 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-01 19:05:37 +0000
commit41ca712e6e6b6ad1b09c0abcbe87b01ea039b2be (patch)
treeec9d7acf6d3d88ba8497512fa6e9deea45745d4b /mandoc.h
parent5325cd99ac197268bd26af0ee01d0539cb78cb61 (diff)
downloadmandoc-41ca712e6e6b6ad1b09c0abcbe87b01ea039b2be.tar.gz
mandoc-41ca712e6e6b6ad1b09c0abcbe87b01ea039b2be.tar.zst
mandoc-41ca712e6e6b6ad1b09c0abcbe87b01ea039b2be.zip
Minimal implementation of the \h (horizontal motion) escape sequence.
Good enough to cope with the average DocBook insanity.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index f18d2d12..c15ed4d0 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.219 2017/06/01 15:25:39 schwarze Exp $ */
+/* $Id: mandoc.h,v 1.220 2017/06/01 19:05:37 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -411,6 +411,7 @@ enum mandoc_esc {
ESCAPE_NUMBERED, /* a numbered glyph */
ESCAPE_UNICODE, /* a unicode codepoint */
ESCAPE_NOSPACE, /* suppress space if the last on a line */
+ ESCAPE_HORIZ, /* horizontal movement */
ESCAPE_SKIPCHAR, /* skip the next character */
ESCAPE_OVERSTRIKE /* overstrike all chars in the argument */
};