summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/fmtutil.in
blob: 28161ffa7693f0aff2af1f19a32335a4960e6585 (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
# Originally written by Thomas Esser, 1998. Public domain.
# fmtutil.cnf: configuration file for fmtutil.
# 
# This TeX Live fmtutil.cnf is not kept exactly in sync with the teTeX
# fmtutil.cnf (and not maintained by te), since the two distributions
# need different settings, although they are nearly the same.  The TL
# version has a few extra entries at the end, mainly.

# Customize this file to your needs, e.g.
#   - remove or uncomment formats that you don't need
#   - add your own formats
#   - change default engine / flags for standard formats

# Some notes:
#   1) tex and amstex just load hyphen.tex. No customization.
#   You can have you own customized (via babel's hyphen.cfg)
#   formats on top of plain by using "bplain.tex" instead of
#   plain.tex (see e.g. bplain.ini file for bplain format).
#
#   2) etex loads language.def, not language.dat.
#
#   3) The symbolic link to the right engines (e.g. bplain -> tex)
#      will be generated by the "texlinks" script. So, if you call
#      fmtutil "by hand" and not via texconfig, please also call
#      texlinks afterwards.
# 
#   4) usual comments start with "# ", whereas disabled configurations
#      start with "#! " in this file.

# The format of the table is:

# format	engine		pattern-file	arguments

# The last part of "arguments" must be the name of the file to run
# initex (or another "ini"-engine) on.

# metafont and metapost:
mf		mf-nowin	-		-translate-file=cp227.tcx mf.ini
mpost		mpost		-		-translate-file=cp227.tcx mpost.mp
metafun		mpost		-		-translate-file=cp227.tcx metafun.mp

# Standard formats (plain, latex) with all engines:
#
# Change "tex.ini -> bplain.ini" and "- -> language.dat"
# if you want babel support in tex. Add -translate-file=cp227.tcx before
# tex.ini if you want to make all characters directly "printable" for
# any \write (instead of ^^xy).
tex		tex	-		tex.ini
pdftex		pdftex	-		-translate-file=cp227.tcx *pdftex.ini
latex		pdftex	language.dat	-translate-file=cp227.tcx *latex.ini
etex		pdftex	language.def	-translate-file=cp227.tcx *etex.ini
pdfetex		pdftex	language.def	-translate-file=cp227.tcx *pdfetex.ini
pdflatex	pdftex	language.dat	-translate-file=cp227.tcx *pdflatex.ini
@OMEGA@omega	omega	-		omega.ini
@OMEGA@lambda	omega	language.dat	lambda.ini
@ALEPH@aleph	aleph	-		*aleph.ini
@ALEPH@lamed	aleph	language.dat	*lambda.ini
@XETEX@xetex	xetex	-		-etex xetex.ini
@XETEX@xelatex	xetex	language.dat	-etex xelatex.ini

# The amstex format:

# Change "amstex.ini -> bamstex.ini" and "- -> language.dat"
# if you want babel support in amstex:
amstex	pdftex		-		-translate-file=cp227.tcx *amstex.ini

# Change "pdfamstex.ini -> pdfbamstex.ini" and "- -> language.dat"
# if you want babel support in pdfamstex:
#! pdfamstex	pdftex			-	-translate-file=cp227.tcx *pdfamstex.ini

# Context formats:
#! cont-cz	pdftex		cont-usr.tex	-8bit *cont-cz.ini
#! cont-cz	xetex		cont-usr.tex	-8bit *cont-cz.ini
#! cont-de	pdftex		cont-usr.tex	-8bit *cont-de.ini
#! cont-de	xetex		cont-usr.tex	-8bit *cont-de.ini
cont-en	pdftex		cont-usr.tex	-8bit *cont-en.ini
cont-en	xetex		cont-usr.tex	-8bit *cont-en.ini
#! cont-nl	pdftex		cont-usr.tex	-8bit *cont-nl.ini
#! cont-nl	xetex		cont-usr.tex	-8bit *cont-nl.ini
#! cont-uk	pdftex		cont-usr.tex	-8bit *cont-uk.ini
#! cont-uk	xetex		cont-usr.tex	-8bit *cont-uk.ini

# language-specific things:

# - Cyrillic:
#! cyrtex	pdftex		language.dat	-translate-file=cp227.tcx *cyrtex.ini
#! cyrtexinfo	pdftex		language.dat	-translate-file=cp227.tcx *cyrtxinf.ini
#! cyramstex	pdftex		language.dat	-translate-file=cp227.tcx *cyramstx.ini

# - Polish:
platex		pdftex		language.dat	-translate-file=cp227.tcx *platex.ini
pdfplatex	pdftex		language.dat	-translate-file=cp227.tcx *pdfplatex.ini
mex		pdftex		mexconf.tex	-translate-file=cp227.tcx *mex.ini
pdfmex		pdftex		mexconf.tex	-translate-file=cp227.tcx *pdfmex.ini
utf8mex		pdftex		mexconf.tex	-enc *utf8mex.ini

# - Polish with translated messages (experimental):
#! platex-pl	pdftex		-		nls=pdftex-pl,il2-pl *platex.ini
#! mex-pl	pdftex		mexconf.tex	nls=pdftex-pl,il2-pl *mex.ini
#! pdfmex-pl	pdftex		mexconf.tex	nls=pdftex-pl,il2-pl *pdfmex.ini

# - Czech / Slovak for ISO-8859-2 locale (see below for UTF8). Enable
# "by hand", not by "fmtutil --enablefmt", because definitions for
# ISO-8859-2 / UTF8 share the same name.
csplain      pdftex     -     -etex -translate-file=cp227.tcx csplain.ini
cslatex      pdftex     -     -etex -translate-file=cp227.tcx cslatex.ini
pdfcsplain   pdftex     -     -etex -translate-file=cp227.tcx csplain.ini
pdfcslatex   pdftex     -     -etex -translate-file=cp227.tcx cslatex.ini

# - Czech / Slovak for UTF8 locale (see above for ISO-8859-2). Enable
# "by hand", not by "fmtutil --enablefmt", because definitions for
# ISO-8859-2 / UTF8 share the same name.
#! csplain      pdftex     -     -etex -enc csplain-utf8.ini
#! cslatex      pdftex     -     -etex -enc cslatex-utf8.ini
#! pdfcsplain   pdftex     -     -etex -enc csplain-utf8.ini
#! pdfcslatex   pdftex     -     -etex -enc cslatex-utf8.ini

# formats for mltex extension:
mltex		pdftex	-		-translate-file=cp227.tcx -mltex mltex.ini
mllatex		pdftex	language.dat	-translate-file=cp227.tcx -mltex mllatex.ini

# Other formats:

# The TeX Live version of eplain.ini includes Babel support:
eplain	pdftex		language.dat	-translate-file=cp227.tcx *eplain.ini

# mptopdf utility
mptopdf		pdftex	-		-translate-file=cp227.tcx mptopdf.tex

# --- strange things
texsis		pdftex	-		-translate-file=cp227.tcx texsis.ini
physe		pdftex	-		physe.ini
phyzzx		pdftex	-		physe.ini

# formats with dependencies on earlier formats
xmltex		pdftex	language.dat	&latex xmltex.ini
pdfxmltex	pdftex	language.dat	&pdflatex pdfxmltex.ini
jadetex		pdftex	language.dat	&latex jadetex.ini
pdfjadetex	pdftex	language.dat	&pdflatex pdfjadetex.ini