Difference between revisions of "Cont-sys.tex"
Jump to navigation
Jump to search
(added hint about typescripts) |
m (Text replacement - "<cmd>" to "{{cmd|") |
||
(10 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 | + | 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 | + | 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] | ||
− | |||
% 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 | + | % for the next two, you need write18 enabled |
% | % | ||
\runMPgraphicstrue | \runMPgraphicstrue | ||
\runMPTEXgraphicstrue | \runMPTEXgraphicstrue | ||
− | |||
% use MetaFun | % use MetaFun | ||
\useMETAFUNformattrue | \useMETAFUNformattrue | ||
\protectbufferstrue | \protectbufferstrue | ||
− | </ | + | </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
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