diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/prop-mis.mkiv')
-rw-r--r-- | Master/texmf-dist/tex/context/base/prop-mis.mkiv | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/base/prop-mis.mkiv b/Master/texmf-dist/tex/context/base/prop-mis.mkiv index ee292155efa..623b10f13bf 100644 --- a/Master/texmf-dist/tex/context/base/prop-mis.mkiv +++ b/Master/texmf-dist/tex/context/base/prop-mis.mkiv @@ -11,8 +11,41 @@ %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. +\writestatus{loading}{ConTeXt Property Macros / Miscelaneous} + +%D This module contains some code that has been in use in some +%D private modules (p-*). These features depend on the fact +%D that pdftex writes the page content as one stream. + +%D EXPERIMENTAL + \unprotect +%D Stream based overprint and knockout: + +\defineproperty[\v!overprint][\s!overprint] [\c!method=\v!command] +\defineproperty[\v!knockout] [\s!overprint] [\c!method=\v!command] + +%D Negation. + +\defineproperty [\v!negative] [\s!negative] [\c!method=\v!command] +\defineproperty [\v!positive] [\s!negative] [\c!method=\v!command] + +%D Special font effects. + +\setupproperty + [\s!effect] + [\c!rulethickness=\zeropoint, + \c!stretch=0] + +\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] + +\defineproperty [\v!stretch] [\s!effect] [\c!stretch=1] + %D Overprint cum suis. \definepropertyhandler \v!overprint {\dotriggeroverprint\v!overprint} @@ -39,6 +72,7 @@ \definepropertyhandler \v!outer {\mktriggereffect\v!outer } \definepropertyhandler \v!both {\mktriggereffect\v!both } \definepropertyhandler \v!hidden {\mktriggereffect\v!hidden} +\definepropertyhandler \v!stretch{\mktriggereffect\v!normal} \def\starteffectproperty{\mktriggereffect\currentproperty} \def\stopeffectproperty {\mktriggereffect\v!normal } |