diff options
Diffstat (limited to 'tex/context/base/supp-mrk.tex')
-rw-r--r-- | tex/context/base/supp-mrk.tex | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/tex/context/base/supp-mrk.tex b/tex/context/base/supp-mrk.tex index 0cab213c4..6e3ad7cdd 100644 --- a/tex/context/base/supp-mrk.tex +++ b/tex/context/base/supp-mrk.tex @@ -55,13 +55,13 @@ %D We start with the presetting the interface macros. %D -%D \starttabulate[|||] +%D \starttabulatie[|||] %D \NC \type{\getmarks} \NC sets the marks to their values \NC \NR %D \NC \type{\getallmarks} \NC sets all marks to their values \NC \NR %D \NC \type{\getsplitmarks} \NC sets the splitmarks to their values\NC \NR %D \NC \type{\getallsplitmarks} \NC sets all splitmarks to their values\NC \NR %D \NC \type{\setmarks} \NC synchronizes topmarks (\ETEX) \NC \NR -%D \stoptabulate +%D \stoptabulatie %D %D Later we will overload these, dependent of the brand of %D \TEX\ that we use. @@ -90,46 +90,46 @@ %D other \type {\new} macros in \PLAIN\ \TEX. A mark is %D defined by: %D -%D \starttyping +%D \starttypen %D \newmark\name -%D \stoptyping +%D \stoptypen %D %D and can be called upon with: %D -%D \starttyping +%D \starttypen %D \gettopmark \name % or \topname %D \getbotmark \name % or \botname %D \getfirstmark\name % or \firstname -%D \stoptyping +%D \stoptypen %D %D The only drawback of his approach is that the marks must be %D preloaded in the output routine. This is accomplished by %D means of: %D -%D \starttyping +%D \starttypen %D \getmarks\name -%D \stoptyping +%D \stoptypen %D %D The macros presented here are in most aspects copies of %D those presented by Jim Fox. We've taken the freedom to %D change a few things for more or less obvious reasons: %D -%D \startitemize -%D \item Because the original macros look quite complicated, +%D \startopsomming +%D \som Because the original macros look quite complicated, %D which is mainly due to extensive use of %D \type{\expandafter}'s and \type{\csname}'s, we changed %D those in favor of \type{\getvalue}. -%D \item To be more in line with the rest of \CONTEXT, we've +%D \som To be more in line with the rest of \CONTEXT, we've %D changed some of the names of macros. -%D \item Because we are already short on \COUNTERS\ we use +%D \som Because we are already short on \COUNTERS\ we use %D macros when possible. -%D \item We maintain a list of defined marks and use one +%D \som We maintain a list of defined marks and use one %D call for getting them all at once. -%D \item We have extended the mechanism to splitmarks (not +%D \som We have extended the mechanism to splitmarks (not %D perfected yet). -%D \item We've introduced optional expansion of the contents +%D \som We've introduced optional expansion of the contents %D of marks. -%D \stopitemize +%D \stopopsomming %D %D Whatever changes we've made, the credits still go to Jim, %D whatever goes wrong is due to me. The method is described @@ -139,17 +139,17 @@ %D be defined at will and a number concerning the position at %D which it was defined. %D -%D \starttyping +%D \starttypen %D \def\somelist{... \domark5{this} ... \domark31{that} ...} -%D \stoptyping +%D \stoptypen %D %D The original \type{\mark} keeps track of the number and %D \type{\topmark} and \type{\botmark} are used to extract the %D actual marks from the list. The counting is done by %D -%D \starttyping +%D \starttypen %D \currentmarker -%D \stoptyping +%D \stoptypen %D %D In \CONTEXT\ we use the mark mechanism to keep track of %D colors. In a complicated documents with many colors per @@ -163,11 +163,11 @@ %D have been substituted by macros, one has been replaced by %D our scratch counter. %D -%D \starttyping +%D \starttypen %D \newcount\topmarker %D \newcount\botmarker %D \newcount\foundmarker -%D \stoptyping +%D \stoptypen %D %D We've also introduced some constants, one for the lists and %D three for composing the mark commands. @@ -246,9 +246,9 @@ %D list is done by \type{\addmarker}. This is an internal %D command, the user set a marks bij calling it's name: %D -%D \starttyping +%D \starttypen %D \setmark\mymark{some text} % or \mymark{some text} -%D \stoptyping +%D \stoptypen %D %D Where \type{\mymark} is previously defined by %D \type{\newmark}. @@ -476,10 +476,10 @@ %D In \type {page-ini} or \type {core-mar} we should say: %D -%D \starttyping +%D \starttypen %D \appendtoks \getallmarks \to \everybeforepagebody %D \appendtoks \setallmarks \to \everyafterpagebody -%D \stoptyping +%D \stoptypen \let\getcurrentmark \thecurrentmarks \let\gettopmark \checkedtopmarks @@ -529,9 +529,9 @@ %D Here a node is inserted, which can interfere badly. In %D fact, a real \type {\clearmarks\name} is needed. %D -%D \starttyping +%D \starttypen %D \def\resetmark#1{\marks#1{}} -%D \stoptyping +%D \stoptypen %D %D A possible macro solution is presented here. When discussing %D \type {\clearmarks} on the \ETEX\ discussion list, Chris @@ -552,7 +552,7 @@ %D \ruledhbox{\unhbox0} %D \stopbuffer %D -%D \typebuffer\blank\getbuffer\blank +%D \typebuffer\blanko\haalbuffer\blanko %D %D \startbuffer %D \setbox0=\vbox{test\normalmark{}} @@ -560,7 +560,7 @@ %D \ruledhbox{\unhbox0} %D \stopbuffer %D -%D \typebuffer\blank\getbuffer\blank +%D \typebuffer\blanko\haalbuffer\blanko %D %D \startbuffer %D \setbox0=\vbox{test\hbox{\normalmark{}}} @@ -568,7 +568,7 @@ %D \ruledhbox{\unhbox0} %D \stopbuffer %D -%D \typebuffer\blank\getbuffer\blank +%D \typebuffer\blanko\haalbuffer\blanko %D %D \startbuffer %D \setbox0=\vbox{test\vbox{\normalmark{}}} @@ -576,7 +576,7 @@ %D \ruledhbox{\unhbox0} %D \stopbuffer %D -%D \typebuffer\blank\getbuffer\blank +%D \typebuffer\blanko\haalbuffer\blanko %D One final advice. Use marks with care. When used in globally %D assigned boxes, the list can grow quite big, and processing @@ -611,4 +611,4 @@ \endETEX -\protect \endinput +\protect \endinput
\ No newline at end of file |