summaryrefslogtreecommitdiff
path: root/japanese/dvipsk/files/patch-texk::kpathsea::texmf.in
blob: 99f56063dc63b3d8ef660a69f4f3e6c72b0d6f88 (plain) (blame)
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
--- kpathsea/texmf.in.orig	Sat Feb 22 05:55:05 2003
+++ kpathsea/texmf.in	Sun Feb  6 06:33:06 2005
@@ -54,30 +54,57 @@
 % find where to look dynamically.  See the manual and the definition
 % below of TEXMFCNF.
 
-% The main tree, which must be mentioned in $TEXMF, below:
+% The tree containing the runtime files closely related to the specific
+% program version used:
 TEXMFMAIN = @texmf@
 
-% A place for local additions to a "standard" texmf tree.  For example:
+% The main distribution tree:
+TEXMFDIST = @texmf@-dist
+
+% A place for local additions to a "standard" texmf tree.
+% This tree is not used for local configuration maintained by
+% texconfig, it uses TEXMFCONFIG below.
 TEXMFLOCAL = @texmf@-local
 
-% If defined, teTeX's texconfig stores modifications here (instead of the
-% TEXMFMAIN tree).
-%   VARTEXMF = @texmf@-var
+% TEXMFSYSVAR, where texconfig-sys stores variable runtime data.
+% With teTeX-3.0 or later, this must be set.
+% For sharing this tree with $TEXMFMAIN:
+%   TEXMFSYSVAR = $TEXMFMAIN
+% For using a separate tree:
+TEXMFSYSVAR = @texmf@-var
+
+% TEXMFSYSCONFIG, where texconfig-sys stores configuration data.
+% With teTeX-3.0 or later, this must be set.
+% For sharing this tree with $TEXMFMAIN:
+%   TEXMFSYSCONFIG = $TEXMFMAIN
+% For using a separate tree:
+TEXMFSYSCONFIG = @texmf@-config
 
 % User texmf trees can be catered for like this...
-HOMETEXMF = $HOME/texmf
+% This used to be HOMETEXMF.
+TEXMFHOME = $HOME/texmf
 
-% Now, list all the texmf trees. If you have multiple trees you can
-% use shell brace notation, like this:
-% TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
-% The braces are necessary.  If you set VARTEXMF, you also have to
-%   - list $VARTEXMF in the TEXMF definition;
-%   - make sure that $VARTEXMF precedes $TEXMFMAIN in the TEXMF definition.
-% TEXMF = $TEXMFMAIN
-TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
+% TEXMFVAR, where texconfig stores variable runtime data.
+% With teTeX-3.0 or later, this must be set.
+% For sharing this tree with $TEXMFMAIN:
+%   TEXMFVAR = $TEXMFMAIN
+% For using a separate tree:
+TEXMFVAR = $HOME/.texmf-var
+
+% TEXMFCONFIG, where texconfig stores configuration data.
+% With teTeX-3.0 or later, this must be set.
+% For sharing this tree with $TEXMFMAIN:
+%   TEXMFCONFIG = $TEXMFMAIN
+% For using a separate tree:
+TEXMFCONFIG = $HOME/.texmf-config
+
+% Now, list all the texmf trees.
+% The braces are necessary. For texconfig to work properly, TEXMFCONFIG
+% and TEXMFVAR should be named explicitly and before all other trees.
+TEXMF = {!!$TEXMFCONFIG,!!$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST}
 
 % The system trees.  These are the trees that are shared by all the users.
-SYSTEXMF = $TEXMF
+SYSTEXMF = $TEXMFLOCAL;$TEXMFMAIN;$TEXMFDIST
 
 % Where generated fonts may be written.  This tree is used when the sources
 % were found in a system tree and either that tree wasn't writable, or the
@@ -92,23 +119,23 @@
 TEXMFDBS = $TEXMF;$VARTEXFONTS
 
 % It may be convenient to define TEXMF like this:
-%   TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN,$HOME}
+%   TEXMF = {$TEXMFHOME,!!$TEXMFLOCAL,!!$TEXMFMAIN,$HOME}
 % which allows users to set up entire texmf trees, and tells TeX to
 % look in places like ~/tex and ~/bibtex.  If you do this, define TEXMFDBS
 % like this:
