summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/scrn-pag.lua
blob: 7003d028508451ade731d5328be8853e945be39f (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
if not modules then modules = { } end modules ['scrn-pag'] = {
    version   = 1.001,
    comment   = "companion to scrn-pag.mkiv",
    author    = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
    copyright = "PRAGMA ADE / ConTeXt Development Team",
    license   = "see context related readme files"
}

interactions         = interactions or { }
interactions.pages   = interactions.pages or { }
local pages          = interactions.pages

local codeinjections = backends.codeinjections

local function setupcanvas(specification)
    codeinjections.setupcanvas(specification)
end

local function setpagetransition(specification)
    codeinjections.setpagetransition(specification)
end

pages.setupcanvas          = setupcanvas
pages.setpagetransition    = setpagetransition

commands.setupcanvas       = setupcanvas
commands.setpagetransition = setpagetransition