summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/context/config/texexec.rme
blob: 43f142f9da4ea200109c632e7001cf354235f576 (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
% == introduction ==
%
% This is 'texexec.ini', the file used by texexec to determine where
% to find files, what TeX to use, what flags to pass, etc. Although
% TeXexec tries to locate things itself, a little help is sometimes
% needed. One can influence texexec by setting some variables. These
% are only needed when the automatic determined settings fail.
%
% == interfacing ==
%
% UsedInterfaces  nl,en  the formats generated with --make
% UserInterface   nl     the default format used
%
% == binaries ==
%
% TeXExecutable      pdfetex  the TeX binary to use
% MpExecutable       mpost    the MetaPost binary to use
% MpToTeXExecutable  mpto     the MetaPost to TeX converter
% DviToMpExecutable  dvitomp  the DVI to MetaPost converter
%
% == Scripts ==
%
% DviSpecialScript   dvispec  the DVI special filter script
%
% == flags ==
%
% TeXFormatFlag  -fmt= the format introducer
% TeXVirginFlag  -ini  the format generation switch
%
% == paths ==
%
% TeXFormatPath   texmf/...               fmt files
% ConTeXtPath     texmf/tex/context/base  sources
% SetupPath       texmf/tex/base/user     cont-sys/usr file
% TeXScriptsPath  texmf/context/perltk    scripts
% TeXFontsPath    texmf                   font files
%
% MpFormatPath    TeXFormatPath           mem files
%
% == the main shell setting ==
%
% As shown below, one can define his/her own sections. We default to
% the teTeX/fpTeX web2c based settings.

set  TeXShell  to  tetex
%set TeXShell  to  fptex
%set TeXShell  to  miktex
%set TeXShell  to  private

% == setting up the variables ==
%
% Here are some general defaults. They can be overruled later.

set  UseEnginePath      to  true

set  UsedInterfaces     to  en nl metafun mptopdf
set  UserInterface      to  en

set  TeXExecutable      to  tex

set  MpExecutable       to  mpost
set  MpToTeXExecutable  to  mpto
set  DviToMpExecutable  to  dvitomp
set  DviSpecialScript   to  dvispec

set  MpFormat           to  metafun

set  TeXFormatFlag      to  &
set  MpFormatFlag       to  &

% For teTeX the next settings will do.

% -default-translate-file=cp8bit -file-line-error-style

for  tetex  set  TeXHashExecutable to  mktexlsr
for  tetex  set  TeXExecutable     to  pdfetex
for  tetex  set  TeXVirginFlag     to  -ini
for  tetex  set  TeXPassString     to  -progname=context
for  tetex  set  TeXBatchFlag      to  -int=batchmode
for  tetex  set  TeXNonStopFlag    to  -int=nonstopmode
for  tetex  set  MpToTeXExecutable to  mpto
for  tetex  set  MpVirginFlag      to  -ini
for  tetex  set  MpPassString      to  -progname=mpost
for  tetex  set  MpBatchFlag       to  -int=batchmode
for  tetex  set  MpNonStopFlag     to  -int=nonstopmode

% These also apply to fpTeX.

% -default-translate-file=cp8bit -file-line-error-style

for  fptex  set  TeXHashExecutable to  mktexlsr
for  fptex  set  TeXExecutable     to  pdfetex
for  fptex  set  TeXVirginFlag     to  -ini
for  fptex  set  TeXPassString     to  -progname=context
for  fptex  set  TeXBatchFlag      to  -int=batchmode
for  fptex  set  TeXNonStopFlag    to  -int=nonstopmode
for  fptex  set  MpToTeXExecutable to  mpto
for  fptex  set  MpVirginFlag      to  -ini
for  fptex  set  MpPassString      to  -progname=mpost
for  fptex  set  MpBatchFlag       to  -int=batchmode
for  fptex  set  MpNonStopFlag     to  -int=nonstopmode

% a downward compatibility test (<7.5.3), next year we will use -8bit

for  tetex  set  TeXVirginFlag     to  -ini -translate-file=natural.tcx
for  fptex  set  TeXVirginFlag     to  -ini -translate-file=natural.tcx
for  tetex  set  MpVirginFlag      to  -ini -translate-file=natural.tcx
for  fptex  set  MpVirginFlag      to  -ini -translate-file=natural.tcx

for  tetex  set  TeXPassString     to  -progname=context -translate-file=natural.tcx
for  fptex  set  TeXPassString     to  -progname=context -translate-file=natural.tcx
for  tetex  set  MpPassString      to  -progname=mpost   -translate-file=natural.tcx
for  fptex  set  MpPassString      to  -progname=mpost   -translate-file=natural.tcx

% MikTeX users probably have to set up some paths too.

for  miktex  set  TeXHashExecutable to  initexmf --update-fndb
for  miktex  set  TeXExecutable     to  pdfetex
for  miktex  set  TeXVirginFlag     to  --initialize
for  miktex  set  TeXPassString     to  --alias=context --translate-file=natural.tcx
for  miktex  set  TeXBatchFlag      to  --interaction=batchmode
for  miktex  set  TeXNonStopFlag    to  --interaction=nonstopmode
for  miktex  set  MpToTeXExecutable to  mpto
for  miktex  set  MpVirginFlag      to  --initialize
for  miktex  set  MpPassString      to  --alias=mpost --translate-file=natural.tcx
for  miktex  set  MpBatchFlag       to  --interaction=batchmode
for  miktex  set  MpNonStopFlag     to  --interaction=nonstopmode

for  miktex  set  TeXFormatFlag     to  --undump=
for  miktex  set  MpFormatFlag      to  --undump=

% These are the settings used on some machines at PRAGMA ADE that
% don't use the texmf tree. They can serve as an example for local
% settings. Local settings should either be added to the previous
% one, or go without the 'for' directives. Consider these
% settings as an example.

for  private  set  UsedInterfaces  to  en nl
for  private  set  UserInterface   to  nl
for  private  set  ConTeXtPath     to  t:/sources/
for  private  set  SetupPath       to  t:/perl/
for  private  set  TeXScriptsPath  to  t:/perl/

% == read this too ==
%
% If this file is called 'texexec.rme', copy it to 'texexec.ini',
% check the settings above, change them according to your TeX
% distribution, and say:
%
%   texexec  --verbose
%
% When set up properly, you should see your local settings fly by.
% When these settings are ok, the next call should work:
%
%   texexec  --make
%
% and you should be able to process a file by saying
%
%   texexec  filename
%
% See 'mtexexec.pdf' for more information on the flags you can use with
% 'texexec'. Also make sure you have the 'texutil' script installed in
% the same path as 'texexec'.

% Experimental
%
% set  TcXPath     to  d:/tex/texmf/web2c
% set  FmtLanguage to  pl
% set  FmtBodyFont to  plr