diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-02 19:21:23 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-02 19:21:23 +0000 |
commit | bfb452504d8b3a8d83033a92009dcdba6370788c (patch) | |
tree | 8f12de603ba3eae6da0c83f0cac8c59ede05373a /mandoc.h | |
parent | 341cc10aaf00ff009f89041f23ec4e6e6519285e (diff) | |
download | mandoc-bfb452504d8b3a8d83033a92009dcdba6370788c.tar.gz |
Partial implementation of \h (horizontal line drawing function).
A full implementation would require access to output device properties
and state variables (both only available after the main parser has
finalized the parse tree) before numerical expansions in the roff
preprocessor (i.e., before the main parser is even started).
Not trying to pull that stunt right now because the static-width
implementation committed here is sufficient for tcl-style manual pages
and already more complicated than i would have suspected.
Diffstat (limited to 'mandoc.h')
-rw-r--r-- | mandoc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -412,6 +412,7 @@ enum mandoc_esc { ESCAPE_UNICODE, /* a unicode codepoint */ ESCAPE_NOSPACE, /* suppress space if the last on a line */ ESCAPE_HORIZ, /* horizontal movement */ + ESCAPE_HLINE, /* horizontal line drawing */ ESCAPE_SKIPCHAR, /* skip the next character */ ESCAPE_OVERSTRIKE /* overstrike all chars in the argument */ }; |