Difference between revisions of "Talk:Encodings and Regimes - Old Content"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
\stoptext | \stoptext | ||
</texcode> | </texcode> | ||
− | But there is error: | + | But there is error: |
+ | <texcode> | ||
+ | kpathsea: Running mktextfm UnicodeRegular1e | ||
+ | /work/apps/tetex/share/texmf/web2c/mktexnam: Could not map source abbreviation U for UnicodeRegular1e. | ||
+ | /work/apps/tetex/share/texmf/web2c/mktexnam: Need to update | ||
+ | /work/apps/tetex/share/texmf-dist/fonts/map/fontname/special.map? | ||
+ | mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input UnicodeRegular1e | ||
+ | This is METAFONT, Version 2.71828 (Web2C 7.5.4) | ||
− | kpathsea: Running | + | kpathsea: Running mktexmf UnicodeRegular1e |
− | + | ! I can't find file `UnicodeRegular1e'. | |
− | + | <*> ...mag:=1; nonstopmode; input UnicodeRegular1e | |
− | mktextfm: | + | |
− | + | Please type another input file name | |
+ | ! Emergency stop. | ||
+ | <*> ...mag:=1; nonstopmode; input UnicodeRegular1e | ||
+ | |||
+ | Transcript written on mfput.log. | ||
+ | grep: UnicodeRegular1e.log: No such file or directory | ||
+ | mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input UnicodeRegular1e' failed to make | ||
− | + | UnicodeRegular1e.tfm. | |
− | + | kpathsea: Appending font creation commands to missfont.log. | |
− | + | ! Font \unicodefont=UnicodeRegular1e at 12.0pt not loadable: Metric (TFM) file | |
− | + | not found. | |
− | + | <recently read> \bodyfontsize | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | kpathsea: Appending font creation commands to missfont.log. | ||
− | ! Font \unicodefont=UnicodeRegular1e at 12.0pt not loadable: Metric (TFM) file | ||
− | not found. | ||
− | <recently read> \bodyfontsize | ||
− | \unicodeglyph ... \currentfontscale \bodyfontsize | + | \unicodeglyph ... \currentfontscale \bodyfontsize |
\unicodestrut \unicodefont... | \unicodestrut \unicodefont... | ||
− | \uchar ... \unicodetwo \relax \handleunicodeglyph | + | \uchar ... \unicodetwo \relax \handleunicodeglyph |
\egroup | \egroup | ||
− | l.4 \uchar{30}{160} | + | l.4 \uchar{30}{160} |
− | ? | + | ? |
+ | </texcode> | ||
Any ideas ? Thanks. Quy | Any ideas ? Thanks. Quy |
Revision as of 20:39, 2 January 2005
How to obtain a Unicode charecter by using its decimal code ? -- Quy
The simplest way is to split the 16 bits into its component 2 bytes: +U1ED5 -> \uchar{"1E}{"D5} -> \uchar{30}{213}. --Adam 20:07, 1 Jan 2005 (CET)
After loading Vietnamese UTF8 (your description) I try:
\starttext \uchar{30}{160} % 1EA0 \stoptext
But there is error:
kpathsea: Running mktextfm UnicodeRegular1e /work/apps/tetex/share/texmf/web2c/mktexnam: Could not map source abbreviation U for UnicodeRegular1e. /work/apps/tetex/share/texmf/web2c/mktexnam: Need to update /work/apps/tetex/share/texmf-dist/fonts/map/fontname/special.map? mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input UnicodeRegular1e This is METAFONT, Version 2.71828 (Web2C 7.5.4) kpathsea: Running mktexmf UnicodeRegular1e ! I can't find file `UnicodeRegular1e'. <*> ...mag:=1; nonstopmode; input UnicodeRegular1e Please type another input file name ! Emergency stop. <*> ...mag:=1; nonstopmode; input UnicodeRegular1e Transcript written on mfput.log. grep: UnicodeRegular1e.log: No such file or directory mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input UnicodeRegular1e' failed to make UnicodeRegular1e.tfm. kpathsea: Appending font creation commands to missfont.log. ! Font \unicodefont=UnicodeRegular1e at 12.0pt not loadable: Metric (TFM) file not found.\bodyfontsize \unicodeglyph ... \currentfontscale \bodyfontsize \unicodestrut \unicodefont... \uchar ... \unicodetwo \relax \handleunicodeglyph \egroup l.4 \uchar{30}{160} ?
Any ideas ? Thanks. Quy