summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/man/man1/ctxtools.1
blob: c22263d42670cefbd66c2599c79005dc1d4704e5 (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
82
83
84
85
86
87
88
89
.de URL
\\$2 \(laURL: \\$1 \(ra\\$3
..
.if \n[.g] .mso www.tmac
.de EX
.in +3
.nf
.ft CW
..
.de EE
.in -3
.ft R
.fi
..
.TH CTXTOOLS "1" "January 2007" "ctxtools 1.3.3" "ConTeXt"

.SH NAME
ctxtools \- clean up temporary ConTeXt files, install latest ConTeXt

.SH "SYNOPSIS" 
\fBctxtools\fP [ \fIOPTION\fP ...  ]

.SH DESCRIPTION
\fBctxtools\fP is useful for dealing with ConTeXt source and generated
files and for installing new versions of ConTeXt.

.SH "OPTIONS" 
.TP 
.B --help
Print the available options.
.TP 
.B --purgefiles
Get rid of many temporary files generated by ConTeXt.  You can give the 
.B --all
option to remove a larger fraction of those files,
and the 
.B --recurse
option to remove these files also in subdirectories.
.TP 
.B --contextversion
Show the date of the ConTeXt macros and the format file.  Useful after
upgrading ConTeXt (perhaps using \fB--updatecontext\fP) to check
whether the new formats and macros are visible to the TeX path
searches (see 
.BR kpsewhich (1).
.TP 
.B --updatecontext
Download the latest ConTeXt distribution and install it in the
TEXMFLOCAL tree (see 
.BR kpsewhich (1)
for information on
TeX path searching).  TEXMFLOCAL usually points to a system-wide
location.  If you want to install the new ConTeXt in your home
directory (i.e. an install for one user), then set the TEXMFLOCAL 
environment variable while running 
.BR ctxtools .  
For example, using the syntax of the Bourne shell 
.BR sh (1):
.EX
TEXMFLOCAL=$HOME/texmf ctxtools --updatecontext
.EE
.TP
.B --documentation
Generate a \fI.ted\fP file from the source file.  See also the
\fB--module\fP option to 
.BR texexec (1).
.TP
\fB--patternfiles\fP [languagecode]
Generate pattern files.  You can also give the 
\fB--all\fP, \fB--xml\fP, and \fB--utf8\fP options.

.SH "ENVIRONMENT"
.TP
TEXMFLOCAL
Used by \f(CW--updatecontext\fP to decide where to install the distribution.

.SH "SEE ALSO" 
.PP
.BR texexec (1),
.BR texmfstart (1).
.PP
.URL "http://www.contextgarden.net" "ConTeXt wiki" .

.SH BUGS
This manual page is not complete.

.SH "AUTHOR" 
This manual page was written by Sanjoy Mahajan <sanjoy@mit.edu>.  It is in
the public domain.