]> git.cameronkatri.com Git - mandoc.git/commitdiff
Many more characters for HMTL (mostly Greek).
authorKristaps Dzonsons <kristaps@bsd.lv>
Tue, 22 Sep 2009 10:07:01 +0000 (10:07 +0000)
committerKristaps Dzonsons <kristaps@bsd.lv>
Tue, 22 Sep 2009 10:07:01 +0000 (10:07 +0000)
chars.c
chars.in
mandoc_char.7

diff --git a/chars.c b/chars.c
index eed572479ec092f5f867f0d3552594e3efa55a6f..caa7e638ba652e2a91e4b64b5c865189c20059c9 100644 (file)
--- a/chars.c
+++ b/chars.c
@@ -1,4 +1,4 @@
-/*     $Id: chars.c,v 1.2 2009/09/17 08:21:42 kristaps Exp $ */
+/*     $Id: chars.c,v 1.3 2009/09/22 10:07:01 kristaps Exp $ */
 /*
  * Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
  *
@@ -38,7 +38,7 @@ struct        ln {
 #define CHARS_BOTH      (0x03)
 };
 
-#define        LINES_MAX         266
+#define        LINES_MAX         267
 
 #define CHAR(w, x, y, z, a, b) \
        { NULL, (w), (y), (a), (x), (z), (b), CHARS_CHAR },
index d7988f5d3f3bcc7e4456103b15d3b7826bccda9c..d52c9caf418b3ae8dd7f9da3cff2b8eb747a0643 100644 (file)
--- a/chars.in
+++ b/chars.in
@@ -1,4 +1,4 @@
-/*     $Id: chars.in,v 1.7 2009/09/21 23:12:08 kristaps Exp $ */
+/*     $Id: chars.in,v 1.8 2009/09/22 10:07:01 kristaps Exp $ */
 /*
  * Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
  *
@@ -66,50 +66,51 @@ BOTH("rq",                  2,      "\'\'",         2,      "&#8221;",      7)
 BOTH("ua",                     2,      "^",            1,      "",     0)
 
 CHAR(" ",                      1,      " ",            1,      " ",            1)
-CHAR("!=",                     2,      "!=",           2,      "",     0)
+CHAR("!=",                     2,      "!=",           2,      "&#8800;",      7)
 CHAR("%",                      1,      "",             0,      "",     0)
 CHAR("&",                      1,      "",             0,      "",     0)
-CHAR("(=",                     2,      "(=",           2,      "",     0)
+CHAR("sb",                     2,      "(=",           2,      "&#8834;",      7)
+CHAR("sp",                     2,      "=)",           2,      "&#8835;",      7)
 CHAR("**",                     2,      "*",            1,      "",     0)
-CHAR("*A",                     2,      "A",            1,      "",     0)
-CHAR("*B",                     2,      "B",            1,      "",     0)
-CHAR("*C",                     2,      "H",            1,      "",     0)
-CHAR("*D",                     2,      "/\\",          2,      "",     0)
-CHAR("*E",                     2,      "E",            1,      "",     0)
-CHAR("*F",                     2,      "O_",           1,      "",     0)
-CHAR("*G",                     2,      "|",            1,      "",     0)
-CHAR("*H",                     2,      "O",            1,      "",     0)
-CHAR("*I",                     2,      "I",            1,      "",     0)
-CHAR("*K",                     2,      "K",            1,      "",     0)
-CHAR("*L",                     2,      "/\\",          2,      "",     0)
-CHAR("*M",                     2,      "M",            1,      "",     0)
-CHAR("*N",                     2,      "N",            1,      "",     0)
-CHAR("*O",                     2,      "O",            1,      "",     0)
-CHAR("*P",                     2,      "TT",           2,      "",     0)
-CHAR("*Q",                     2,      "Y",            1,      "",     0)
-CHAR("*R",                     2,      "P",            1,      "",     0)
-CHAR("*S",                     2,      ">",            1,      "",     0)
-CHAR("*T",                     2,      "T",            1,      "",     0)
-CHAR("*U",                     2,      "Y",            1,      "",     0)
-CHAR("*W",                     2,      "O",            1,      "",     0)
-CHAR("*X",                     2,      "X",            1,      "",     0)
-CHAR("*Y",                     2,      "H",            1,      "",     0)
-CHAR("*Z",                     2,      "Z",            1,      "",     0)
-CHAR("*a",                     2,      "a",            1,      "",     0)
-CHAR("*b",                     2,      "B",            1,      "",     0)
-CHAR("*c",                     2,      "E",            1,      "",     0)
-CHAR("*d",                     2,      "d",            1,      "",     0)
-CHAR("*e",                     2,      "e",            1,      "",     0)
-CHAR("*f",                     2,      "o",            1,      "",     0)
-CHAR("*g",                     2,      "y",            1,      "",     0)
-CHAR("*h",                     2,      "0",            1,      "",     0)
-CHAR("*i",                     2,      "i",            1,      "",     0)
-CHAR("*k",                     2,      "k",            1,      "",     0)
-CHAR("*l",                     2,      "\\",           1,      "",     0)
-CHAR("*m",                     2,      "u",            1,      "",     0)
-CHAR("*n",                     2,      "v",            1,      "",     0)
-CHAR("*o",                     2,      "o",            1,      "",     0)
-CHAR("*p",                     2,      "n",            1,      "",     0)
+CHAR("*A",                     2,      "A",            1,      "&#913;",       6)
+CHAR("*B",                     2,      "B",            1,      "&#914;",       6)
+CHAR("*C",                     2,      "H",            1,      "&#926;",       6)
+CHAR("*D",                     2,      "/\\",          2,      "&#916;",       6)
+CHAR("*E",                     2,      "E",            1,      "&#917;",       6)
+CHAR("*F",                     2,      "O_",           1,      "&#934;",       6)
+CHAR("*G",                     2,      "|",            1,      "&#915;",       6)
+CHAR("*H",                     2,      "O",            1,      "&#920;",       6)
+CHAR("*I",                     2,      "I",            1,      "&#921;",       6)
+CHAR("*K",                     2,      "K",            1,      "&#922;",       6)
+CHAR("*L",                     2,      "/\\",          2,      "&#923;",       6)
+CHAR("*M",                     2,      "M",            1,      "&#924;",       6)
+CHAR("*N",                     2,      "N",            1,      "&#925;",       6)
+CHAR("*O",                     2,      "O",            1,      "&#927;",       6)
+CHAR("*P",                     2,      "TT",           2,      "&#928;",       6)
+CHAR("*Q",                     2,      "Y",            1,      "&#936;",       6)
+CHAR("*R",                     2,      "P",            1,      "&#929;",       6)
+CHAR("*S",                     2,      ">",            1,      "&#931;",       6)
+CHAR("*T",                     2,      "T",            1,      "&#932;",       6)
+CHAR("*U",                     2,      "Y",            1,      "&#933;",       6)
+CHAR("*W",                     2,      "O",            1,      "&#937;",       6)
+CHAR("*X",                     2,      "X",            1,      "&#935;",       6)
+CHAR("*Y",                     2,      "H",            1,      "&#919;",       6)
+CHAR("*Z",                     2,      "Z",            1,      "&#918;",       6)
+CHAR("*a",                     2,      "a",            1,      "&#945;",       0)
+CHAR("*b",                     2,      "B",            1,      "&#946;",       0)
+CHAR("*c",                     2,      "E",            1,      "&#958;",       0)
+CHAR("*d",                     2,      "d",            1,      "&#948;",       0)
+CHAR("*e",                     2,      "e",            1,      "&#949;",       0)
+CHAR("*f",                     2,      "o",            1,      "&#981;",       0)
+CHAR("*g",                     2,      "y",            1,      "&#945;",       0)
+CHAR("*h",                     2,      "0",            1,      "&#952;",       0)
+CHAR("*i",                     2,      "i",            1,      "&#953;",       0)
+CHAR("*k",                     2,      "k",            1,      "&#954;",       0)
+CHAR("*l",                     2,      "\\",           1,      "&#955;",       0)
+CHAR("*m",                     2,      "u",            1,      "&#956;",       0)
+CHAR("*n",                     2,      "v",            1,      "&#957;",       0)
+CHAR("*o",                     2,      "o",            1,      "&#959;",       0)
+CHAR("*p",                     2,      "n",            1,      "&#960;",       0)
 CHAR("*q",                     2,      "u",            1,      "",     0)
 CHAR("*r",                     2,      "p",            1,      "",     0)
 CHAR("*s",                     2,      "o",            1,      "",     0)
@@ -120,9 +121,9 @@ CHAR("*x",                  2,      "x",            1,      "",     0)
 CHAR("*y",                     2,      "n",            1,      "",     0)
 CHAR("*z",                     2,      "C",            1,      "",     0)
 CHAR("+-",                     2,      "+-",           2,      "",     0)
-CHAR("+f",                     2,      "o",            1,      "",     0)
-CHAR("+h",                     2,      "0",            1,      "",     0)
-CHAR("+p",                     2,      "w",            1,      "",     0)
+CHAR("+f",                     2,      "o",            1,      "&#876;",       6)
+CHAR("+h",                     2,      "0",            1,      "&#977;",       6)
+CHAR("+p",                     2,      "w",            1,      "&#982;",       6)
 CHAR(",C",                     2,      "C",            1,      "",     0)
 CHAR(",c",                     2,      "c",            1,      "",     0)
 CHAR("-",                      1,      "-",            1,      "-",            1)
index f597f989693d9d71ace6c4189cd6b611c89fed51..6da783773eaceeea92be0060b05f5f2b543a84a5 100644 (file)
@@ -1,4 +1,4 @@
-.\"    $Id: mandoc_char.7,v 1.13 2009/07/28 12:15:11 kristaps Exp $
+.\"    $Id: mandoc_char.7,v 1.14 2009/09/22 10:07:01 kristaps Exp $
 .\"
 .\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
 .\"
@@ -14,7 +14,7 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\" 
-.Dd $Mdocdate: July 28 2009 $
+.Dd $Mdocdate: September 22 2009 $
 .Dt MANDOC_CHAR 7
 .Os
 .\" SECTION
@@ -199,9 +199,9 @@ Mathematical:
 .Pq partial differential
 .It \e(ap
 .Pq similarity
-.It \e(=)
+.It \e(sp
 .Pq proper superset
-.It \e((=
+.It \e(sb
 .Pq proper subset
 .It \e(eq
 .Pq equals