diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-09-22 23:15:58 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-09-22 23:15:58 +0000 |
commit | 15e665b5508591ef88ea6e5ee02dc2e6a0851080 (patch) | |
tree | 55797f1891f05823b402f99b16ce642e2de54c77 | |
parent | 61bc2c623cae2e83cbc5b4943f27f51f9d83661d (diff) | |
download | mandoc-15e665b5508591ef88ea6e5ee02dc2e6a0851080.tar.gz |
Many more UTF-8 symbols in place.
Started partitioning chars.in into sections corresponding to mandoc_char.7.
Correctly ordered Greek letters.
Sync'd all mathematical and logical symbols with current groff.
-rw-r--r-- | chars.c | 2 | ||||
-rw-r--r-- | chars.in | 291 | ||||
-rw-r--r-- | mandoc_char.7 | 163 |
3 files changed, 280 insertions, 176 deletions
@@ -38,7 +38,7 @@ struct ln { #define CHARS_BOTH (0x03) }; -#define LINES_MAX 267 +#define LINES_MAX 300 #define CHAR(w, x, y, z, a, b) \ { NULL, (w), (y), (a), (x), (z), (b), CHARS_CHAR }, @@ -57,106 +57,219 @@ STRING("right-parenthesis", 17, ")", 1, ")", 1) STRING("right-singlequote", 17, "\'", 1, "’", 7) STRING("rp", 2, ")", 1, ")", 1) -BOTH("<=", 2, "<=", 2, "≤", 7) -BOTH(">=", 2, ">=", 2, "≤", 7) + BOTH("aa", 2, "\'", 1, "´", 6) BOTH("ga", 2, "`", 1, "`", 1) BOTH("lq", 2, "``", 2, "“", 7) BOTH("rq", 2, "\'\'", 2, "”", 7) BOTH("ua", 2, "^", 1, "", 0) -CHAR(" ", 1, " ", 1, " ", 1) -CHAR("!=", 2, "!=", 2, "≠", 7) -CHAR("%", 1, "", 0, "", 0) -CHAR("&", 1, "", 0, "", 0) -CHAR("sb", 2, "(=", 2, "⊂", 7) -CHAR("sp", 2, "=)", 2, "⊃", 7) -CHAR("**", 2, "*", 1, "", 0) +/* Punctuation. */ +CHAR("-", 1, "-", 1, "-", 1) +CHAR(".", 1, ".", 1, ".", 1) + +/* White-space. */ +CHAR("0", 1, " ", 1, " ", 6) +CHAR(" ", 1, " ", 1, " ", 6) +CHAR("%", 1, "", 0, "", 0) +CHAR("&", 1, "", 0, "", 0) + +/* Greek characters. */ CHAR("*A", 2, "A", 1, "Α", 6) CHAR("*B", 2, "B", 1, "Β", 6) -CHAR("*C", 2, "H", 1, "Ξ", 6) +CHAR("*G", 2, "|", 1, "Γ", 6) CHAR("*D", 2, "/\\", 2, "Δ", 6) CHAR("*E", 2, "E", 1, "Ε", 6) -CHAR("*F", 2, "O_", 1, "Φ", 6) -CHAR("*G", 2, "|", 1, "Γ", 6) +CHAR("*Z", 2, "Z", 1, "Ζ", 6) +CHAR("*Y", 2, "H", 1, "Η", 6) CHAR("*H", 2, "O", 1, "Θ", 6) CHAR("*I", 2, "I", 1, "Ι", 6) CHAR("*K", 2, "K", 1, "Κ", 6) CHAR("*L", 2, "/\\", 2, "Λ", 6) CHAR("*M", 2, "M", 1, "Μ", 6) CHAR("*N", 2, "N", 1, "Ν", 6) +CHAR("*C", 2, "H", 1, "Ξ", 6) CHAR("*O", 2, "O", 1, "Ο", 6) CHAR("*P", 2, "TT", 2, "Π", 6) -CHAR("*Q", 2, "Y", 1, "Ψ", 6) CHAR("*R", 2, "P", 1, "Ρ", 6) CHAR("*S", 2, ">", 1, "Σ", 6) CHAR("*T", 2, "T", 1, "Τ", 6) CHAR("*U", 2, "Y", 1, "Υ", 6) -CHAR("*W", 2, "O", 1, "Ω", 6) +CHAR("*F", 2, "O_", 1, "Φ", 6) CHAR("*X", 2, "X", 1, "Χ", 6) -CHAR("*Y", 2, "H", 1, "Η", 6) -CHAR("*Z", 2, "Z", 1, "Ζ", 6) +CHAR("*Q", 2, "Y", 1, "Ψ", 6) +CHAR("*W", 2, "O", 1, "Ω", 6) + CHAR("*a", 2, "a", 1, "α", 6) CHAR("*b", 2, "B", 1, "β", 6) -CHAR("*c", 2, "E", 1, "ξ", 6) +CHAR("*g", 2, "y", 1, "γ", 6) CHAR("*d", 2, "d", 1, "δ", 6) CHAR("*e", 2, "e", 1, "ε", 6) -CHAR("*f", 2, "o", 1, "ϕ", 6) -CHAR("*g", 2, "y", 1, "α", 6) +CHAR("*z", 2, "C", 1, "ζ", 6) +CHAR("*y", 2, "n", 1, "η", 6) CHAR("*h", 2, "0", 1, "θ", 6) CHAR("*i", 2, "i", 1, "ι", 6) CHAR("*k", 2, "k", 1, "κ", 6) CHAR("*l", 2, "\\", 1, "λ", 6) CHAR("*m", 2, "u", 1, "μ", 6) CHAR("*n", 2, "v", 1, "ν", 6) +CHAR("*c", 2, "E", 1, "ξ", 6) CHAR("*o", 2, "o", 1, "ο", 6) CHAR("*p", 2, "n", 1, "π", 6) -CHAR("*q", 2, "u", 1, "ψ", 6) CHAR("*r", 2, "p", 1, "ρ", 6) CHAR("*s", 2, "o", 1, "σ", 6) CHAR("*t", 2, "t", 1, "τ", 6) CHAR("*u", 2, "u", 1, "υ", 6) -CHAR("*w", 2, "w", 1, "ω", 6) +CHAR("*f", 2, "o", 1, "ϕ", 6) CHAR("*x", 2, "x", 1, "χ", 6) -CHAR("*y", 2, "n", 1, "η", 6) -CHAR("*z", 2, "C", 1, "ζ", 6) -CHAR("+-", 2, "+-", 2, "±", 6) -CHAR("+f", 2, "o", 1, "ͬ", 6) +CHAR("*q", 2, "u", 1, "ψ", 6) +CHAR("*w", 2, "w", 1, "ω", 6) CHAR("+h", 2, "0", 1, "ϑ", 6) +CHAR("+f", 2, "o", 1, "φ", 6) CHAR("+p", 2, "w", 1, "ϖ", 6) +CHAR("+e", 2, "e", 1, "ϵ", 7) +CHAR("ts", 2, "s", 1, "ς", 6) + +/* Accented characters. */ CHAR(",C", 2, "C", 1, "Ç", 6) CHAR(",c", 2, "c", 1, "ç", 6) -CHAR("-", 1, "-", 1, "-", 1) -CHAR("->", 2, "->", 2, "", 0) -CHAR("-D", 2, "D", 1, "", 0) -CHAR(".", 1, ".", 1, ".", 1) -CHAR("/L", 2, "L", 1, "", 0) -CHAR("/O", 2, "O", 1, "", 0) -CHAR("/l", 2, "l", 1, "", 0) -CHAR("/o", 2, "o", 1, "", 0) -CHAR("0", 1, " ", 1, "", 0) -CHAR(":A", 2, "A", 1, "", 0) -CHAR(":E", 2, "E", 1, "", 0) -CHAR(":I", 2, "I", 1, "", 0) -CHAR(":O", 2, "O", 1, "", 0) -CHAR(":U", 2, "U", 1, "", 0) -CHAR(":a", 2, "a", 1, "", 0) -CHAR(":e", 2, "e", 1, "", 0) -CHAR(":i", 2, "i", 1, "", 0) -CHAR(":o", 2, "o", 1, "", 0) -CHAR(":u", 2, "u", 1, "", 0) -CHAR(":y", 2, "y", 1, "", 0) -CHAR("<-", 2, "<-", 2, "", 0) -CHAR("<=", 2, "<=", 2, "", 0) -CHAR("<>", 2, "<>", 2, "", 0) -CHAR("=)", 2, "=)", 2, "", 0) -CHAR("==", 2, "==", 2, "", 0) -CHAR("=~", 2, "=~", 2, "", 0) -CHAR(">=", 2, ">=", 2, "", 0) -CHAR("AE", 2, "AE", 2, "", 0) -CHAR("AN", 2, "^", 1, "", 0) -CHAR("Ah", 2, "N", 1, "", 0) -CHAR("Bq", 2, ",,", 2, "", 0) +CHAR("-D", 2, "D", 1, "Ð", 6) +CHAR("/L", 2, "L", 1, "Ł", 6) +CHAR("/O", 2, "O", 1, "Ø", 6) +CHAR("/l", 2, "l", 1, "ł", 6) +CHAR("/o", 2, "o", 1, "ø", 6) +CHAR(":A", 2, "A", 1, "Ä", 6) +CHAR(":E", 2, "E", 1, "Ë", 6) +CHAR(":I", 2, "I", 1, "Ï", 6) +CHAR(":O", 2, "O", 1, "Ö", 6) +CHAR(":U", 2, "U", 1, "Ü", 6) +CHAR(":a", 2, "a", 1, "ä", 6) +CHAR(":e", 2, "e", 1, "ë", 6) +CHAR(":i", 2, "i", 1, "ï", 6) +CHAR(":o", 2, "o", 1, "õ", 6) +CHAR(":u", 2, "u", 1, "ü", 6) +CHAR(":y", 2, "y", 1, "ÿ", 6) +CHAR("\'A", 2, "A", 1, "Á", 6) +CHAR("\'E", 2, "E", 1, "É", 6) +CHAR("\'I", 2, "I", 1, "Í", 6) +CHAR("\'O", 2, "O", 1, "Ó", 6) +CHAR("\'U", 2, "U", 1, "Ú", 6) +CHAR("\'a", 2, "a", 1, "á", 6) +CHAR("\'e", 2, "e", 1, "é", 6) +CHAR("\'i", 2, "i", 1, "í", 6) +CHAR("\'o", 2, "o", 1, "ó", 6) +CHAR("\'u", 2, "u", 1, "ú", 6) +CHAR("^A", 2, "A", 1, "Â", 6) +CHAR("^E", 2, "E", 1, "Ê", 6) +CHAR("^I", 2, "I", 1, "Î", 6) +CHAR("^O", 2, "O", 1, "Ô", 6) +CHAR("^U", 2, "U", 1, "Û", 6) +CHAR("^a", 2, "a", 1, "â", 6) +CHAR("^e", 2, "e", 1, "ê", 6) +CHAR("^i", 2, "i", 1, "î", 6) +CHAR("^o", 2, "o", 1, "ô", 6) +CHAR("^u", 2, "u", 1, "û", 6) +CHAR("`A", 2, "A", 1, "À", 6) +CHAR("`E", 2, "E", 1, "È", 6) +CHAR("`I", 2, "I", 1, "Ì", 6) +CHAR("`O", 2, "O", 1, "Ò", 6) +CHAR("`U", 2, "U", 1, "Ù", 6) +CHAR("`a", 2, "a", 1, "à", 6) +CHAR("`e", 2, "e", 1, "è", 6) +CHAR("`i", 2, "i", 1, "ì", 6) +CHAR("`o", 2, "o", 1, "ò", 6) +CHAR("`u", 2, "u", 1, "ù", 6) +CHAR("~A", 2, "A", 1, "Ã", 6) +CHAR("~N", 2, "N", 1, "Ñ", 6) +CHAR("~O", 2, "O", 1, "Õ", 6) +CHAR("~a", 2, "a", 1, "ã", 6) +CHAR("~n", 2, "n", 1, "ñ", 6) +CHAR("~o", 2, "o", 1, "õ", 6) + +/* Accents. */ +CHAR("~", 1, " ", 1, "", 0) + +/* Arrows. */ +CHAR("->", 2, "->", 2, "→", 7) +CHAR("<-", 2, "<-", 2, "←", 7) +CHAR("<>", 2, "<>", 2, "↔", 7) + +/* Logic. */ +CHAR("AN", 2, "^", 1, "∧", 7) +CHAR("OR", 2, "v", 1, "∨", 7) +CHAR("no", 2, "~", 1, "¬", 6) +CHAR("tno", 3, "~", 1, "¬", 6) +CHAR("te", 2, "3", 1, "∃", 7) +CHAR("fa", 2, "V", 1, "∀", 7) +CHAR("st", 2, "-)", 2, "∋", 7) +CHAR("tf", 2, ".:.", 3, "∴", 7) +CHAR("3d", 2, ".:.", 3, "∴", 7) +CHAR("or", 2, "|", 1, "|", 1) + +/* Mathematicals. */ +CHAR("pl", 2, "+", 1, "+", 5) +CHAR("mi", 2, "-", 1, "−", 7) +CHAR("-+", 2, "-+", 2, "∓", 7) +CHAR("+-", 2, "+-", 2, "±", 6) +CHAR("t+-", 3, "+-", 2, "±", 6) +CHAR("pc", 2, ".", 1, "·", 6) +CHAR("md", 2, ".", 1, "⋅", 7) +CHAR("mu", 2, "x", 1, "×", 6) +CHAR("tmu", 3, "x", 1, "×", 6) +CHAR("c*", 2, "x", 1, "⊗", 7) +CHAR("c+", 2, "+", 1, "⊕", 7) +CHAR("di", 2, "-:-", 3, "÷", 6) +CHAR("tdi", 3, "-:-", 3, "÷", 6) +CHAR("f/", 2, "/", 1, "⁄", 7) +CHAR("**", 2, "*", 1, "∗", 7) +BOTH("<=", 2, "<=", 2, "≤", 7) +BOTH(">=", 2, ">=", 2, "≥", 7) +CHAR("<<", 2, "<<", 2, "≪", 7) +CHAR(">>", 2, ">>", 2, "≫", 7) +CHAR("eq", 2, "=", 1, "=", 5) +CHAR("!=", 2, "!=", 2, "≠", 7) +CHAR("==", 2, "==", 2, "≡", 7) +CHAR("ne", 2, "!==", 3, "≢", 7) +CHAR("=~", 2, "=~", 2, "≅", 7) +CHAR("-~", 2, "-~", 2, "≃", 7) +CHAR("ap", 2, "~", 1, "∼", 7) +CHAR("~~", 2, "~~", 2, "≈", 7) +CHAR("~=", 2, "~=", 2, "≌", 7) +CHAR("pt", 2, "oc", 2, "∝", 7) +CHAR("es", 2, "{}", 2, "∅", 7) +CHAR("mo", 2, "E", 1, "∈", 7) +CHAR("nm", 2, "!E", 2, "∉", 7) +CHAR("sb", 2, "(=", 2, "⊂", 7) +CHAR("nb", 2, "(!=", 3, "⊄", 7) +CHAR("sp", 2, "=)", 2, "⊃", 7) +CHAR("nc", 2, "!=)", 3, "⊅", 7) +CHAR("ib", 2, "(=", 2, "⊆", 7) +CHAR("ip", 2, "=)", 2, "⊇", 7) +CHAR("ca", 2, "(^)", 3, "∩", 7) +CHAR("cu", 2, "U", 1, "∪", 7) +CHAR("/_", 2, "/_", 2, "∠", 7) +CHAR("pp", 2, "_|_", 3, "⊥", 7) +CHAR("is", 2, "I", 1, "∫", 7) +CHAR("integral", 8, "I", 1, "∫", 7) +CHAR("sum", 3, "E", 1, "∑", 7) +CHAR("product", 7, "TT", 2, "∏", 7) +CHAR("coproduct", 9, "U", 1, "∐", 7) +CHAR("gr", 2, "V", 1, "∇", 7) +CHAR("sr", 2, "\\/", 2, "√", 7) +CHAR("sqrt", 4, "\\/", 2, "√", 7) +CHAR("lc", 2, "|~", 2, "⌈", 7) +CHAR("rc", 2, "~|", 2, "⌉", 7) +CHAR("lf", 2, "|_", 2, "⌊", 7) +CHAR("rf", 2, "_|", 2, "⌋", 7) +CHAR("if", 2, "oo", 2, "∞", 7) +CHAR("Ah", 2, "N", 1, "ℵ", 7) +CHAR("Im", 2, "I", 1, "ℑ", 7) +CHAR("Re", 2, "R", 1, "ℜ", 7) +CHAR("pd", 2, "a", 1, "∂", 7) +CHAR("-h", 2, "/h", 2, "ℏ", 7) + +CHAR("AE", 2, "AE", 2, "Æ", 6) +CHAR("Bq", 2, ",,", 2, "„", 7) CHAR("Cs", 2, "x", 1, "", 0) CHAR("Do", 2, "$", 1, "", 0) CHAR("Eu", 2, "EUR", 3, "", 0) @@ -165,49 +278,16 @@ CHAR("Fi", 2, "ffi", 3, "", 0) CHAR("Fl", 2, "ffl", 3, "", 0) CHAR("Fn", 2, "f", 1, "", 0) CHAR("Fo", 2, "<<", 2, "", 0) -CHAR("Im", 2, "I", 1, "", 0) CHAR("OE", 2, "OE", 2, "", 0) -CHAR("OR", 2, "v", 1, "", 0) CHAR("Po", 2, "L", 1, "", 0) -CHAR("Re", 2, "R", 1, "", 0) CHAR("Sd", 2, "o", 1, "", 0) CHAR("TP", 2, "b", 1, "", 0) CHAR("Tp", 2, "b", 1, "", 0) CHAR("Ye", 2, "Y", 1, "", 0) CHAR("\'", 1, "\'", 1, "", 0) -CHAR("\'A", 2, "A", 1, "", 0) -CHAR("\'E", 2, "E", 1, "", 0) -CHAR("\'I", 2, "I", 1, "", 0) -CHAR("\'O", 2, "O", 1, "", 0) -CHAR("\'U", 2, "U", 1, "", 0) -CHAR("\'a", 2, "a", 1, "", 0) -CHAR("\'e", 2, "e", 1, "", 0) -CHAR("\'i", 2, "i", 1, "", 0) -CHAR("\'o", 2, "o", 1, "", 0) -CHAR("\'u", 2, "u", 1, "", 0) -CHAR("\\", 1, "\\", 1, "", 0) -CHAR("^", 1, "", 0, "", 0) -CHAR("^A", 2, "A", 1, "", 0) -CHAR("^E", 2, "E", 1, "", 0) -CHAR("^I", 2, "I", 1, "", 0) -CHAR("^O", 2, "O", 1, "", 0) -CHAR("^U", 2, "U", 1, "", 0) -CHAR("^a", 2, "a", 1, "", 0) -CHAR("^e", 2, "e", 1, "", 0) -CHAR("^i", 2, "i", 1, "", 0) -CHAR("^o", 2, "o", 1, "", 0) -CHAR("^u", 2, "u", 1, "", 0) +CHAR("\\", 1, "\\", 1, "\\", 1) +CHAR("^", 1, "", 0, "", 0) CHAR("`", 1, "`", 1, "", 0) -CHAR("`A", 2, "A", 1, "", 0) -CHAR("`E", 2, "E", 1, "", 0) -CHAR("`I", 2, "I", 1, "", 0) -CHAR("`O", 2, "O", 1, "", 0) -CHAR("`U", 2, "U", 1, "", 0) -CHAR("`a", 2, "a", 1, "", 0) -CHAR("`e", 2, "e", 1, "", 0) -CHAR("`i", 2, "i", 1, "", 0) -CHAR("`o", 2, "o", 1, "", 0) -CHAR("`u", 2, "u", 1, "", 0) CHAR("a-", 2, "-", 1, "", 0) CHAR("a\"", 2, "\"", 1, "", 0) CHAR("a^", 2, "^", 1, "", 0) @@ -218,7 +298,6 @@ CHAR("ad", 2, "\"", 1, "", 0) CHAR("ae", 2, "ae", 2, "", 0) CHAR("ah", 2, "v", 1, "", 0) CHAR("ao", 2, "o", 1, "", 0) -CHAR("ap", 2, "~", 1, "", 0) CHAR("aq", 2, "\'", 1, "’", 7) CHAR("a~", 2, "~", 1, "", 0) CHAR("ba", 2, "|", 1, "", 0) @@ -226,51 +305,36 @@ CHAR("bb", 2, "|", 1, "", 0) CHAR("bq", 2, ",", 1, "", 0) CHAR("bu", 2, "o", 1, "•", 7) CHAR("c", 1, "", 0, "", 0) -CHAR("ca", 2, "(^)", 3, "", 0) CHAR("ci", 2, "O", 1, "", 0) CHAR("co", 2, "(C)", 3, "", 0) CHAR("ct", 2, "c", 1, "", 0) -CHAR("cu", 2, "U", 1, "", 0) CHAR("dA", 2, "v", 1, "", 0) CHAR("da", 2, "v", 1, "", 0) CHAR("dd", 2, "=", 1, "", 0) CHAR("de", 2, "o", 1, "", 0) CHAR("dg", 2, "-", 1, "", 0) -CHAR("di", 2, "-:-", 3, "", 0) CHAR("e", 1, "\\", 1, "\\", 1) CHAR("em", 2, "--", 2, "—", 7) CHAR("en", 2, "-", 1, "–", 7) -CHAR("eq", 2, "=", 1, "", 0) -CHAR("es", 2, "{}", 2, "", 0) CHAR("eu", 2, "EUR", 3, "", 0) -CHAR("fa", 2, "V", 1, "", 0) CHAR("fc", 2, ">", 1, "", 0) CHAR("ff", 2, "ff", 2, "", 0) CHAR("fi", 2, "fi", 2, "", 0) CHAR("fl", 2, "fl", 2, "", 0) CHAR("fo", 2, "<", 1, "", 0) CHAR("ga", 2, "`", 1, "", 0) -CHAR("gr", 2, "V", 1, "", 0) CHAR("hA", 2, "<=>", 3, "", 0) CHAR("ho", 2, ",", 1, "", 0) CHAR("hy", 2, "-", 1, "", 0) -CHAR("if", 2, "oo", 2, "", 0) CHAR("lA", 2, "<=", 2, "", 0) CHAR("lB", 2, "[", 1, "[", 1) CHAR("lC", 2, "{", 1, "{", 1) CHAR("la", 2, "<", 1, "<", 4) CHAR("lh", 2, "<=", 2, "", 0) -CHAR("mo", 2, "E", 1, "", 0) -CHAR("mu", 2, "x", 1, "", 0) -CHAR("na", 2, "NaN", 3, "", 0) -CHAR("nm", 2, "E", 1, "", 0) -CHAR("no", 2, "~", 1, "", 0) CHAR("oA", 2, "A", 1, "", 0) CHAR("oa", 2, "a", 1, "", 0) CHAR("oe", 2, "oe", 2, "", 0) CHAR("oq", 2, "`", 1, "‘", 7) -CHAR("pd", 2, "a", 1, "", 0) -CHAR("pl", 2, "+", 1, "", 0) CHAR("ps", 2, "9|", 2, "", 0) CHAR("r!", 2, "i", 1, "", 0) CHAR("r?", 2, "c", 1, "", 0) @@ -282,20 +346,7 @@ CHAR("rg", 2, "(R)", 3, "", 0) CHAR("rh", 2, "=>", 2, "", 0) CHAR("sc", 2, "S", 1, "", 0) CHAR("ss", 2, "ss", 2, "", 0) -CHAR("st", 2, "-)", 2, "", 0) -CHAR("te", 2, "3", 1, "", 0) -CHAR("tf", 2, ".:.", 3, "", 0) CHAR("tm", 2, "tm", 2, "", 0) -CHAR("ts", 2, "s", 1, "", 0) CHAR("uA", 2, "^", 1, "", 0) CHAR("ua", 2, "^", 1, "", 0) CHAR("|", 1, "", 0, "", 0) -CHAR("~", 1, " ", 1, "", 0) -CHAR("~=", 2, "~=", 2, "", 0) -CHAR("~A", 2, "A", 1, "", 0) -CHAR("~N", 2, "N", 1, "", 0) -CHAR("~O", 2, "O", 1, "", 0) -CHAR("~a", 2, "a", 1, "", 0) -CHAR("~n", 2, "n", 1, "", 0) -CHAR("~o", 2, "o", 1, "", 0) -CHAR("~~", 2, "~~", 2, "", 0) diff --git a/mandoc_char.7 b/mandoc_char.7 index 6bf1fff9..aaa7ed16 100644 --- a/mandoc_char.7 +++ b/mandoc_char.7 @@ -91,6 +91,8 @@ Typographic: .Pq zero-width space .It \e| .Pq zero-width space +.It \e0 +.Pq white-space .El .\" PARAGRAPH .Pp @@ -147,44 +149,83 @@ Indicatives: .El .\" PARAGRAPH .Pp -Mathematical: +Logical: .Bl -offset indent -column 10n 10n 10n -.It \e(es Ta \(es Ta empty set -.It \e(ca Ta \(ca Ta intersection -.It \e(cu Ta \(cu Ta union -.It \e(gr Ta \(gr Ta gradient -.It \e(pd Ta \(dd Ta partial differential -.It \e(ap Ta \(ap Ta similarity -.It \e(sp Ta \(sp Ta proper superset -.It \e(sb Ta \(sb Ta proper subset -.It \e(eq Ta \(eq Ta equals -.It \e(di Ta \(di Ta division -.It \e(mu Ta \(mu Ta multiplication -.It \e(pl Ta \(pl Ta addition -.It \e- Ta \- Ta subtraction -.It \e(nm Ta \(nm Ta not element -.It \e(mo Ta \(mo Ta element -.It \e(Im Ta \(Im Ta imaginary -.It \e(Re Ta \(Re Ta real -.It \e(Ah Ta \(Ah Ta aleph +.It \e(AN Ta \(AN Ta logical and +.It \e(OR Ta \(OR Ta logical or +.It \e(no Ta \(no Ta logical not +.It \e[tno] Ta \[tno] Ta logical not (text) .It \e(te Ta \(te Ta existential quantifier .It \e(fa Ta \(fa Ta universal quantifier -.It \e(AN Ta \(AN Ta logical AND -.It \e(OR Ta \(OR Ta logical OR -.It \e(no Ta \(no Ta logical NOT .It \e(st Ta \(st Ta such that .It \e(tf Ta \(tf Ta therefore -.It \e(~~ Ta \(~~ Ta approximate -.It \e(~= Ta \(~= Ta approximately equals -.It \e(=~ Ta \(=~ Ta congruent +.It \e(3d Ta \(3d Ta therefore +.It \e(or Ta \(or Ta bitwise or +.El +.\" PARAGRAPH +.Pp +Mathematical: +.Bl -offset indent -column 10n 10n 10n +.It \e(pl Ta \(pl Ta plus +.It \e(mi Ta \(mi Ta minus +.It \e- Ta \- Ta minus (text) +.It \e(-+ Ta \(-+ Ta minus-plus +.It \e(+- Ta \(+- Ta plus-minus +.It \e[t+-] Ta \[t+-] Ta plus-minus (text) +.It \e(pc Ta \(pc Ta centre-dot +.It \e(mu Ta \(mu Ta multiply +.It \e[tmu] Ta \[tmu] Ta multiply (text) +.It \e(c* Ta \(c* Ta circle-multiply +.It \e(c+ Ta \(c+ Ta circle-plus +.It \e(di Ta \(di Ta divide +.It \e[tdi] Ta \[tdi] Ta divide (text) +.It \e(f/ Ta \(f/ Ta fraction +.It \e(** Ta \(** Ta asterisk .It \e(<= Ta \(<= Ta less-than-equal .It \e(>= Ta \(>= Ta greater-than-equal -.It \e(== Ta \(== Ta equal +.It \e(<< Ta \(<< Ta much less +.It \e(>> Ta \(>> Ta much greater +.It \e(eq Ta \(eq Ta equal .It \e(!= Ta \(!= Ta not equal +.It \e(== Ta \(== Ta equivalent +.It \e(ne Ta \(ne Ta not equivalent +.It \e(=~ Ta \(=~ Ta congruent +.It \e(-~ Ta \(-~ Ta asymptotically congruent +.It \e(ap Ta \(ap Ta asymptotically similar +.It \e(~~ Ta \(~~ Ta approximately similar +.It \e(~= Ta \(~= Ta approximately equal +.It \e(pt Ta \(pt Ta proportionate +.It \e(es Ta \(es Ta empty set +.It \e(mo Ta \(mo Ta element +.It \e(nm Ta \(nm Ta not element +.It \e(sb Ta \(sb Ta proper subset +.It \e(nb Ta \(nb Ta not subset +.It \e(sp Ta \(sp Ta proper superset +.It \e(nc Ta \(nc Ta not superset +.It \e(ib Ta \(ib Ta reflexive subset +.It \e(ip Ta \(ip Ta reflexive superset +.It \e(ca Ta \(ca Ta intersection +.It \e(cu Ta \(cu Ta union +.It \e(/_ Ta \(/_ Ta angle +.It \e(pp Ta \(pp Ta perpendicular +.It \e(is Ta \(is Ta integral +.It \e[integral] Ta \[integral] Ta integral +.It \e[sum] Ta \[sum] Ta summation +.It \e[product] Ta \[product] Ta product +.It \e[coproduct] Ta \[coproduct] Ta coproduct +.It \e(gr Ta \(gr Ta gradient +.It \e(sr Ta \(sr Ta square root +.It \e[sqrt] Ta \[sqrt] Ta square root +.It \e(lc Ta \(lc Ta left-ceiling +.It \e(rc Ta \(rc Ta right-ceiling +.It \e(lf Ta \(lf Ta left-floor +.It \e(rf Ta \(rf Ta right-floor .It \e(if Ta \(if Ta infinity -.It \e(na Ta \(na Ta NaN, an extension -.It \e(+- Ta \(+- Ta plus-minus -.It \e(** Ta \(** Ta asterisk +.It \e(Ah Ta \(Ah Ta aleph +.It \e(Im Ta \(Im Ta imaginary +.It \e(Re Ta \(Re Ta real +.It \e(pd Ta \(pd Ta partial differential +.It \e(-h Ta \(-h Ta Planck constant over 2\(*p .El .\" PARAGRAPH .Pp @@ -282,7 +323,6 @@ Diacritics and accented letters: .Pp Monetary: .Bl -offset indent -column 10n 10n 10n -.It \e0 Ta \0 Ta white-space .It \e(Cs Ta \(Cs Ta Scandinavian .It \e(Do Ta \(Do Ta dollar .It \e(Po Ta \(Po Ta pound @@ -296,65 +336,64 @@ Monetary: .Pp Greek letters: .Bl -offset indent -column 10n 10n 10n -.It \e0 Ta \0 Ta white-space .It \e(*A Ta \(*A Ta Alpha .It \e(*B Ta \(*B Ta Beta -.It \e(*C Ta \(*C Ta Xi +.It \e(*G Ta \(*G Ta Gamma .It \e(*D Ta \(*D Ta Delta .It \e(*E Ta \(*E Ta Epsilon -.It \e(*F Ta \(*F Ta Phi -.It \e(*G Ta \(*G Ta Gamma +.It \e(*Z Ta \(*Z Ta Zeta +.It \e(*Y Ta \(*Y Ta Eta .It \e(*H Ta \(*H Ta Theta .It \e(*I Ta \(*I Ta Iota .It \e(*K Ta \(*K Ta Kappa .It \e(*L Ta \(*L Ta Lambda .It \e(*M Ta \(*M Ta Mu .It \e(*N Ta \(*N Ta Nu +.It \e(*C Ta \(*C Ta Xi .It \e(*O Ta \(*O Ta Omicron .It \e(*P Ta \(*P Ta Pi -.It \e(*Q Ta \(*Q Ta Psi .It \e(*R Ta \(*R Ta Rho .It \e(*S Ta \(*S Ta Sigma .It \e(*T Ta \(*T Ta Tau .It \e(*U Ta \(*U Ta Upsilon -.It \e(*W Ta \(*W Ta Omega +.It \e(*F Ta \(*F Ta Phi .It \e(*X Ta \(*X Ta Chi -.It \e(*Y Ta \(*Y Ta Eta -.It \e(*Z Ta \(*Z Ta Zeta +.It \e(*Q Ta \(*Q Ta Psi +.It \e(*W Ta \(*W Ta Omega .It \e(*a Ta \(*a Ta alpha .It \e(*b Ta \(*b Ta beta -.It \e(*c Ta \(*c Ta xi +.It \e(*g Ta \(*g Ta gamma .It \e(*d Ta \(*d Ta delta .It \e(*e Ta \(*e Ta epsilon -.It \e(*f Ta \(*f Ta phi -.It \e(+f Ta \(+f Ta phi variant -.It \e(*g Ta \(*g Ta gamma +.It \e(*z Ta \(*z Ta zeta +.It \e(*y Ta \(*y Ta eta .It \e(*h Ta \(*h Ta theta -.It \e(+h Ta \(+h Ta theta variant .It \e(*i Ta \(*i Ta iota .It \e(*k Ta \(*k Ta kappa .It \e(*l Ta \(*l Ta lambda .It \e(*m Ta \(*m Ta mu .It \e(*n Ta \(*n Ta nu +.It \e(*c Ta \(*c Ta xi .It \e(*o Ta \(*o Ta omicron .It \e(*p Ta \(*p Ta pi -.It \e(+p Ta \(+p Ta pi variant -.It \e(*q Ta \(*q Ta psi .It \e(*r Ta \(*r Ta rho .It \e(*s Ta \(*s Ta sigma .It \e(*t Ta \(*t Ta tau .It \e(*u Ta \(*u Ta upsilon -.It \e(*w Ta \(*w Ta omega +.It \e(*f Ta \(*f Ta phi .It \e(*x Ta \(*x Ta chi -.It \e(*y Ta \(*y Ta eta -.It \e(*z Ta \(*z Ta zeta +.It \e(*q Ta \(*q Ta psi +.It \e(*w Ta \(*w Ta omega +.It \e(+h Ta \(+h Ta theta variant +.It \e(+f Ta \(+f Ta phi variant +.It \e(+p Ta \(+p Ta pi variant +.It \e(+e Ta \(+e Ta epsilon variant .It \e(ts Ta \(ts Ta sigma terminal .El .\" PARAGRAPH .Pp Special symbols: .Bl -offset indent -column 10n 10n 10n -.It \e0 Ta \0 Ta white-space .It \e(de Ta \(de Ta degree .It \e(ps Ta \(ps Ta paragraph .It \e(sc Ta \(sc Ta section @@ -410,14 +449,28 @@ Enclosures: This section documents compatibility of .Nm with older or existing versions of -.Xr groff 1 : +.Xr groff 1 . .Pp -.Bl -tag -width Ds -offset indent -compact -.It \e(ss -Renders differently in +The following render differently in .Fl T Ns Ar ascii -mode. -.El +output mode: +.Bd -ragged -offset indent +\e(ss, \e(nm, \e(nb, \e(nc, \e(ib, \e(ip, \e(pp, \e[sum], \e[product], +\e[coproduct], \e(gr, \e(-h +.Ed +.Pp +The following render differently in +.Fl T Ns Ar html +output mode: +.Bd -ragged -offset indent +\e(~=, \e(nb, \e(nc +.Ed +.Pp +Finally, the following have been omitted by being poorly documented or +having no known representation: +.Bd -ragged -offset indent +\e[radicalex], \e[sqrtex] +.Ed .\" SECTION .Sh SEE ALSO .Xr mandoc 1 |