diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-05-25 11:48:47 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-05-25 11:48:47 +0200 |
commit | 8b678f473da7b81842dbc13b50c6303991570521 (patch) | |
tree | 53bc0e1c76c99a32011118c8941bab7b6e9b91df /tex/context/base/mkiv/back-res.mkiv | |
parent | caee9d5ac3c65f78671a9786318358cd647247eb (diff) | |
download | context-8b678f473da7b81842dbc13b50c6303991570521.tar.gz |
2019-05-25 10:53:00
Diffstat (limited to 'tex/context/base/mkiv/back-res.mkiv')
-rw-r--r-- | tex/context/base/mkiv/back-res.mkiv | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/back-res.mkiv b/tex/context/base/mkiv/back-res.mkiv new file mode 100644 index 000000000..fd7b208c9 --- /dev/null +++ b/tex/context/base/mkiv/back-res.mkiv @@ -0,0 +1,32 @@ +%D \module +%D [ file=back-res, +%D version=2019.05.23, % 2009.04.15, +%D title=\CONTEXT\ Backend Macros, +%D subtitle=Resources, +%D author=Hans Hagen, +%D date=\currentdate, +%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] +%C +%C This module is part of the \CONTEXT\ macro||package and is +%C therefore copyrighted by \PRAGMA. See mreadme.pdf for +%C details. + +\writestatus{loading}{ConTeXt Backend Macros / Resources} + +\registerctxluafile{back-res}{} + +\unprotect + +%D We overload the primitives with our own but use a bit of indirection for the +%D purpose of tracing. Some of these are needes for packages like tikz. + +\unexpanded\def\saveboxresource {\clf_saveboxresource} +\unexpanded\def\lastsavedboxresourceindex {\numexpr\clf_lastsavedboxresourceindex\relax} +\unexpanded\def\useboxresource {\clf_useboxresource} + +\unexpanded\def\saveimageresource {\clf_saveimageresource} +\unexpanded\def\lastsavedimageresourceindex{\numexpr\clf_lastsavedimageresourceindex\relax} +\unexpanded\def\lastsavedimageresourcepages{\numexpr\clf_lastsavedimageresourcepages\relax} +\unexpanded\def\useimageresource {\clf_useimageresource} + +\protect \endinput |