| 1 |
Installing StarTeX |
| 2 |
================== |
| 3 |
|
| 4 |
To install StarTeX on your system, you must do the following: |
| 5 |
|
| 6 |
1) Extract the various source files from the distribution file: |
| 7 |
|
| 8 |
tex startex.ins |
| 9 |
|
| 10 |
(This command reads the file startex.dtx and extracts startex.tex, |
| 11 |
startex.lan, article.stx, a4-article.stx, ifi-article.stx and |
| 12 |
ifi-artikkel.stx. It assumes you have the file docstrip.tex available; |
| 13 |
this file is part of the standard LaTeX distribution.) |
| 14 |
|
| 15 |
2) Modify startex.lan to load the hyphenation patterns for the |
| 16 |
languages you intend to use. (The standard patterns are American |
| 17 |
English and Norwegian which may not be your ideal choice.) American |
| 18 |
English should always be present as language no 0. You add language |
| 19 |
patterns by adding lines like |
| 20 |
|
| 21 |
\DefLang{1}{norsk}{nohyph2.tex}% |
| 22 |
|
| 23 |
The three parameters are: (1) a unique number in the range 1-255, |
| 24 |
(2) the name of the language, and (3) the file from which the |
| 25 |
hyphenation patterns can be read. |
| 26 |
|
| 27 |
3) Make a StarTeX format: |
| 28 |
|
| 29 |
initex plain '\input startex' '<make-new-format>' |
| 30 |
mv plain.fmt startex.fmt |
| 31 |
|
| 32 |
This produces the format file plain.fmt which is then renamed to |
| 33 |
startex.fmt. (The commands given here are for Unix; your system might |
| 34 |
use a different notation.) |
| 35 |
|
| 36 |
4) Place the format file where `virtex' can find it, for instance in |
| 37 |
/usr/local/texmf/ini. |
| 38 |
|
| 39 |
cp startex.fmt /usr/local/texmf/ini |
| 40 |
|
| 41 |
5) Define the command `startex' as a link to `virtex': |
| 42 |
|
| 43 |
cd /usr/local/texmf/bin |
| 44 |
ln -s virtex startex |
| 45 |
|
| 46 |
(Again: this is Unix notation; your system might differ.) |
| 47 |
|
| 48 |
6) Put the .stx files where `virtex' can find them, for instance in |
| 49 |
/usr/local/texmf/tex/startex: |
| 50 |
|
| 51 |
cp *.stx /usr/local/texmf/tex/startex |
| 52 |
|
| 53 |
And that should be it. |
| 54 |
|
| 55 |
|
| 56 |
Documentation |
| 57 |
------------- |
| 58 |
|
| 59 |
If you want a commented listing of the StarTeX source code, you can |
| 60 |
make that from the startex.dtx source file. That requires three passes |
| 61 |
by LaTeX and use of `bibtex' and `makeindex': |
| 62 |
|
| 63 |
latex startex.dtx |
| 64 |
bibtex startex |
| 65 |
latex startex.dtx |
| 66 |
makeindex -s stxind.ist startex.idx |
| 67 |
makeindex -s stxglo.ist -o startex.gls startex.glo |
| 68 |
latex startex.dtx |
| 69 |
|
| 70 |
|
| 71 |
Note |
| 72 |
---- |
| 73 |
|
| 74 |
Some operating systems have a limit of 8+3 characters in file names. |
| 75 |
Users of such systems may have to make some small modifications. |