diff options
author | Hans Hagen <pragma@wxs.nl> | 2004-06-20 00:00:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2004-06-20 00:00:00 +0200 |
commit | 0bfaf7db3a4495c91871b17e20cebecdff4a5dde (patch) | |
tree | 6a8fcba94cba07f786eb5506ef665dc51e9ffbbc /tex/context/base/core-sys.tex | |
parent | 51d573f4c0e8d3b8499bff7a3c6fba3dcd71d725 (diff) | |
download | context-0bfaf7db3a4495c91871b17e20cebecdff4a5dde.tar.gz |
stable 2004.06.20
Diffstat (limited to 'tex/context/base/core-sys.tex')
-rw-r--r-- | tex/context/base/core-sys.tex | 95 |
1 files changed, 46 insertions, 49 deletions
diff --git a/tex/context/base/core-sys.tex b/tex/context/base/core-sys.tex index 9fc3f034b..5c1b12638 100644 --- a/tex/context/base/core-sys.tex +++ b/tex/context/base/core-sys.tex @@ -47,19 +47,19 @@ \def\dosetupsystem[#1]% {\getparameters[\??sv][#1]% - \setuprandomize[\@@svrandom]% - \beforesplitstring\@@svresolution\at dpi\to\@@svresolution - \let\outputresolution\@@svresolution + \setuprandomize[\@@svwillekeur]% + \beforesplitstring\@@svresolutie\at dpi\to\@@svresolutie + \let\outputresolution\@@svresolutie \ifcase\@@svn % % 0 : unknown \or - \setsystemmode\v!first % 1 : first run + \setsystemmode\v!eerste % 1 : first run \or % % 2 : successive run \or - \setsystemmode\v!first % 3 : first and only run + \setsystemmode\v!eerste % 3 : first and only run \or - \setsystemmode\v!last % 4 : extra last run + \setsystemmode\v!laatste % 4 : extra last run \fi \splitjobfilename} @@ -69,7 +69,7 @@ %D The system modes set by the setup command can be used in %D situations like: %D -%D \starttyping +%D \starttypen %D \startmode[*first] %D \executesystemcommand{cleanupxml text.xml clean-text.xml} %D \stopmode @@ -77,7 +77,7 @@ %D \starttext %D \typefile{clean-text.xml} %D \stoptext -%D \stoptyping +%D \stoptypen \def\setuprandomize[#1]% {\doifsomething{#1} @@ -86,23 +86,23 @@ % tex's time is in minutes \processaction [#1] - [ \v!small=>\divide\normaltime 15, % 900, - \v!medium=>\divide\normaltime 30, % 1800, - \v!big=>\divide\normaltime 60, % 3600, - \v!normal=>, + [ \v!klein=>\divide\normaltime 15, % 900, + \v!middel=>\divide\normaltime 30, % 1800, + \v!groot=>\divide\normaltime 60, % 3600, + \v!normaal=>, \s!default=>, \s!unknown=>\normaltime=#1]% \nextrandom \egroup}} \setupsystem - [\c!directory=, + [\c!gebied=, \c!n=0, % 0:unknown 1: one run 2: first 3: successive 4: final run - \c!resolution=600dpi, - \c!random=, + \c!resolutie=600dpi, + \c!willekeur=, \c!file=\jobname, \c!inputfile=\outputfilename, - \c!bodyfont=\normalizedlocalbodyfontsize] % of iets anders + \c!korps=\normalizedlocalbodyfontsize] % of iets anders %D @@ -136,27 +136,27 @@ \def\dododefinestartstop[#1][#2]% todo: use indirect commands {\getparameters [\??be#1] - [\c!before=, - \c!after=, - \c!inbetween=, - \c!commands=, - \c!style=, + [\c!voor=, + \c!na=, + \c!tussen=, + \c!commandos=, + \c!letter=, #2]% \unexpanded\setvalue{#1}% {\groupedcommand - {\getvalue{\??be#1\c!commands}% - \dostartattributes{\??be#1}\c!style\c!color} + {\getvalue{\??be#1\c!commandos}% + \dostartattributes{\??be#1}\c!letter\c!kleur} {\dostopattributes - \getvalue{\??be#1\c!inbetween}}}% + \getvalue{\??be#1\c!tussen}}}% \setvalue{\e!start#1}% - {\getvalue{\??be#1\c!before}% + {\getvalue{\??be#1\c!voor}% \bgroup - \getvalue{\??be#1\c!commands}% - \dostartattributes{\??be#1}\c!style\c!color\empty}% + \getvalue{\??be#1\c!commandos}% + \dostartattributes{\??be#1}\c!letter\c!kleur\empty}% \setvalue{\e!stop#1}% {\dostopattributes \egroup - \getvalue{\??be#1\c!after}}} + \getvalue{\??be#1\c!na}}} \def\dodefinestartstop[#1][#2]% {\def\docommando##1{\dododefinestartstop[##1][#2]}% @@ -203,7 +203,7 @@ % % \unexpanded\ziezo -\def\complexdefine[#1]#2#3% +\def\complexdefinieer[#1]#2#3% {\ifx#2\undefined \else \showmessage\m!systems4{\string#2}% @@ -221,12 +221,12 @@ \else\def#2{#3}% \fi} -\definecomplexorsimpleempty\define +\definecomplexorsimpleempty\definieer -\unexpanded\def\macroname#1% brrr - {\executeifdefined{#1}\empty} +\unexpanded\def\naam#1% brrr + {\getvalue{#1}} -\def\usecommands#1% +\def\gebruikcommandos#1% {\bgroup \def\docommando##1{\setbox0\hbox{\getvalue{\string##1}##1}}% \processcommalist[#1]\docommando @@ -251,26 +251,26 @@ %D XML processing, it made sense to support this faster %D alternative. -\def\installexpander#1{\setvalue{\s!do\c!expansion#1}} +\def\installexpander#1{\setvalue{\s!do\c!expansie#1}} \long\def\convertexpanded#1#2#3% hm, first we need to make sure {\csname % that we assign all exp a value - \s!do\c!expansion + \s!do\c!expansie \ifforcefileexpansion - \v!yes - \else\@EA\ifx\csname\s!do\c!expansion\csname#1\c!expansion\endcsname\endcsname\relax + \v!ja + \else\@EA\ifx\csname\s!do\c!expansie\csname#1\c!expansie\endcsname\endcsname\relax \s!default \else - \csname#1\c!expansion\endcsname + \csname#1\c!expansie\endcsname \fi\fi \endcsname#2\to#3} -\installexpander\v!yes {\convertmeaning } -\installexpander\v!yes {\convertmeaning } -\installexpander\v!command{\convertcommand } +\installexpander\v!ja {\convertmeaning } +\installexpander\v!ja {\convertmeaning } +\installexpander\v!commando{\convertcommand } \installexpander\s!default {\convertargument} \installexpander\empty {\convertargument} -\installexpander\v!no {\convertargument} +\installexpander\v!nee {\convertargument} \def\convertmeaning#1\to % watch the double expansion ! {\bgroup @@ -288,15 +288,12 @@ % \setvalue{statevalue\v!geen }{4} % % \def\setcurrentstate#1% -% {\chardef\currentstate=0\getvalue{statevalue\getvalue{#1\c!state}\relax} +% {\chardef\currentstate=0\getvalue{statevalue\getvalue{#1\c!status}\relax} % % \ifcase\currentstate ... -\def\redo{\dorepeat} % [n*10], kind of obsolete - -% obsolete, use \dorecurse instead -% -% \def\herhaler {\repeater} -% \def\herhaalmetcommando {\dorepeatwithcommand} +\def\herhaal {\dorepeat} +\def\herhaler {\repeater} +\def\herhaalmetcommando {\dorepeatwithcommand} \protect \endinput |