back-res.mkiv /size: 1233 b    last modification: 2020-07-01 14:35
1%D \module
2%D   [       file=back-res,
3%D        version=2019.05.23, % 2009.04.15,
4%D          title=\CONTEXT\ Backend Macros,
5%D       subtitle=Resources,
6%D         author=Hans Hagen,
7%D           date=\currentdate,
8%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
9%C
10%C This module is part of the \CONTEXT\ macro||package and is
11%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12%C details.
13
14\writestatus{loading}{ConTeXt Backend Macros / Resources}
15
16\registerctxluafile{back-res}{}
17
18\unprotect
19
20%D We overload the primitives with our own but use a bit of indirection for the
21%D purpose of tracing. Some of these are needes for packages like tikz.
22
23\unexpanded\def\saveboxresource            {\clf_saveboxresource}
24\unexpanded\def\lastsavedboxresourceindex  {\numexpr\clf_lastsavedboxresourceindex\relax}
25\unexpanded\def\useboxresource             {\clf_useboxresource}
26
27\unexpanded\def\saveimageresource          {\clf_saveimageresource}
28\unexpanded\def\lastsavedimageresourceindex{\numexpr\clf_lastsavedimageresourceindex\relax}
29\unexpanded\def\lastsavedimageresourcepages{\numexpr\clf_lastsavedimageresourcepages\relax}
30\unexpanded\def\useimageresource           {\clf_useimageresource}
31
32\protect \endinput
33