| 1 |
1. INSTALLATION |
| 2 |
|
| 3 |
To install, simply put the files ucs.sty, utf8x.def, ucsencs.def and |
| 4 |
data/* somewhere in your TeX-path. If you want CJK characters, you need |
| 5 |
the c??enc.def files, too. For Klingon you need lklenc.def and |
| 6 |
lklkli.fd. |
| 7 |
|
| 8 |
You may have to run some command like mktexlsr, lest the files will not |
| 9 |
be found by TeX. What to do, however, is distribution dependent. |
| 10 |
|
| 11 |
Warning: If you install the files into some directory, where TeX does |
| 12 |
not search recursively (usually the current directory and your personal |
| 13 |
TeX directory are of that kind), you have to put the contents of data |
| 14 |
directly into that directory. |
| 15 |
|
| 16 |
If you don't install data/uninames.dat, you will save about 300 KB, but |
| 17 |
you won't get the full names of the characters in error messages. |
| 18 |
|
| 19 |
If you have added glyphs macros in one of the files in config (see |
| 20 |
perldoc makeunidef.pl for information on the config file format), you |
| 21 |
have to recreate the files in data by running "make datafiles". This |
| 22 |
uses makeunidef.pl internally. |
| 23 |
|
| 24 |
You can also run the makeunidef.pl directly. When doing this, you may |
| 25 |
supply another target directory instead of data, e.g. some directory in |
| 26 |
your TeX-path. makeunidef.pl will not delete or overwrite any files it |
| 27 |
has not created itself. If you add "--exclude |
| 28 |
cjkbg5,cjkgb,cjkjis,cjkhangul", CJK characters will not be included, |
| 29 |
saving more than 1 MB of disk space. |
| 30 |
|
| 31 |
2. GETTING THE SOURCE CODE REPOSITORY |
| 32 |
|
| 33 |
Install darcs from <http://darcs.net/>, if you do not have done this |
| 34 |
yet. Then check out the ucs repository with the following command: |
| 35 |
|
| 36 |
darcs get http://darcs.wolfgang.jeltsch.info/tex/ucs |
| 37 |
|
| 38 |
3. BUILDING |
| 39 |
|
| 40 |
If you are working with the source code repository, you will probably |
| 41 |
want to build the autogenerated files at some point. To do this, run |
| 42 |
(GNU) make in the root directory of the repository. |
| 43 |
|
| 44 |
4. CREATING A DISTRIBUTION BUNDLE |
| 45 |
|
| 46 |
Running |
| 47 |
|
| 48 |
make dist |
| 49 |
|
| 50 |
in the root directory of the repository gives you a file ucs.tar.gz. |
| 51 |
This file contains all source files and all autogenerated files, and has |
| 52 |
the "executable" bit set for all scripts. It is intended for uploading |
| 53 |
to CTAN. |