[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] unicode support, part 11: \[sqrt] vs \(sr
From: |
Bruno Haible |
Subject: |
[Groff] unicode support, part 11: \[sqrt] vs \(sr |
Date: |
Tue, 21 Feb 2006 18:52:49 +0100 |
User-agent: |
KMail/1.5 |
Does anyone see a difference between \[sqrt] and \(sr ?
Most devices treat them the same.
groff_char.man has this:
(N/A) \[sr] radical u221A square root +
(N/A) \[sqrt] radical u221A ***
I propose to treat them the same everywhere.
2006-02-19 Bruno Haible <address@hidden>
* src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Treat
\[sqrt] like \[sr].
* font/devdvi/S: Make \[sr] an alias of \[sqrt].
diff -r -c3 groff-20060217.orig/font/devdvi/S groff-20060217/font/devdvi/S
--- groff-20060217.orig/font/devdvi/S 2003-02-25 07:49:38.000000000 +0100
+++ groff-20060217/font/devdvi/S 2006-02-19 19:47:31.000000000 +0100
@@ -132,6 +132,7 @@
\ "
u2240 291272,728178,203888 3 0157
sqrt 873816,41942,1006634 1 0160
+sr "
u2210 786434,716526 2 0161
gr 873816,716526 2 0162
is 436909,728178,203890,116509 3 0163
diff -r -c3 groff-20060217.orig/src/libs/libgroff/glyphuni.cpp
groff-20060217/src/libs/libgroff/glyphuni.cpp
--- groff-20060217.orig/src/libs/libgroff/glyphuni.cpp 2006-02-19
19:42:48.000000000 +0100
+++ groff-20060217/src/libs/libgroff/glyphuni.cpp 2006-02-19
19:48:34.000000000 +0100
@@ -398,7 +398,8 @@
{ "mi", "2212" },
{ "-+", "2213" },
{ "**", "2217" },
-//{ "sqrt", "221A" },
+ // \[sqrt] and \(sr are the same.
+ { "sqrt", "221A" },
{ "sr", "221A" },
{ "pt", "221D" },
{ "if", "221E" },
- [Groff] unicode support, part 13: \-, (continued)
[Groff] unicode support, part 10: \[shc], Bruno Haible, 2006/02/21
- [Groff] Re: unicode support, part 10: \[shc], Werner LEMBERG, 2006/02/23
- [Groff] Re: unicode support, part 10: \[shc] and the soft hyphen in HTML, Bruno Haible, 2006/02/23
- [Groff] Re: unicode support, part 10: \[shc] and the soft hyphen in HTML, Werner LEMBERG, 2006/02/24
- [Groff] Re: unicode support, part 10: \[shc] and the soft hyphen in HTML, Werner LEMBERG, 2006/02/23
[Groff] unicode support, part 12: \(la, \(ra, Bruno Haible, 2006/02/21
[Groff] unicode support, part 11: \[sqrt] vs \(sr,
Bruno Haible <=