1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
Question:
LaTeX complains about missing commands I have not used. Why?
Answer:
The ucs package uses many macros from many packages. You have to
include these into your preamble. To find out which package contains
the missing macro, you can use e.g.
perl discovermacro.pl \themissingmacro
or
perl discovermacro.pl mydocument.log
or have a look at the human readable file ltxmacrs.txt.
Question:
The package complains about the missing file uni-global.def (and
other files), but they are in the TeX search path.
Answer:
Perhaps you have put the ucs/data directory in a directory where TeX
does not search recursively (e.g. your private TeX directory or the
current directory). You can change this by putting the ucs package
into a recursively searched directory or by putting the files in
ucs/data directly into the searched directory at top level.
Question:
When I try to activate options in \usepackage[...]{ucs}, LaTeX
complains about an option clash.
Answer:
ucs.sty probably already got loaded via
\usepackage[utf8x]{inputenc}. Try loading ucs.sty first or set the
options with \SetUnicodeOption.
Question:
Is the ucs package the same as the unicode package?
Answer:
Dominique Unruh, the original author of the ucs package started with
unicode.sty, but there was a name clash with Sebastian Rahtz'
jadetex/passivetex package. So he later used the name ucs.sty
instead of unicode.sty. The package was subsequently called "ucs" in
TeXLive and installed into the directory tex/latex/ucs. However, it
was still called "unicode" in MiKTeX and on CTAN. In April 2012, it
was decided that the name "unicode" should not be used anymore to
avoid confusion. So it is now the ucs package.
Question:
I get an "TeX capacity exceeded" error. What can I do?
Answer:
Try the option "savemem". This will reduce the memory consumption of
ucs.sty, especially if you use CJK glyphs, but will also slow down
operation significantly. Or increase TeX's capacity, if this is
feasible in your situation.
Question (Esperanto):
LATIN SMALL LETTER H WITH CIRCUMFLEX is ugly. ^h with babel package
option esperanto is not. Why?
Answer:
esperanto.ldf has its own macro for ^h, ucs uses the standard \^h.
Add \DeclareTextCompositeCommand{\^}{T1}{h}{h\llap{\^{}}}
\DeclareTextCompositeCommand{\^}{OT1}{h}{h\llap{\^{}}} to your
preamble, then \^h and the corresponding unicode character will
yield the same as ^h.
Question:
When a line of my document displayed in the TeX terminal output or
logfile, the non ascii characters are replaced by garbage. Why?
Answer:
The first possibility is, that you don't read the output with a
unicode enabled terminal. The second is, that TeX replaces some
bytes by ^^XX sequences. I do not know how to tell TeX which
characters are to be escaped that way (tell me if you do). If no
other mean helps, you can use latexout.pl which converts such output
to UTF-8.
|