diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-12-25 00:39:31 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-12-25 00:39:31 +0000 |
commit | ae3f51d742a1c36dd2092d91c57e3885d28a21f5 (patch) | |
tree | 743265550f2e5411f8f89f8d493d55658fe50acc /term.h | |
parent | 4502d03c03ab81e38efc29a83958d57f9d2a3a36 (diff) | |
download | mandoc-ae3f51d742a1c36dd2092d91c57e3885d28a21f5.tar.gz |
Do not break output lines in .Fn function arguments in SYNOPSIS mode.
Following an idea from Franco Fichtner, but implemented more cleanly.
This reduces groff-mandoc-differences in OpenBSD base by a fantastic 7.5%.
Diffstat (limited to 'term.h')
-rw-r--r-- | term.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -71,6 +71,7 @@ struct termp { #define TERMP_SENTENCE (1 << 1) /* Space before a sentence. */ #define TERMP_NOSPACE (1 << 2) /* No space before words. */ #define TERMP_NONOSPACE (1 << 3) /* No space (no autounset). */ +#define TERMP_NBRWORD (1 << 4) /* Make next word nonbreaking. */ #define TERMP_KEEP (1 << 5) /* Keep words together. */ #define TERMP_PREKEEP (1 << 6) /* ...starting with the next one. */ #define TERMP_SKIPCHAR (1 << 7) /* Skip the next character. */ |