summaryrefslogtreecommitdiff
path: root/Master/setuptl/tlpm.winconf
blob: f9f75910209b48bfb8d02cb03e247fa71ac64bef (plain)
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
Configuring the TeX Live 2006 installation on Windows in 5 steps;
$Id: tlpm.winconf 167 2006-12-28 23:32:45Z staw $
Staszek Wawrykiewicz (staw at gust.org.pl, 29.12.2006)

This document tries to describe in short the most important steps to
configure TeX Live 2004-2006, installed on Windows using the TLPM program 
by Pawe{\l} Jackowski (or manually, for bold people).

1. After installation from the TeX Live CD/DVD, the most important
   thing is to set some environment variables. How to do that depends on
   the Windows version used, e.g., for Windows 9x it is enough to add
   the following lines into c:\autoexec.bat file and restart the system

REM addapt the next line to YOUR TLroot directory 
set TLroot=c:\TeXLive
set PATH=%TLroot%\bin\win32;%PATH%
set TEXMFCNF=%TLroot%\texmf-var\web2c
set PERL5LIB=%TLroot%\perltl\lib;%TLroot%\perltl\site\lib
set GS_LIB=c:\gs\gs8.54\lib;c:\gs\fonts

For Windows NT/2K/XP the procedure is somehow less straightforward.
Click left on Start->Settings->Control Panel. Now the window with the 
control panel icons opens. Double click on "System". The
"System Properties" window opens. Click on the tab "Environment"
or look for a button named "Environment Variables" among the
dialog boxes. Now you can change the environment variables for your
user account (or system wide variables when you have administrator rights 
on your machine).
Hint: Having opened this readme file in any text editor (like Notepad) you can 
copy-paste the variable names and their values from the above example. 
Please adapt first TLroot value to the directory where you installed 
TeX Live.
Windows NT/2K/XP versions for some reasons also need setting of one more variable:
TEXMFTEMP=%TLroot%\temp
Do not forget to create this subdirectory by hand!

2. As we need the texmf-var directory for (some) configuration files, formats, 
   etc., this is good time to do it right now. Please apply the
   following batch file (should work for all Windows versions):

--- mktexvar.bat --<-- cut here
REM addapt the following line to the absolute directory
cd %TLroot%
md texmf-var
cd texmf-var
md web2c
copy ..\texmf\web2c\texmf.cnf-4WIN web2c\texmf.cnf
copy ..\texmf\web2c\fmtutil.cnf web2c\*.*
copy ..\texmf\web2c\updmap.cfg web2c\*.*
attrib -R web2c\texmf.cnf
attrib -R web2c\fmtutil.cnf
attrib -R web2c\updmap.cfg
md tex
cd tex
md generic
cd generic
md config
cd config
copy ..\..\..\..\texmf\tex\generic\config\language.dat .
attrib -R language.dat
echo PLEASE CHANGE texmf-var\tex\generic\config\language.dat
echo (percent out not needed hyphenation patterns)

Now you can edit the language.dat file in the texmf-var subtree
and unsellect all hyphenation patterns which are not needed (and in fact
could be missing).

3. run from the command line:
mktexlsr

4. run from the command line:
updmap

5. run from the command line:
fmtutil --byfmt=latex 
(or any needed format)

More information on how to configure the installation can be found
in the TeX Live documentation, see section "Personal configurations"
and also "Tips and tricks for Win32".