diff options
author | Taco Hoekwater <taco@elvenkind.com> | 2008-06-12 10:42:53 +0000 |
---|---|---|
committer | Taco Hoekwater <taco@elvenkind.com> | 2008-06-12 10:42:53 +0000 |
commit | 0d01365d53c456d246da0ca1f0b3cd9868f02b35 (patch) | |
tree | 01a655c8028e17cfb371456b299c1848fe08c05b /Master/texmf-dist/tex/context/base/prop-mis.tex | |
parent | 44f3714442da07fdfc36a7f2a8dcd5d4294c5d26 (diff) |
ConTeXt release 2008.05.21
git-svn-id: svn://tug.org/texlive/trunk@8691 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/base/prop-mis.tex')
-rw-r--r-- | Master/texmf-dist/tex/context/base/prop-mis.tex | 191 |
1 files changed, 10 insertions, 181 deletions
diff --git a/Master/texmf-dist/tex/context/base/prop-mis.tex b/Master/texmf-dist/tex/context/base/prop-mis.tex index 769fc33f4ef..d78e0c5848c 100644 --- a/Master/texmf-dist/tex/context/base/prop-mis.tex +++ b/Master/texmf-dist/tex/context/base/prop-mis.tex @@ -26,199 +26,28 @@ \defineproperty[\v!overprint][\s!overprint] [\c!method=\v!command] \defineproperty[\v!knockout] [\s!overprint] [\c!method=\v!command] -\definepropertyhandler \v!overprint {\dostartoverprint} -\definepropertyhandler \v!knockout {\dostopoverprint } - -\def\startoverprintproperty - {\ifincolor - \propertyhandler\currentproperty - \dooverprintmark\currentproperty - \fi} - -\def\stopoverprintproperty - {\ifincolor - \ifcase\currentpropertylevel\or - \dostopoverprint - \dooverprintmark\empty - \else - \propertyhandler\previousproperty - \dooverprintmark\previousproperty - \fi - \fi} - -\rawnewmark\overprintmark - -\def\dooverprintmark#1% - {\ifinpagebody \else \ifinframed \else - \expanded{\rawsetmark\noexpand\overprintmark{#1}}% - \fi \fi} - -\def\pushoverprintproperty - {\doifsomething{\rawgetbotmark\overprintmark}\dostopoverprint} - -\def\popoverprintproperty - {\doifsomething{\rawgetbotmark\overprintmark}% - {\propertyhandler{\rawgetbotmark\overprintmark}}} - -\def\popsplitoverprintproperty - {\getsplitmarks\overprintmark % hier wel - \doifsomething{\rawgetsplitbotmark\overprintmark}% - {\propertyhandler{\rawgetsplitbotmark\overprintmark}}} - -\appendtoks \pushoverprintproperty \to \everypushproperties -\appendtoks \popoverprintproperty \to \everypopproperties -\appendtoks \popsplitoverprintproperty \to \everypopsplitproperties - %D Negation. \defineproperty [\v!negative] [\s!negative] [\c!method=\v!command] \defineproperty [\v!positive] [\s!negative] [\c!method=\v!command] -\definepropertyhandler \v!negative {\dostartnegative} -\definepropertyhandler \v!positive {\dostopnegative } - -\def\startnegativeproperty - {\ifincolor - \propertyhandler\currentproperty - \donegativemark\currentproperty - \fi} - -\def\stopnegativeproperty - {\ifincolor - \ifcase\currentpropertylevel\or - \dostopnegative - \donegativemark\empty - \else - \propertyhandler\previousproperty - \donegativemark\previousproperty - \fi - \fi} - -\rawnewmark\negativemark - -\def\donegativemark#1% - {\ifinpagebody \else \ifinframed \else - \expanded{\rawsetmark\noexpand\negativemark{#1}}% - \fi \fi} - -\def\pushnegativeproperty - {\doifsomething{\rawgetbotmark\negativemark}\dostopnegative} - -\def\popnegativeproperty - {\doifsomething{\rawgetbotmark\overprintmark}% - {\propertyhandler{\rawgetbotmark\negativemark}}} - -\def\popsplitnegativeproperty - {\getsplitmarks\negativemark % hier wel - \doifsomething{\rawgetsplitbotmark\negativemark}% - {\propertyhandler{\rawgetsplitbotmark\negativemark}}} - -\appendtoks \pushnegativeproperty \to \everypushproperties -\appendtoks \popnegativeproperty \to \everypopproperties -\appendtoks \popsplitnegativeproperty \to \everypopsplitproperties - %D Special font effects. \setupproperty [\s!effect] - [\c!rulethickness=.25pt, - \c!stretch=1] - -\defineproperty [\v!inner] [\s!effect] -\defineproperty [\v!outer] [\s!effect] -\defineproperty [\v!both] [\s!effect] -\defineproperty [\v!normal] [\s!effect] -\defineproperty [\v!hidden] [\s!effect] - -\definepropertyhandler \v!normal {0} -\definepropertyhandler \v!inner {0} -\definepropertyhandler \v!outer {1} -\definepropertyhandler \v!both {2} -\definepropertyhandler \v!hidden {3} - -% \def\handleeffectproperty#1% -% {\expanded{\dostartfonteffect -% {\propertyhandler{#1}}% -% {\propertyparameter{#1}\c!lijndikte}% -% {\propertyparameter{#1}\c!rek}}} - -% \def\starteffectproperty -% {\handleeffectproperty\currentproperty -% \doeffectmark\currentproperty} - -% \def\stopeffectproperty -% {\dostopfonteffect -% \ifcase\currentpropertylevel\or -% \doeffectmark\empty -% \else -% \handleeffectproperty\previousproperty -% \doeffectmark\previousproperty -% \fi} - -% \rawnewmark\effectmark - -% \def\doeffectmark#1% -% {\ifinpagebody \else \ifinframed \else -% \expanded{\rawsetmark\noexpand\effectmark{#1}}% could be number -% \fi \fi} - -% \def\pusheffectproperty -% {\doifsomething{\rawgetbotmark\effectmark}\dostopfonteffect} - -% \def\popeffectproperty -% {\doifsomething{\rawgetbotmark\effectmark}% -% {\handleeffectproperty{\rawgetbotmark\effectmark}}} - -% \def\popspliteffectproperty -% {\getsplitmarks\effectmark -% \doifsomething{\rawgetsplitbotmark\effectmark}% -% {\handleeffectproperty{\rawgetsplitbotmark\effectmark}}} - -% \appendtoks \pusheffectproperty \to \everypushproperties -% \appendtoks \popeffectproperty \to \everypopproperties -% \appendtoks \popspliteffectproperty \to \everypopsplitproperties - -% % - -\def\effectpropertydata#1% - {{\propertyhandler{#1}}% - {\propertyparameter{#1}\c!rulethickness}% - {\propertyparameter{#1}\c!stretch}} - -\def\starteffectproperty - {\expanded{\dostartfonteffect\effectpropertydata\currentproperty}% - \doeffectmark{\effectpropertydata\currentproperty}} - -\def\stopeffectproperty - {\dostopfonteffect - \ifcase\currentpropertylevel\or - \doeffectmark\empty - \else - \expanded{\dostartfonteffect\effectpropertydata\previousproperty}% - \doeffectmark{\effectpropertydata\previousproperty}% - \fi} - -\rawnewmark\effectmark - -\def\doeffectmark#1% - {\ifinpagebody \else \ifinframed \else - \expanded{\rawsetmark\noexpand\effectmark{#1}}% could be number - \fi \fi} + [\c!rulethickness=\zeropoint, + \c!stretch=0] -\def\pusheffectproperty - {\doifsomething{\rawgetbotmark\effectmark}\dostopfonteffect} +\defineproperty [\v!inner] [\s!effect] [\c!rulethickness=.25pt] +\defineproperty [\v!outer] [\s!effect] [\c!rulethickness=.25pt] +\defineproperty [\v!both] [\s!effect] [\c!rulethickness=.25pt] +\defineproperty [\v!normal] [\s!effect] +\defineproperty [\v!hidden] [\s!effect] -\def\popeffectproperty - {\doifsomething{\rawgetbotmark\effectmark}% - {\expanded{\dostartfonteffect\rawgetbotmark\effectmark}}} +\defineproperty [\v!stretch] [\s!effect] [\c!stretch=1] -\def\popspliteffectproperty - {\getsplitmarks\effectmark - \doifsomething{\rawgetsplitbotmark\effectmark}% - {\expanded{\dostartfonteffect\rawgetsplitbotmark\effectmark}}} +%D Plugin: -\appendtoks \pusheffectproperty \to \everypushproperties -\appendtoks \popeffectproperty \to \everypopproperties -\appendtoks \popspliteffectproperty \to \everypopsplitproperties +\loadmarkfile{prop-mis} \protect \endinput |