-%   TEXMFDBS = $HOMETEXMF;$TEXMFLOCAL;$TEXMFMAIN;$VARTEXFONTS
+%   TEXMFDBS = $TEXMFHOME;$TEXMFLOCAL;$TEXMFMAIN;$VARTEXFONTS
 % or mktexlsr will generate an ls-R file for $HOME when called, which is
 % rarely desirable.  If you do this you'll want to define SYSTEXMF like
 % this:
-%   SYSTEXMF = $TEXMFLOCAL;$TEXMFMAIN
+%   SYSTEXMF = $TEXMFLOCAL;$TEXMFMAIN;$TEXMFDIST
 % so that fonts from a user's tree won't escape into the global trees.
 %
 % On some systems, there will be a system tree which contains all the font
 % files that may be created as well as the formats.  For example
-%   VARTEXMF = /var/lib/texmf
+%   TEXMFVAR = /var/lib/texmf
 % is used on many Linux systems.  In this case, set VARTEXFONTS like this
-%   VARTEXFONTS = $VARTEXMF/fonts
-% and do not mention it in TEXMFDBS (but _do_ mention VARTEXMF).
+%   VARTEXFONTS = $TEXMFVAR/fonts
+% and do not mention it in TEXMFDBS (but _do_ mention TEXMFVAR).
 
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -140,58 +167,69 @@
 % latex209, useful for macros that were written for 2.09 and do not
 % mention 2e at all, but can be used with 2e.
 TEXINPUTS.cslatex = .;$TEXMF/tex/{cslatex,csplain,latex,generic,}//
-TEXINPUTS.platex  = .;$TEXMF/tex/{platex,latex,generic,}//
+%TEXINPUTS.platex  = .;$TEXMF/tex/{platex,latex,generic,}//
 TEXINPUTS.latex = .;$TEXMF/tex/{latex,generic,}//
+TEXINPUTS.olatex = .;$TEXMF/tex/{latex,generic,}//
 TEXINPUTS.latex209 = .;$TEXMF/tex/{latex209,generic,latex,}//
 
+% TeXfamily
+TEXINPUTS.jtex = .:$TEXMF/{jtex,tex}/{plain,generic,}//
+TEXINPUTS.jlatex = .:$TEXMF/{jtex,tex}/{latex,generic,}//
+TEXINPUTS.jlatex209 = .:$TEXMF/{jtex,tex}/{latex209,generic,latex,}//
+TEXINPUTS.multex = .:$TEXMF/{multex,jtex,tex}/{plain,generic,}//
+TEXINPUTS.mullatex = .:$TEXMF/{multex,jtex,tex}/{latex,generic,}//
+
 % Fontinst needs to read afm files.
-TEXINPUTS.fontinst = .;$TEXMF/tex//;$TEXMF/fonts/afm//
+TEXINPUTS.fontinst = .;$TEXMF/{tex,fonts/afm}//
 
 % MLTeX.
-TEXINPUTS.frlatex = .;$TEXMF/{mltex,tex}/{french,latex,generic,}//
-TEXINPUTS.frtex   = .;$TEXMF/{mltex,tex}/{french,plain,generic,}//
-TEXINPUTS.mllatex = .;$TEXMF/{mltex,tex}/{latex,generic,}//
-TEXINPUTS.mltex = .;$TEXMF/{mltex,tex}/{plain,generic,}//
+TEXINPUTS.frlatex = .;$TEXMF/tex/{french,latex,generic,}//
+TEXINPUTS.frtex   = .;$TEXMF/tex/{french,plain,generic,}//
+TEXINPUTS.mllatex = .;$TEXMF/tex/{latex,generic,}//
+TEXINPUTS.mltex = .;$TEXMF/tex/{plain,generic,}//
 
 % e-TeX.  This form of the input paths is borrowed from teTeX.  A certain
 % variant of TDS is assumed here, unaffected by the build variables.
-TEXINPUTS.elatex   = .;$TEXMF/{etex,tex}/{latex,generic,}//
-TEXINPUTS.etex     = .;$TEXMF/{etex,tex}/{plain,generic,}//
+TEXINPUTS.elatex   = .;$TEXMF/tex/{latex,generic,}//
+TEXINPUTS.etex     = .;$TEXMF/tex/{plain,generic,}//
 
 % pdfTeX.  This form of the input paths is borrowed from teTeX.  A certain
 % variant of TDS is assumed here, unaffected by the build variables.
