Difference between revisions of "Cont-sys.tex"

From Wiki
Jump to navigation Jump to search
(added hint about typescripts)
(added some more hints)
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/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.
Line 8: Line 8:
  
 
<pre>
 
<pre>
 +
% set default encoding
 +
\setupencoding [\s!default=ec]
 +
 +
% set default TeX processor (driver)
 +
\setupoutput[pdftex]
 +
 
% 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)
Line 16: Line 22:
 
% 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
Line 27: Line 32:
 
</pre>
 
</pre>
  
For me, typescripts only work if I uncomment <tt>\autoloadmapfilestrue</tt> and <tt>\resetmapfiles</tt> --[[User:Hraban|Hraban]] 21:41, 23 Aug 2004 (CEST)
+
For me, typescripts only work if I uncomment <cmd>autoloadmapfilestrue</cmd> and <cmd>resetmapfiles</cmd> --[[User:Hraban|Hraban]] 2004-08-24

Revision as of 12:09, 7 January 2005

< Installation hints

This file lives in (mytexmf/)tex/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