summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/datatool/INSTALL
blob: 86bfd84c2d633cd3cda09f9a2b662fc974b63d86 (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
INSTALLATION

If you have downloaded the datatool package using the TeX
Directory Structure (TDS), that is you have downloaded the archive
datatool.tds.zip containing doc, tex, scripts and source
directories, you need to follow the "Installing from TDS"
instructions below.

If you have downloaded the following files:

datatool.dtx
datatool.ins

You need to follow the "Installing from DTX and INS" instructions
below.

For further information on installing LaTeX packages see:

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=installthings

INSTALLING FROM TDS
===================

Files in tex and doc directories should go in the corresponding
TEXMF directories (for example, /usr/share/texmf-local/ or
C:\localtexmf\). 

*Remember to refresh TeX's database*

Example (on UNIX like systems):

unzip datatool.tds.zip -d ~/texmf/
texhash ~/texmf/

INSTALLING FROM DTX AND INS
===========================

Run LaTeX on datatool.ins to generate the package style files:

latex datatool.ins

To create the package documentation (datatool-code.pdf):

pdflatex -jobname datatool-code datatool.dtx
makeindex -s gind.ist datatool-code.idx
makeindex -s gglo.ist -o datatool-code.gls datatool-code.glo
pdflatex -jobname datatool-code datatool.dtx
pdflatex -jobname datatool-code datatool.dtx

If TEXMF denotes the base directory of your local TeX installation (e.g.
/usr/share/texmf-local/ or C:\localtexmf\) then create the following
directories (if they don't already exist):

TEXMF/doc/latex/datatool
TEXMF/doc/latex/datatool/samples
TEXMF/tex/latex/datatool

Move the sample files (*.tex) to TEXMF/doc/latex/datatool/sample/

Move the documentation (*.pdf) to TEXMF/doc/latex/datatool/

Move style files (*.sty) to TEXMF/tex/latex/datatool/

*Remember to refresh TeX's database*