-TEXINPUTS.pdfcslatex = .;$TEXMF/{pdftex,tex}/{cslatex,csplain,latex,generic,}//
-TEXINPUTS.pdfcsplain = .;$TEXMF/{pdftex,tex}/{csplain,plain,generic,}//
-TEXINPUTS.pdfjadetex = .;$TEXMF/{pdftex,tex}/{jadetex,plain,generic,}//
-TEXINPUTS.pdflatex = .;$TEXMF/{pdftex,tex}/{latex,generic,}//
-TEXINPUTS.pdfmex   = .;$TEXMF/{pdftex,tex}/{mex,plain,generic,}//
-TEXINPUTS.pdftex   = .;$TEXMF/{pdftex,tex}/{plain,generic,}//
-TEXINPUTS.pdftexinfo = .;$TEXMF/{pdftex,tex}/{texinfo,plain,generic,}//
-TEXINPUTS.pdfamstex = .;$TEXMF/{pdftex,tex}/{amstex,plain,generic,}//
+TEXINPUTS.pdfcslatex = .;$TEXMF/tex/{cslatex,csplain,latex,generic,}//
+TEXINPUTS.pdfcsplain = .;$TEXMF/tex/{csplain,plain,generic,}//
+TEXINPUTS.pdfjadetex = .;$TEXMF/tex/{jadetex,plain,generic,}//
+TEXINPUTS.pdflatex = .;$TEXMF/tex/{latex,generic,}//
+TEXINPUTS.pdfmex   = .;$TEXMF/tex/{mex,plain,generic,}//
+TEXINPUTS.utf8mex   = .;$TEXMF/tex/{mex,plain,generic,}//
+TEXINPUTS.pdftex   = .;$TEXMF/tex/{plain,generic,}//
+TEXINPUTS.pdftexinfo = .;$TEXMF/tex/{texinfo,plain,generic,}//
+TEXINPUTS.pdfamstex = .;$TEXMF/tex/{amstex,plain,generic,}//
 
 % pdfeTeX.
-TEXINPUTS.pdfelatex = .;$TEXMF/{pdfetex,pdftex,etex,tex}/{latex,generic,}//
-TEXINPUTS.pdfetex   = .;$TEXMF/{pdfetex,pdftex,etex,tex}/{plain,generic,}//
+TEXINPUTS.pdfelatex = .;$TEXMF/tex/{latex,generic,}//
+TEXINPUTS.pdfetex   = .;$TEXMF/tex/{plain,generic,}//
 
-% Omega.
-TEXINPUTS.lambda = .;$TEXMF/{omega,tex}/{lambda,latex,generic,}//
-TEXINPUTS.omega = .;$TEXMF/{omega,tex}/{plain,generic,}//
+% Omega / Aleph
+TEXINPUTS.lamed = .;$TEXMF/tex/{lamed,lambda,latex,generic,}//
+TEXINPUTS.lambda = .;$TEXMF/tex/{lambda,latex,generic,}//
+TEXINPUTS.omega = .;$TEXMF/tex/{plain,generic,}//
+TEXINPUTS.aleph = .;$TEXMF/tex/{plain,generic,}//
 
 % Context macros by Hans Hagen:
-TEXINPUTS.context = .;$TEXMF/{pdftex,etex,tex}/{context,plain,generic,}//
+TEXINPUTS.context = .;$TEXMF/tex/{context,plain,generic,}//
 
 % odd formats  needing their own paths
 TEXINPUTS.lamstex  = .;$TEXMF/tex/{lamstex,plain,generic,}//
 TEXINPUTS.lollipop = .;$TEXMF/tex/{lollipop,plain,generic,}//
-TEXINPUTS.mex-pl = .;$TEXMF/tex/{mex,plain,generic,}//
 TEXINPUTS.platex-pl  = .;$TEXMF/tex/{platex,latex,generic,}//
