1 |
Note that all `charXXX' entity names have been removed from the font files. |
Note that all \[charXXX] entity names have been removed from the font files. |
2 |
They don't make sense for Unicode. |
They don't make sense for Unicode. |
3 |
|
|
4 |
The following from the original troff manual (by Ossanna and Kernighan) is |
The following entity from the original troff manual (by Ossanna and |
5 |
unmapped: |
Kernighan) is unmapped: |
6 |
|
|
7 |
\(bs shaded solid ball (Bell System logo, AT&T logo) |
bs shaded solid ball (Bell System logo, AT&T logo) |
8 |
|
|
9 |
Character 0x002D has not been given a name because its Unicode name |
Character 0x002D has not been given a name because its Unicode name |
10 |
"HYPHEN-MINUS" is so ambiguous that it's unusable for serious typographic use. |
HYPHEN-MINUS is so ambiguous that it is unusable for serious typographic |
11 |
|
use. |
12 |
|
|
13 |
\(wp has been mapped to 0x2118, because according to unicode.org's |
\[wp] has been mapped to 0x2118, because according to Unicode 4.1's |
14 |
NamesList-3.0.0.txt, U+2118 "SCRIPT CAPITAL P" is really a Weierstrass p, |
NamesList.txt, U+2118 SCRIPT CAPITAL P is really a Weierstrass `p', |
15 |
neither SCRIPT not CAPITAL. |
neither SCRIPT not CAPITAL. |
16 |
|
|
17 |
The following line could be added; "space" is known to "devps" but are not |
The following line could be added; \[space] is known to devps but is not |
18 |
documented and not known to "devdvi" (actually, there is no space glyph |
documented and not known to devdvi (actually, there is no space glyph within |
19 |
within the TeX system). |
the TeX system). |
20 |
|
|
21 |
space 24 0 0x0020 |
space 24 0 0x0020 |
22 |
|
|
23 |
"devps" maps \(a~ and ~ to asciitilde, which is equivalent to 0x02DC, but |
devps maps \[a~] and `~' to `asciitilde', which is equivalent to 0x02DC, but |
24 |
this glyph is just too small. We map them to 0x007E instead. |
this glyph is just too small. We map them to 0x007E instead. |
25 |
|
|
26 |
"devps" maps \(a^ and ^ to circumflex, which is equivalent to 0x02C6, but |
devps maps \[a^] and `^' to `circumflex', which is equivalent to 0x02C6, but |
27 |
this glyph is just too small. We map them to 0x005E instead. |
this glyph is just too small. We map them to 0x005E instead. |
28 |
|
|
29 |
"devps" maps *U to Upsilon1, which is equivalent to 0x03D2. We map it to |
devps maps \[*U] to `Upsilon1', which is equivalent to 0x03D2. We map it to |
30 |
0x03A5 instead. |
0x03A5 instead. |
31 |
|
|
32 |
"devps" maps *W to Omega, which is equivalent to either 0x2126 or 0x03A9. |
devps maps \[*W] to `Omega', which is equivalent to either 0x2126 or 0x03A9. |
33 |
We map it to 0x03A9. |
We map it to 0x03A9. |
34 |
|
|
35 |
"devps" maps *D to Delta, which is equivalent to either 0x2206 or 0x0394. |
devps maps \[*D] to `Delta', which is equivalent to either 0x2206 or 0x0394. |
36 |
We map it to 0x0394. |
We map it to 0x0394. |
37 |
|
|
38 |
|
|
39 |
Using unnamed characters |
Adding Unicode characters |
40 |
------------------------ |
------------------------- |
41 |
|
|
42 |
Assume you want to use a Unicode character not provided in the list, say |
Assume you want to use a Unicode character not provided in the list, say |
43 |
U+20AC. You need to do two things: |
U+20AC. You need to do two things: |
44 |
|
|
45 |
- Add a line |
- Add a line |
46 |
|
|
47 |
--- 24 0 0x20AC |
u20AC 24 0 0x20AC |
48 |
|
|
49 |
(the second column is computed as 24 * wcwidth(0x20AC)) to the file |
(the second column is computed as 24 * wcwidth(0x20AC)) to the file |
50 |
R.proto, or, when groff is already installed, to the four fonts files in |
R.proto, or, when groff is already installed, to the four fonts files in |
51 |
$(prefix)/share/groff/<version>/font/devutf8/. |
$(prefix)/share/groff/<version>/font/devutf8/. |
52 |
|
|
53 |
- In your source file, use the notation \N'8364' where 8364 is the decimal |
- In your source file, use the notation \[u20AC] to access it. |
|
representation of 0x20AC. |
|