back-shp.mkiv /size: 1099 b    last modification: 2020-07-01 14:35
1
%D \module
2
%D [ file=back-shp,
3
%D version=2018.07.26,
4
%D title=\CONTEXT\ Backend Macros,
5
%D subtitle=Alternative Backends,
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
%D This is only for exploring and testing, not (yet) for real
15
%D production usage.
16 17
\writestatus
{
loading
}{
ConTeXt
Backend
Macros
/
Initialization
}
18 19
\registerctxluafile
{
back
-
shp
}{
optimize
}
% shipper framework
20
\registerctxluafile
{
back
-
lpd
}{
optimize
}
% alternative backend
21
\registerctxluafile
{
back
-
mps
}{
optimize
}
% alternative backend
22
\registerctxluafile
{
back
-
lua
}{
optimize
}
% alternative backend
23 24
\unprotect
25 26
% use shipout callback
27 28
\def
\page_shipout_box_pdf
#
1
%
29
{
\clf_shipoutpage
#
1
\relax
30
\setbox
#
1
\emptybox
31
\global\deadcycles
\zerocount
}
32 33
\unexpanded
\def
\enablelmtx
34
{
\clf_enableshipout
35
\let
\page_shipout_box
\page_shipout_box_pdf
}
36 37
\protect
38