-TEXINPUTS.pdfplatex = .;$TEXMF/{pdftex,tex}/{platex,latex,generic,}//
-TEXINPUTS.pdfmex-pl = .;$TEXMF/{pdftex,tex}/{mex,plain,generic,}//
-TEXINPUTS.pdfemex   = .;$TEXMF/{pdfetex,pdftex,etex,tex}/{mex,plain,generic,}//
-TEXINPUTS.pdfemex-pl = .;$TEXMF/{pdfetex,pdftex,etex,tex}/{mex,plain,generic,}//
+TEXINPUTS.pdfplatex = .;$TEXMF/tex/{platex,latex,generic,}//
+
+% XeTeX
+TEXINPUTS.xelatex = .;$TEXMF/tex/{latex,generic,}//
+TEXINPUTS.xetex   = .;$TEXMF/tex/{plain,generic,}//
 
 % Earlier entries override later ones, so put this last.
-TEXINPUTS = .;$TEXMF/tex/{generic,}//
+TEXINPUTS = .;$TEXMF/tex/{$progname,generic,}//
 
 % Metafont, MetaPost inputs.
 MFINPUTS = .;$TEXMF/metafont//;{$TEXMF/fonts,$VARTEXFONTS}/source//
@@ -201,12 +239,12 @@
 % and string pools (.pool) for ini{tex,mf,mp}.  It is silly that we have six
 % paths and directories here (they all resolve to a single place by default),
 % but historically ...
-TEXFORMATS = .;$TEXMF/web2c
-MFBASES = .;$TEXMF/web2c
-MPMEMS = .;$TEXMF/web2c
-TEXPOOL = .;$TEXMF/web2c
-MFPOOL = .;$TEXMF/web2c
-MPPOOL = .;$TEXMF/web2c
+TEXFORMATS = .;$TEXMF/web2c{/ptex,}
+MFBASES = .;$TEXMF/web2c{/ptex,}
+MPMEMS = .;$TEXMF/web2c{/ptex,}
+TEXPOOL = .;$TEXMF/web2c{/ptex,}
+MFPOOL = .;$TEXMF/web2c{/ptex,}
+MPPOOL = .;$TEXMF/web2c{/ptex,}
 
 % Device-independent font metric files.
 VFFONTS = .;$TEXMF/fonts/vf//
@@ -228,26 +266,26 @@
 % A place to puth everything that doesn't fit the other font categories.
 MISCFONTS = .;$TEXMF/fonts/misc//
 
-% For texfonts.map and included map files used by mktexpk.
-% See ftp://ftp.tug.org/tex/fontname.tar.gz.
-TEXFONTMAPS = .;$TEXMF/fontname
+% font name map files.
+TEXFONTMAPS = .;$TEXMF/fonts/map//
 
 % support non"k"-xdvi:
 PKFONTS.XDvi    = .:$TEXMF/%s:$VARTEXFONTS/pk/{%m,modeless}//
-VFFONTS.XDvi    = .:$TEXMF/%s
+VFFONTS.XDvi    = .:$TEXMF/%s 
 PSHEADERS.XDvi  = .:$TEXMF/%q{dvips,fonts/type1}//
 TEXPICTS.XDvi   = .:$TEXMF/%q{dvips,tex}//
 
 % BibTeX bibliographies and style files.
-BIBINPUTS = .;$TEXMF/bibtex/{bib,}//
-BSTINPUTS = .;$TEXMF/bibtex/{bst,}//
+BIBINPUTS = .;$TEXMF/bibtex/bib//
+BSTINPUTS = .;$TEXMF/bibtex/bst//
 
 % MFT style files.
 MFTINPUTS = .;$TEXMF/mft//
 
-% PostScript headers, prologues (.pro), encodings (.enc) and fonts.
-TEXPSHEADERS = .;$TEXMF/{dvips,pdftex,tex,fonts/type1}//
-TEXPSHEADERS.gsftopk = .;$TEXMF/{dvips,pdftex,tex,fonts/{type1,truetype}}//
+% PostScript headers and prologues (.pro); unfortunately, some programs
+% also use this for acessing font files (enc, type1, truetype)
+TEXPSHEADERS = .;$TEXMF/{dvips{/ptex,},fonts/{enc,type1,type3}}//
+TEXPSHEADERS.gsftopk = .;$TEXMF/{dvips{/ptex,},fonts/{enc,type1,type3,truetype}}//
 
 % PostScript Type 1 outline fonts.
 T1FONTS = .;$TEXMF/fonts/type1//
