summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/driv-ini.mkiv
blob: 958afb6a9c8afb68640a4ae20f35ec06feeabaca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
%D \module
%D   [       file=driv-ini,
%D        version=2018.07.26,
%D          title=\CONTEXT\ Driver Macros,
%D       subtitle=Initialization,
%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 Driver Macros / Initialization}

\registerctxluafile{driv-ini}{}

\unprotect

\unexpanded\def\page_shipout_box#1%
  {\clf_shipoutpage#1\relax
   \global\setbox#1\emptybox
   \global\deadcycles\zerocount}

\ifdefined\page_otr_shipout_yes \else

    \let\page_otr_shipout_yes\page_shipout_box

\fi

\protect \endinput