summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/jmlr/INSTALL
blob: 0d207a9b8a097cfde76b22826430610e73800a62 (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
INSTALLATION

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

If you have downloaded the following files:

jmlr.dtx
jmlr.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 jmlr.tds.zip -d ~/texmf/
texhash ~/texmf/

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

Run LaTeX on jmlr.ins to generate jmlr.cls and jmlrbook.cls:

latex jmlr.ins

To create the documentation (jmlr.pdf):

pdflatex jmlr.dtx
makeindex -s gind.ist jmlr.idx
makeindex -s gglo.ist -o jmlr.gls jmlr.glo
pdflatex jmlr.dtx
pdflatex jmlr.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/jmlr
TEXMF/tex/latex/jmlr

Move the documentation to TEXMF/doc/latex/jmlr/

Move jmlrutils.sty, jmlr.cls and jmlrbook.cls to TEXMF/tex/latex/jmlr/

*Remember to refresh TeX's database*