summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/fmtutil.in
blob: 084a00b857c825330131f8920d128e6e13f6c6e1 (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
# 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		-		-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
latex		pdfetex		language.dat	-translate-file=cp227.tcx *latex.ini
etex		pdfetex		language.def	-translate-file=cp227.tcx *etex.ini
pdftex		pdfetex		-	-translate-file=cp227.tcx *pdftex.ini
pdflatex	pdfetex		language.dat	-translate-file=cp227.tcx *pdflatex.ini
pdfetex		pdfetex		language.def	-translate-file=cp227.tcx *pdfetex.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

# The amstex format:

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

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

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

# language-specific things:

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

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

# - Polish with translated messages (experimental):
#! platex-pl	pdfetex		-		nls=pdfetex-pl,il2-pl *platex.ini
#! mex-pl	pdfetex		mexconf.tex	nls=pdfetex-pl,il2-pl *mex.ini
#! pdfmex-pl	pdfetex		mexconf.tex	nls=pdfetex-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      pdfetex     -     -etex -translate-file=cp227.tcx csplain.ini
cslatex      pdfetex     -     -etex -translate-file=cp227.tcx cslatex.ini
pdfcsplain   pdfetex     -     -etex -translate-file=cp227.tcx csplain.ini
pdfcslatex   pdfetex     -     -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      pdfetex     -     -etex -enc csplain-utf8.ini
#! cslatex      pdfetex     -     -etex -enc cslatex-utf8.ini
#! pdfcsplain   pdfetex     -     -etex -enc csplain-utf8.ini
#! pdfcslatex   pdfetex     -     -etex -enc cslatex-utf8.ini

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

# Other formats:

# Change "eplain.ini -> ebplain.ini" and "- -> language.dat"
# if you want babel support in eplain:
eplain	pdfetex		-		-translate-file=cp227.tcx *eplain.ini

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

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

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