summaryrefslogtreecommitdiff
path: root/Master/tlpkg/man/TeXLive-TLPSRC.1
blob: 5c4761fad9f85bb57aee45980efbc5b009ce9cfa (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
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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
.\" Automatically generated by Pod::Man 2.16 (Pod::Simple 3.05)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sh \" Subsection heading
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings.  \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
.    ds -- \(*W-
.    ds PI pi
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
.    ds L" ""
.    ds R" ""
.    ds C` ""
.    ds C' ""
'br\}
.el\{\
.    ds -- \|\(em\|
.    ds PI \(*p
.    ds L" ``
.    ds R" ''
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
.\" entries marked with X<> in POD.  Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.ie \nF \{\
.    de IX
.    tm Index:\\$1\t\\n%\t"\\$2"
..
.    nr % 0
.    rr F
.\}
.el \{\
.    de IX
..
.\}
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear.  Run.  Save yourself.  No user-serviceable parts.
.    \" fudge factors for nroff and troff
.if n \{\
.    ds #H 0
.    ds #V .8m
.    ds #F .3m
.    ds #[ \f1
.    ds #] \fP
.\}
.if t \{\
.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
.    ds #V .6m
.    ds #F 0
.    ds #[ \&
.    ds #] \&
.\}
.    \" simple accents for nroff and troff
.if n \{\
.    ds ' \&
.    ds ` \&
.    ds ^ \&
.    ds , \&
.    ds ~ ~
.    ds /
.\}
.if t \{\
.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
.    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
.\}
.    \" troff and (daisy-wheel) nroff accents
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
.ds ae a\h'-(\w'a'u*4/10)'e
.ds Ae A\h'-(\w'A'u*4/10)'E
.    \" corrections for vroff
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
.    \" for low resolution devices (crt and lpr)
.if \n(.H>23 .if \n(.V>19 \
\{\
.    ds : e
.    ds 8 ss
.    ds o a
.    ds d- d\h'-1'\(ga
.    ds D- D\h'-1'\(hy
.    ds th \o'bp'
.    ds Th \o'LP'
.    ds ae ae
.    ds Ae AE
.\}
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
.IX Title "TeXLive::TLPSRC 3"
.TH TeXLive::TLPSRC 3 "2008-06-09" "perl v5.10.0" "User Contributed Perl Documentation"
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
\&\f(CW\*(C`TeXLive::TLPSRC\*(C'\fR \*(-- TeX Live Package Source access module
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
.Vb 1
\&  use TeXLive::TLPSRC;
\&
\&  my $tlpsrc = TeXLive::TLPSRC\->new(name => "foobar");
\&  $tlpsrc\->from_file("/some/tlpsrc/package.tlpsrc");
\&  $tlpsrc\->from_file("package");
\&  $tlpsrc\->writeout;
\&  $tlpsrc\->writeout(\e*FILEHANDLE);
.Ve
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
The \f(CW\*(C`TeXLive::TLPSRC\*(C'\fR module provide access to TeX Live Package Source
files, which contains all the information which cannot be automatically
derived from the files in the TeX Live subversion repository.
.SH "FILE SPECIFICATION"
.IX Header "FILE SPECIFICATION"
A \f(CW\*(C`tlpsrc\*(C'\fR file has to consist of non-empty lines (except that initial
and final empty lines are ignored) of the form
.PP
\&\fIkey value\fR
.PP
where \fIkey\fR can be \f(CW\*(C`name\*(C'\fR, \f(CW\*(C`category\*(C'\fR, \f(CW\*(C`shortdesc\*(C'\fR, \f(CW\*(C`longdesc\*(C'\fR,
\&\f(CW\*(C`catalogue\*(C'\fR, \f(CW\*(C`runpattern\*(C'\fR, \f(CW\*(C`srcpattern\*(C'\fR, \f(CW\*(C`docpattern\*(C'\fR, \f(CW\*(C`binpattern\*(C'\fR,
\&\f(CW\*(C`execute\*(C'\fR, or \f(CW\*(C`depend\*(C'\fR.
.PP
The interpretation of the respective \fIvalues\fR are:
.ie n .IP """name""" 6
.el .IP "\f(CWname\fR" 6
.IX Item "name"
identifies the package, \f(CW\*(C`value\*(C'\fR must consist only of \f(CW\*(C`[\-_a\-zA\-Z0\-9]\*(C'\fR,
i.e., with what Perl considers a \f(CW\*(C`\ew\*(C'\fR.
.Sp
There are 3 exceptions to this rule:
.RS 6
.IP "\fBname.ARCH\fR" 12
.IX Item "name.ARCH"
where \fB\s-1ARCH\s0\fR is a supported architecture-os combination.
The use of this is two-fold: On the one hand packages are split into 
containers for the different architectures to make installations including
only the necessary binaries possible. On the other hand one can add
\&'one\-arch\-only' packages, often used to deal with the peculiarities of the
Windows family of systems.
.IP "\fB00texliveSOMETHING\fR" 12
.IX Item "00texliveSOMETHING"
these packages are used for internal operation
and storage containers for settings. Besides being the only packages starting
with \fB00texlive\fR they will never be split into separate arch-packages, and
containers are never generated for these packages.
.IP "\fBtexliveSOME.THING\fR" 12
.IX Item "texliveSOME.THING"
(mind the dot in the package name) these packages
are central TeX Live internal packages and are treated as usual packages
in (more or less) all respects, but have that extra dot to be sure they
are different from every package that can possibly appear on \s-1CTAN\s0.
.RE
.RS 6
.RE
.ie n .IP """category""" 6
.el .IP "\f(CWcategory\fR" 6
.IX Item "category"
identifies the category into which this package belongs. Possible categories
are defined in \f(CW\*(C`TeXLive::TLConfig\*(C'\fR, but are currently
\&\f(CW\*(C`Collection\*(C'\fR, \f(CW\*(C`Scheme\*(C'\fR, \f(CW\*(C`TLCore\*(C'\fR, \f(CW\*(C`Documentation\*(C'\fR, \f(CW\*(C`Package\*(C'\fR.
Note that there is no inherent checking whether a \f(CW\*(C`tlpsrc\*(C'\fR file called
\&\f(CW\*(C`collection\-something\*(C'\fR actually belongs to the category \f(CW\*(C`Collection\*(C'\fR.
Most packages will fall into the \f(CW\*(C`Package\*(C'\fR category.
.ie n .IP """catalogue""" 6
.el .IP "\f(CWcatalogue\fR" 6
.IX Item "catalogue"
(currently not used in TeX Live) identifies the name under which this
package can be found in the TeX Catalogue.
.ie n .IP """shortdesc""" 6
.el .IP "\f(CWshortdesc\fR" 6
.IX Item "shortdesc"
gives a one line description of the package. Subsequent entries will
overwrite the former ones. In TeX Live only used for collections and
schemes.
.ie n .IP """longdesc""" 6
.el .IP "\f(CWlongdesc\fR" 6
.IX Item "longdesc"
gives a long description of the package. Susequent entries are added up
to a long text. In TeX Live only used for collections and schemes.
.ie n .IP """depend""" 6
.el .IP "\f(CWdepend\fR" 6
.IX Item "depend"
gives the list of dependencies of the package in the form
.Sp
\&\fICategory\fR/\fIName\fR
.Sp
All the depend lines contribute to the dependencies of the package.
.ie n .IP """execute""" 6
.el .IP "\f(CWexecute\fR" 6
.IX Item "execute"
gives a free form entry of install time jobs to be executed. Currently
the following possible values are understood by the installers:
.RS 6
.ie n .IP """execute addMap""\fR \fIfont\fR\f(CW"".map""" 6
.el .IP "\f(CWexecute addMap\fR \fIfont\fR\f(CW.map\fR" 6
.IX Item "execute addMap font.map"
enables the font map file \fIfont\fR\f(CW\*(C`.map\*(C'\fR in the \f(CW\*(C`updmap.cfg\*(C'\fR file.
.ie n .IP """execute addMixedMap""\fR \fIfont\fR\f(CW"".map""" 6
.el .IP "\f(CWexecute addMixedMap\fR \fIfont\fR\f(CW.map\fR" 6
.IX Item "execute addMixedMap font.map"
enables the font map file \fIfont\fR\f(CW\*(C`.map\*(C'\fR for Mixed mode in the
\&\f(CW\*(C`updmap.cfg\*(C'\fR file.
.ie n .IP """execute BuildLanguageDat NN""" 6
.el .IP "\f(CWexecute BuildLanguageDat NN\fR" 6
.IX Item "execute BuildLanguageDat NN"
activates all the hyphenation patterns found in 
\&\f(CW\*(C`Master/texmf/tex/generic/config/language.NN.dat\*(C'\fR in the generated
\&\f(CW\*(C`language.dat\*(C'\fR file.
.ie n .IP """execute BuildFormat FMTCFG""" 6
.el .IP "\f(CWexecute BuildFormat FMTCFG\fR" 6
.IX Item "execute BuildFormat FMTCFG"
activates all the formats present in \f(CW\*(C`Master/texmf/fmtutil/format.FMTCFG.cnf\*(C'\fR
in the generated \f(CW\*(C`fmtutil.cnf\*(C'\fR file.
.RE
.RS 6
.RE
.ie n .IP """(src|run|doc|bin)pattern""\fR \fIpattern" 6
.el .IP "\f(CW(src|run|doc|bin)pattern\fR \fIpattern\fR" 6
.IX Item "(src|run|doc|bin)pattern pattern"
adds a pattern (see below) to the respective list of patterns.
.SH "PATTERNS"
.IX Header "PATTERNS"
Patterns specify which files are to be included into a \f(CW\*(C`tlpobj\*(C'\fR at
expansion time. Patterns are of the form
.PP
.Vb 1
\&  [PREFIX]TYPE[/ARCH] PAT
.Ve
.PP
where
.PP
.Vb 3
\&  PREFIX = + | +! | !
\&  TYPE = t | f | d | r
\&  ARCH = <some arch specificatin>
.Ve
.PP
Simple patterns without \s-1PREFIX\s0 and \s-1ARCH\s0 specification are explained first,
see below for these extensions.
.ie n .IP """f ""\fR\fIpath" 4
.el .IP "\f(CWf \fR\fIpath\fR" 4
.IX Item "f path"
includes all files which match \f(CW\*(C`path\*(C'\fR where \fBonly\fR the last
component of \f(CW\*(C`path\*(C'\fR can contain the usual glob characters \f(CW\*(C`*\*(C'\fR and
\&\f(CW\*(C`?\*(C'\fR (but no others!).
.ie n .IP """d ""\fR\fIpath" 4
.el .IP "\f(CWd \fR\fIpath\fR" 4
.IX Item "d path"
includes all the files in and below the directory specified as \f(CW\*(C`path\*(C'\fR.
.ie n .IP """t ""\fR\fIword1 ... wordN worldL" 4
.el .IP "\f(CWt \fR\fIword1 ... wordN worldL\fR" 4
.IX Item "t word1 ... wordN worldL"
includes all the files in and below all directories of the form
.Sp
.Vb 1
\&  word1/word2/.../wordN/.../any/dirs/.../wordL/
.Ve
.Sp
i.e., the first words but the last form the prefix of the path, then
there can be an arbitrary number of subdirectories, followed by \f(CW\*(C`wordL\*(C'\fR
as the final directory.  A real life example from \f(CW\*(C`omega.tlpsrc\*(C'\fR:
.Sp
.Vb 1
\&  runpattern t texmf\-dist fonts omega
.Ve
.Sp
matches \f(CW\*(C`texmf\-dist/fonts/**/omega\*(C'\fR, where \f(CW\*(C`**\*(C'\fR matches any number of
intervening subdirectories, e.g.:
.Sp
.Vb 3
\&  texmf\-dist/fonts/ofm/public/omega
\&  texmf\-dist/fonts/tfm/public/omega
\&  texmf\-dist/fonts/type1/public/omega
.Ve
.ie n .IP """r""\fR \fIregexp" 4
.el .IP "\f(CWr\fR \fIregexp\fR" 4
.IX Item "r regexp"
includes all files matching the regexp \f(CW\*(C`/^regexp$/\*(C'\fR
.Sh "Special patterns"
.IX Subsection "Special patterns"
.IP "\s-1PREFIX\s0" 6
.IX Item "PREFIX"
If the \f(CW\*(C`PREFIX\*(C'\fR contains the symbol \f(CW\*(C`!\*(C'\fR the meaning of the pattern is
reversed, i.e., file matching this pattern are removed from the list
of included files.
.Sp
The prefix \f(CW\*(C`+\*(C'\fR deals with the autogeneration of patterns.
.IP "Auto generated patterns" 6
.IX Item "Auto generated patterns"
In the case that one of the pattern sections is empty or \fBall\fR the provided
patterns have the prefix \f(CW\*(C`+\*(C'\fR (e.g., \f(CW\*(C`+f ...\*(C'\fR), then the following patterns
are \fBautomatically\fR added at expansion time (but never written to the
textual representation):
.RS 6
.ie n .IP """runpattern""" 6
.el .IP "\f(CWrunpattern\fR" 6
.IX Item "runpattern"
for runpatterns of category \f(CW\*(C`Package\*(C'\fR
.Sp
.Vb 1
\&  t texmf\-dist topdir $name
.Ve
.Sp
where \f(CW\*(C`topdir\*(C'\fR is one of: \f(CW\*(C`bibtex\*(C'\fR, \f(CW\*(C`context\*(C'\fR, \f(CW\*(C`dvips\*(C'\fR, \f(CW\*(C`fonts\*(C'\fR,
\&\f(CW\*(C`makeindex\*(C'\fR, \f(CW\*(C`metafont\*(C'\fR, \f(CW\*(C`metapost\*(C'\fR, \f(CW\*(C`mft\*(C'\fR, \f(CW\*(C`omega\*(C'\fR, \f(CW\*(C`scripts\*(C'\fR,
\&\f(CW\*(C`tex\*(C'\fR, \f(CW\*(C`vtex\*(C'\fR.
.Sp
For other categories \fBno\fR patterns are automatically added to the 
list of runpatterns.
.ie n .IP """docpattern""" 6
.el .IP "\f(CWdocpattern\fR" 6
.IX Item "docpattern"
for \f(CW\*(C`docpattern\*(C'\fR of category \f(CW\*(C`Package\*(C'\fR
.Sp
.Vb 1
\&  t texmf\-dist doc $name
.Ve
.Sp
for \f(CW\*(C`docpattern\*(C'\fR of category \f(CW\*(C`Documentation\*(C'\fR
.Sp
.Vb 1
\&  t texmf\-doc doc $name
.Ve
.ie n .IP """srcpattern""" 6
.el .IP "\f(CWsrcpattern\fR" 6
.IX Item "srcpattern"
for \f(CW\*(C`srcpattern\*(C'\fR of category \f(CW\*(C`Package\*(C'\fR
.Sp
.Vb 1
\&  t texmf\-dist source $name
.Ve
.Sp
for \f(CW\*(C`srcpattern\*(C'\fR of category \f(CW\*(C`Documentation\*(C'\fR
.Sp
.Vb 1
\&  t texmf\-doc source $name
.Ve
.RE
.RS 6
.Sp
binpatterns are never automatically added.
.RE
.IP "special treatment of binpatterns" 6
.IX Item "special treatment of binpatterns"
The binpatterns have to deal with all the different architectures. To
ease the writing of patterns several extensions to the above pattern
language are allowed:
.RS 6
.IP "arch expansion" 6
.IX Item "arch expansion"
In case the string \f(CW${\fR\fI\s-1ARCH\s0\fR} occurs in one \f(CW\*(C`binpattern\*(C'\fR it is
automatically expanded to the respective architecture.
.ie n .IP """bat/exe/dll/texlua"" for win32" 6
.el .IP "\f(CWbat/exe/dll/texlua\fR for win32" 6
.IX Item "bat/exe/dll/texlua for win32"
For \f(CW\*(C`binpattern\*(C'\fRs of the form \f(CW\*(C`f bin/win32/foobar\*(C'\fR (i.e., also for a
binpattern of the form \f(CW\*(C`f bin/${ARCH}/foobar\*(C'\fR) files \f(CW\*(C`foobar.bat\*(C'\fR,
\&\f(CW\*(C`foobar.dll\*(C'\fR, \f(CW\*(C`foobar.exe\*(C'\fR, and \f(CW\*(C`foobar.texlua\*(C'\fR are also matched.
.Sp
The above two properties allows to capture the binaries for all
architectures in one binpattern
.Sp
.Vb 1
\&  binpattern f bin/${ARCH}/dvips
.Ve
.Sp
and would get \f(CW\*(C`bin/win32/dvips.exe\*(C'\fR into the runfiles for \f(CW\*(C`arch=win32\*(C'\fR.
.Sp
Note that the \f(CW\*(C`bat\*(C'\fR/\f(CW\*(C`exe\*(C'\fR expansion \fBonly\fR works for patterns of
the \f(CW\*(C`f\*(C'\fR type!
.IP "\s-1ARCH\s0 specification of a pattern" 6
.IX Item "ARCH specification of a pattern"
Sometimes some files should be included into the list of binfiles of
a package only for one architecture. This can be done by specifying 
the architecture after the pattern specifier using a \f(CW\*(C`/\*(C'\fR:
.Sp
.Vb 1
\&  binpattern f/win32 tlpkg/bin/perl.exe
.Ve
.Sp
will include the file \f(CW\*(C`tlpkg/bin/perl.exe\*(C'\fR only in the binfiles for
the architecture win32.
.RE
.RS 6
.RE
.SH "MEMBER ACCESS FUNCTIONS"
.IX Header "MEMBER ACCESS FUNCTIONS"
For any of the above \fIkeys\fR a function
.PP
.Vb 1
\&  $tlpsrc\->key
.Ve
.PP
is available, which returns the current value when called without an argument,
and sets the respective value when called with an argument.
.PP
Arguments and return values for \f(CW\*(C`name\*(C'\fR, \f(CW\*(C`category\*(C'\fR, \f(CW\*(C`shortdesc\*(C'\fR,
\&\f(CW\*(C`longdesc\*(C'\fR, \f(CW\*(C`catalogue\*(C'\fR are single scalars. Arguments and return values
for \f(CW\*(C`depends\*(C'\fR, \f(CW\*(C`executes\*(C'\fR, and the various \f(CW\*(C`patterns\*(C'\fR are lists.
.PP
In addition, the \f(CW\*(C`_srcfile\*(C'\fR member refers to the filename for this
\&\f(CW\*(C`TLPSRC\*(C'\fR object, if set (normally by \f(CW\*(C`from_file\*(C'\fR).
.SH "OTHER FUNCTIONS"
.IX Header "OTHER FUNCTIONS"
The following functions can be called for an \f(CW\*(C`TLPSRC\*(C'\fR object:
.ie n .IP """new""" 4
.el .IP "\f(CWnew\fR" 4
.IX Item "new"
The constructor \f(CW\*(C`new\*(C'\fR returns a new \f(CW\*(C`TLPSRC\*(C'\fR object. The arguments
to the \f(CW\*(C`new\*(C'\fR constructor can be in the usual hash representation for
the different keys above:
.Sp
.Vb 1
\&  $tlpsrc=TLPSRC\->new(name => "foobar", shortdesc => "The foobar package");
.Ve
.ie n .IP """from_file(""filename"")""" 4
.el .IP "\f(CWfrom_file(``filename'')\fR" 4
.IX Item "from_file(""filename"")"
reads a \f(CW\*(C`tlpsrc\*(C'\fR file from disk.  \f(CW\*(C`filename\*(C'\fR can either be a full path
(if it's readable, it's used), or just a package identifier such as
\&\f(CW\*(C`plain\*(C'\fR.  In the latter case, the directory searched is the \f(CW\*(C`tlpsrc\*(C'\fR
sibling of the \f(CW\*(C`TeXLive\*(C'\fR package directory where \f(CW\*(C`TLPSRC.pm\*(C'\fR was found.
.Sp
.Vb 3
\&  $tlpsrc=new TeXLive::TLPSRC;
\&  $tlpsrc\->from_file("/path/to/the/tlpsrc/somepkg.tlpsrc");
\&  $tlpsrc\->from_file("somepkg");
.Ve
.ie n .IP """writeout""" 4
.el .IP "\f(CWwriteout\fR" 4
.IX Item "writeout"
writes the textual representation of a \f(CW\*(C`TLPSRC\*(C'\fR object to stdout, or the
filehandle if given:
.Sp
.Vb 2
\&  $tlpsrc\->writeout;
\&  $tlpsrc\->writeout(\e*FILEHANDLE);
.Ve
.ie n .IP """make_tlpobj($tltree)""" 4
.el .IP "\f(CWmake_tlpobj($tltree)\fR" 4
.IX Item "make_tlpobj($tltree)"
creates a \f(CW\*(C`TLPOBJ\*(C'\fR object from a \f(CW\*(C`TLPSRC\*(C'\fR object and a \f(CW\*(C`TLTREE\*(C'\fR object.
This function does the necessary work to expand the manual data and
enrich it which the actual content from \f(CW$tltree\fR to a \f(CW\*(C`TLPOBJ\*(C'\fR object.
.SH "SEE ALSO"
.IX Header "SEE ALSO"
The modules TeXLive::TLConfig, TeXLive::TLUtils, TeXLive::TLPOBJ, 
TeXLive::TLPDB, TeXLive::TLTREE.
.SH "AUTHORS AND COPYRIGHT"
.IX Header "AUTHORS AND COPYRIGHT"
This script and its documentation were written for the TeX Live
distribution (<http://tug.org/texlive>) and both are licensed under the
\&\s-1GNU\s0 General Public License Version 2 or later.