Difference between revisions of "Cont-sys.tex"

From Wiki
Jump to navigation Jump to search
m
Line 5: Line 5:
 
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>
 
<texcode>

Revision as of 18:50, 8 June 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