diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-08-21 01:59:22 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-08-21 01:59:22 +0000 |
commit | e09ab5e214ab66b3c06b5a2d97189910b20b8075 (patch) | |
tree | 485e1a3a1ea473da3e146c65a976d63c78787fd9 /chars.c | |
parent | edb9e9abc80ab6d1c6f0402d21d80cb8eb8d2da7 (diff) | |
download | mandoc-e09ab5e214ab66b3c06b5a2d97189910b20b8075.tar.gz |
Fix some issues found looking at groff_char(7):
* Add two missing characters, \('Y and \('y.
* The Weierstrass p is not capital, see http://unicode.org/notes/tn27/.
* Add a groff-compatible ASCII transliteration for U+02DC: "~".
Diffstat (limited to 'chars.c')
-rw-r--r-- | chars.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -241,7 +241,7 @@ static struct ln lines[] = { { "Ah", "<Aleph>", 0x2135 }, { "Im", "<Im>", 0x2111 }, { "Re", "<Re>", 0x211c }, - { "wp", "P", 0x2118 }, + { "wp", "p", 0x2118 }, { "pd", "<del>", 0x2202 }, { "-h", "/h", 0x210f }, { "hbar", "/h", 0x210f }, @@ -288,6 +288,7 @@ static struct ln lines[] = { { "ho", ",", 0x02db }, { "ha", "^", 0x005e }, { "ti", "~", 0x007e }, + { "u02DC", "~", 0x02dc }, /* Accented letters. */ { "'A", "'\bA", 0x00c1 }, @@ -295,11 +296,13 @@ static struct ln lines[] = { { "'I", "'\bI", 0x00cd }, { "'O", "'\bO", 0x00d3 }, { "'U", "'\bU", 0x00da }, + { "'Y", "'\bY", 0x00dd }, { "'a", "'\ba", 0x00e1 }, { "'e", "'\be", 0x00e9 }, { "'i", "'\bi", 0x00ed }, { "'o", "'\bo", 0x00f3 }, { "'u", "'\bu", 0x00fa }, + { "'y", "'\by", 0x00fd }, { "`A", "`\bA", 0x00c0 }, { "`E", "`\bE", 0x00c8 }, { "`I", "`\bI", 0x00cc }, |