Difference between revisions of "Cont-sys.tex"

From Wiki
Jump to navigation Jump to search
(small hint to texmf.cnf)
m (Text replacement - "<cmd>" to "{{cmd|")
 
(11 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
< [[Installation hints]]
 
< [[Installation hints]]
  
This file lives in <tt>(mytexmf/)tex/user/</tt>, you must copy it first time from <tt>cont-sys.rme</tt>.
+
This file lives in <tt>(mytexmf/)tex/context/user/</tt>, you must copy it first time from [http://source.contextgarden.net/tex/context/user/cont-sys.rme cont-sys.rme].
  
 
Here you can set up all your options that you want to be valid for ''all'' projects.
 
Here you can set up all your options that you want to be valid for ''all'' projects.
  
There are some settings on fonts, [[Metapost]]/[[MetaFun]]; most options are documented in the file itself.
+
There are some settings on Fonts, [[MetaPost]]/[[MetaFun - MetaPost in ConTeXt|MetaFun]]; most options are documented in the file itself.
 +
 
 +
<texcode>
 +
% set default encoding
 +
\setupencoding [\s!default=ec]
 +
 
 +
% set default TeX processor (driver)
 +
\setupoutput[pdftex]
  
<pre>
 
 
% load font maps for pdfTeX automatically
 
% load font maps for pdfTeX automatically
 
% (makes sense if you use a lot of different fonts)
 
% (makes sense if you use a lot of different fonts)
 
\autoloadmapfilestrue
 
\autoloadmapfilestrue
\usetypescript [map] [default,\defaultencoding]
+
\resetmapfiles
 +
%\usetypescript [map] [default,\defaultencoding]
  
 
% runtime processing of MetaPost
 
% runtime processing of MetaPost
 
%  
 
%  
% for the next two, you need write18 enabled in texmf.cnf
+
% for the next two, you need write18 enabled
 
%
 
%
 
\runMPgraphicstrue
 
\runMPgraphicstrue
 
\runMPTEXgraphicstrue
 
\runMPTEXgraphicstrue
  
\recycleMPslotstrue
 
 
% use MetaFun
 
% use MetaFun
 
\useMETAFUNformattrue
 
\useMETAFUNformattrue
 
\protectbufferstrue
 
\protectbufferstrue
</pre>
+
</texcode>
 +
 
 +
For me, typescripts only work if I uncomment {{cmd|autoloadmapfilestrue}} and {{cmd|resetmapfiles}} --[[User:Hraban|Hraban]] 2004-08-24
 +
 
 +
[[Category:Old_Content]]

Latest revision as of 13:20, 9 August 2020

< Installation hints

This file lives in (mytexmf/)tex/context/user/, you must copy it first time from cont-sys.rme.

Here you can set up all your options that you want to be valid for all projects.

There are some settings on Fonts, MetaPost/MetaFun; most options are documented in the file itself.

% set default encoding
\setupencoding [\s!default=ec]

% set default TeX processor (driver)
\setupoutput[pdftex]

% load font maps for pdfTeX automatically
% (makes sense if you use a lot of different fonts)
\autoloadmapfilestrue
\resetmapfiles
%\usetypescript [map] [default,\defaultencoding]

% runtime processing of MetaPost
% 
% for the next two, you need write18 enabled
%
\runMPgraphicstrue
\runMPTEXgraphicstrue

% use MetaFun
\useMETAFUNformattrue
\protectbufferstrue

For me, typescripts only work if I uncomment \autoloadmapfilestrue and \resetmapfiles --Hraban 2004-08-24