File: texconfig.1

package info (click to toggle)
texlive-base 2014.20141024-2%2Bdeb8u1
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 521,236 kB
  • ctags: 18,696
  • sloc: perl: 41,573; sh: 7,129; makefile: 4,077; ruby: 2,686; xml: 2,387; ansic: 2,277; python: 1,231; lisp: 814; cpp: 695; tcl: 685; awk: 603; php: 65; java: 32; sed: 8
file content (241 lines) | stat: -rw-r--r-- 5,495 bytes parent folder | download | duplicates (2)
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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
.TH texconfig 1 "August 2011" "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.
.PP
The
.I tlmgr
program has subsumed this function for TeX Live.  This program
is still supported, but the tlmgr interface is much more actively
developed and tested.
.PP
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
.IR TEXMFSYSCONFIG .
(You may need to be root to do this.)
.PP
Note that on a Debian system, changes to formats, font setup,
hyphenation for different languages, etc. should not be done with
texconfig, because
.B fmtutil.cnf(5), updmap.cfg(5), texmf.cnf
and
.B language.dat
are generated files in Debian.  See
.I TeX-on-Debian.pdf, TeX-on-Debian.txt.gz
or
.I TeX-on-Debian.html/index.html
in
.I /usr/share/doc/tex-common/
for alternatives.
.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 rw
These options should not be used on a Debian system unless you really
know what you are doing.  For details, look at the output of
.B texconfig fonts
and read section 2.5, font caching, in the TeX-on-Debian documentation
in
.I /usr/share/doc/tex-common/.
.TP
.B formats
This command allows to edit
.B fmtutil.cnf(5)
and (re)creates any new or changed formats afterwards.  It should not
be used on Debian systems, unless you want to temporarily create and
test a specific format, because
.B fmtutil.cnf(5)
is a generated file in Debian, and changes will be overwritten.  See
.B update-fmtutil
for details.
.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 tlmgr (1),
.IR tex (1),
.IR mf (1),
.IR vi (1),
.IR EDITOR
environment variable.
.SH AUTHOR
Thomas Esser