@@ -261,14 +299,34 @@
 % Type 42 outline fonts.
 T42FONTS = .;$TEXMF/fonts/type42//
 
+% Ligature definition files.
+LIGFONTS =  .;$TEXMF/fonts/lig//
+
 % Dvips' config.* files (this name should not start with `TEX'!).
-TEXCONFIG = $TEXMF/dvips//
+TEXCONFIG = $TEXMF/dvips{/ptex,}//
 
 % Makeindex style (.ist) files.
-INDEXSTYLE = .;$TEXMF/makeindex//
+INDEXSTYLE = .;$TEXMF/makeindex{/ptex,}//
+
+% Font encoding files (.enc).
+ENCFONTS = .;$TEXMF/fonts/enc//
+
+% CMap files.
+CMAPFONTS = .;$TEXMF/fonts/cmap//
+
+% Subfont definition files.
+SFDFONTS = .;$TEXMF/fonts/sfd//
+
+% Opentype outline fonts.
+OPENTYPEFONTS = .;$TEXMF/fonts/opentype//
+
+% pdftex config files:
+PDFTEXCONFIG = .;$TEXMF/pdftex/{$progname,}//
 
 % Used by DMP (ditroff-to-mpx), called by makempx -troff.
-TRFONTS = /usr/lib/font/devpost
+% The path given is correct for GROFF on Linux installed under /usr.
+% Originally: TRFONTS = /usr/lib/font/devpost
+TRFONTS = /usr/share/groff/current/font/devps
 MPSUPPORT = .;$TEXMF/metapost/support
 
 % For xdvi to find mime.types and .mailcap, if they do not exist in
@@ -301,9 +359,12 @@
 % search formats, you'll want to add their variables here as well.
 T4HTINPUTS   = .;$TEXMF/tex4ht//
 
-% xdvik and dvipdfm can share some files with dvips
-XDVIINPUTS = .;$TEXMF/{xdvi,dvips}//
-DVIPDFMINPUTS = .;$TEXMF/{dvipdfm,dvips}//
+% xdvik and dvipdfm can share some files with dvips (for old ones)
+XDVIINPUTS = .;$TEXMF/{xdvi,dvips}{/ptex,}//
+DVIPDFMINPUTS = .;$TEXMF/{dvipdfm,dvips}{/ptex,}//
+
+% Architecture independent executables
+TEXMFSCRIPTS = $TEXMF/scripts//
 
 %% The mktex* scripts rely on KPSE_DOT. Do not set it in the environment.
 % KPSE_DOT = .
@@ -318,12 +379,18 @@
 %
 % For security reasons, it is better not to have . part of the path.
 % 
-TEXMFCNF = {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,}/web2c};$TETEXDIR;$TEXMF/web2c;@web2c@
+TEXMFCNF = {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,,-dist}/web2c{/ptex,}};$TETEXDIR;$TEXMF/web2c;@web2c@
 
+# $progname: kpathsea v. 3.5.3 or later overwrites this at runtime. To
+# avoid empty expansions from binaries linked against an earlier
+# version of the library, we set $progname and $engine to something
+# non-empty:
+progname = unset
+engine = unset
 
 
 %  Part 2: Non-path options.
- 
+
 % Write .log/.dvi/etc. files here, if the current directory is unwritable.
 % TEXMFOUTPUT = /tmp
 
@@ -354,6 +421,9 @@
 % the %&format construct.
 parse_first_line = f
 
+% Enable file:line:error style messages.
+file_line_error_style = f
+
 % Enable the mktex... scripts by default?  These must be set to 0 or 1.
 % Particular programs can and do override these settings, for example
 % dvips's -M option.  Your first chance to specify whether the scripts
@@ -412,7 +482,7 @@
 font_mem_size = 500000
 
 % Total number of fonts. Must be >= 50 and <= 2000 (without tex.ch changes).
-font_max = 1000
+font_max = 2000
 
 % Extra space for the hash table of control sequences (which allows 10K
 % names as distributed).
@@ -483,3 +553,8 @@
 error_line = 79
 half_error_line = 50
 max_print_line = 79
+
+% default file code of JTeX and MuLTeX
+% These override the code specified by TeX command in dumping (making format).
+jtex_filetype = euc
+%ml_input_code = junet