summaryrefslogtreecommitdiff
path: root/Build/source/texk/tetex/texconfig.man
blob: 282688be6956d96e3aa44c8882cf030906fa6ca7 (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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
.TH texconfig 1 "May 2009" "TeX Live" "TeX Live"
.SH NAME
texconfig \- configures teTeX or TeX Live
.LP
texconfig-sys \- configures teTeX or TeX Live system\-wide
.SH SYNOPSIS
.B texconfig
.LP
.B texconfig
[\fB commands\fR ...]
.LP
.B texconfig-sys
.SH DESCRIPTION
.I texconfig
allows one to configure and maintain TeX
in an easy and convenient manner, offering a series of dialog boxes to
the user. After choosing settings or options, the appropriate files
are changed automatically and the new settings are applied for the
user.  If needed, copies of files in
.I TEXMFDIST
or
.I TEXMFMAIN
will be made in the user's
.I TEXMFCONFIG
tree.
.PP
.I texconfig
uses either the
.IR whiptail (1)
or
.IR dialog (1)
program to communicate with the user, so must be run in a terminal.
.PP
For making system-wide changes, which will apply to all users of TeX
(for example, default paper size and so on), run
.I texconfig-sys
instead.  Changed or generated files will be placed in
.I TEXMFSYSCONFIG.
(You may need to be root to do this.)
.PP
.I texconfig
also offers a non-interactive batch mode which can be accessed with
the following commands
.SH COMMANDS
Commands that accept further options usually display available options
if called without them.  For example,
.B texconfig dvipdfm paper
will inform about valid paper settings.
.PP
.B
.IP conf
Display the system configuration.  
.PP
.TP
.B dvipdfm paper [letter|legal|ledger|tabloid|a4|a3]
Set up dvipdfm to use papersize PAPER by default.
.TP
.B dvips add PRINTERNAME
Create a new (empty) configuration file
.I TEXMFCONFIG/dvips/config/config.PRINTERNAME.
This file can later be filled with the
.B mode, offset
or
.B printcmd
options
.TP
.B dvips del PRINTERNAME
Remove
.I config.PRINTERNAME
.TP
.B dvips mode
List available MetaFont modes.
.TP
.B dvips [-P PRINTER] mode MODE
Change the MetaFont mode to
.I MODE
for
.I PRINTER
or for all output files
.I (config.ps),
if no
.B -P
option is given.
.TP
.B dvips [-P PRINTER] offset x-OFFSET,y-OFFSET
Set printer offset for
.I PRINTER
or for all output files
.I (config.ps),
if no
.B -P
option is given.  Offsets must be given with units, e.g.
.I 0pt,10pt
You can use testpage.tex from the LaTeX distribution to find these
numbers.
.TP
.B dvips [-P PRINTER] printcmd CMD
Set the printing command for
.I PRINTER
or for all output files
.I (config.ps),
if no
.B -P
option is given.  Commands might be
.B lp
or
.B lpr.
See the description of the
.I o
option in
.B info dvips
or the
.I -O
option in
.B dvips(1).
.TP
.B faq
Display the list of Frequently Asked Questions about
.B teTeX
(and their answers).
.TP
.B font vardir DIR, font ro, font ro
.TP
.B formats
This command allows to edit
.B fmtutil.cnf(5)
and (re)creates any new or changed formats afterwards.  
.TP
.B hyphen FORMAT
This command allows to edit the hyphenation configuration file for
formats that support this, and recreates the formats afterwards to
enable the new languages.  Available formats are shown when no
.I FORMAT
is given.
.IP
Note that for formats that use LaTeX's
.I language.dat,
 e.g.
.I (pdf)jadetex
and
.I latex
itself, this change is not persistent, since this file is a generated
file.  You should not use this command in these cases, read
.B update-language(1)
for alternatives.
.TP
.B init [format]
Recreate
.I format
or all formats if none is given, and the font information.  This is
the same as calling
.B fmtutil --byfmt format
or
.B fmtutil --all,
respectively, followed by
.B updmap.
.TP
.B mode-list
List available printer modes, together with the printers they were
developed for, and their DPI resolution
.TP
.B mode MODE
Set the default printer mode in
.I /etc/texmf/web2c/mktex.cnf
or the respective user file in
.I $TEXMFCONFIG/web2c
to
.B MODE.
.TP
.B paper [a4|letter]
Set the default papersize for
.B dvips, dvipdfm, pdftex
and
.B xdvi.
The set is restricted because not all programs understand all sizes.
.TP
.B pdftex paper [a4|letter]
Set the default paper size for
.B pdftex.
.TP
.B rehash
Call
.B mktexlsr.
.TP
.B xdvi paper PAPER
Set the default paper size for
.B xdvi.
The (long) list is available with
.B texconfig xdvi paper.

.SH ENVIRONMENT
To let you change files,
.B texconfig
will open the editor specified in the VISUAL or EDITOR variables, or
.B sensible-editor
if both are unset.
.SH "SEE ALSO"
.IR whiptail (1),
.IR dialog (1),
.IR tex (1),
.IR mf (1),
.IR vi (1),
.IR EDITOR
environment variable.
.SH AUTHOR
Thomas Esser <te@dbs.uni-hannover.de>