diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-05 07:21:01 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-05 07:21:01 +0000 |
commit | 0c78894c64ebea8f4ab0917e43506b712921a05d (patch) | |
tree | b7bb07cd90c4bde5dc23981dfc32d3c033c55929 /chars.in | |
parent | f9109fa61e7b814ab140124e035d7e7f813e0995 (diff) | |
download | mandoc-0c78894c64ebea8f4ab0917e43506b712921a05d.tar.gz |
Added functionality of -Tascii non-breaking `\~' space.
Diffstat (limited to 'chars.in')
-rw-r--r-- | chars.in | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -30,11 +30,16 @@ * XXX - update LINES_MAX if adding more! */ +/* Non-breaking, non-collapsing space uses unit separator. */ +static const char ascii_nbrsp[2] = { 31, 0 }; + +CHAR_TBL_START + /* Spacing. */ CHAR("c", 1, "", 0, "", 0) CHAR("0", 1, " ", 1, " ", 7) CHAR(" ", 1, " ", 1, " ", 7) -CHAR("~", 1, " ", 1, " ", 6) +CHAR("~", 1, ascii_nbrsp, 1, " ", 6) CHAR("%", 1, "", 0, "", 0) CHAR("&", 1, "", 0, "", 0) CHAR("^", 1, "", 0, "", 0) @@ -416,3 +421,5 @@ CHAR("%0", 2, "%o", 2, "‰", 7) CHAR("fm", 2, "\'", 1, "′", 7) CHAR("sd", 2, "\"", 1, "″", 7) CHAR("mc", 2, "mu", 2, "µ", 6) + +CHAR_TBL_END |