MAJOR=13 MINOR=65 DEVNAME=input/event1 6ÿˆl—Ðz¾”d i?u8 \¸Ó·uLZ7ÿ�þBg ÁŒ�Ïâ ƒh¹æÅäÿPRODUCT=11/2/13/6 NAME="VirtualPS/2 VMware VMMouse" PHYS="isa0060/serio1/input1" PROP=0 EV=b KEY=70000 0 0 0 0 ABS=3 MODALIAS=input:b0011v0002p0013e0006-e0,1,3,k110,111,112,ra0,1,mlsfw 6ˆl–Ü4ý(Ð;�½p-©‹Fÿ�þF eY¸ÈVÚ £r2ùã „h" çÆå?÷if not modules then modules = { } end modules ['lpdf-epd'] = { version = 1.001, comment = "companion to lpdf-epa.mkiv", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files", history = "this one replaces the poppler/pdfe binding", } -- \enabledirectives[graphics.pdf.uselua] -- \enabledirectives[graphics.pdf.recompress] -- \enabledirectives[graphics.pdf.stripmarked] -- maximum integer : +2^32 -- maximum real : +2^15 -- minimum real : 1/(2^16) -- get_flagged : does that still work -- ppdoc_permissions (ppdoc *pdf); -- PPSTRING_ENCODED 1 << 0 -- PPSTRING_DECODED 1 << 1 -- PPSTRING_EXEC 1 << 2 postscript only -- PPSTRING_PLAIN 0 -- PPSTRING_BASE16 1 << 3 -- PPSTRING_BASE85 1 << 4 -- PPSTRING_UTF16BE 1 << 5 -- PPSTRING_UTF16LE 1 << 6 -- PPDOC_ALLOW_PRINT 1 << 2 printing -- PPDOC_ALLOW_MODIFY 1 << 3 filling form fields, signing, creating template pages -- PPDOC_ALLOW_COPY 1 << 4 copying, copying for accessibility -- PPDOC_ALLOW_ANNOTS 1 << 5 filling form fields, copying, signing -- PPDOC_ALLOW_EXTRACT 1 << 9 contents copying for accessibility -- PPDOC_ALLOW_ASSEMBLY 1 << 10 no effect -- PPDOC_ALLOW_PRINT_HIRES 1 << 11 no effect -- PPCRYPT_NONE 0 no encryption, go ahead -- PPCRYPT_DONE 1 encryption present but password succeeded, go ahead -- PPCRYPT_PASS -1 encryption present, need non-empty password -- PPCRYPT_FAIL -2 invalid or unsupported encryption (eg. undocumented in pdf spec) local setmetatable, type, next = setmetatable, type, next local tostring, tonumber, unpack = tostring, tonumber, unpack local char, byte, find = string.char, string.byte, string.find local abs = math.abs local concat, swapped, sortedhash, sortedkeys = table.concat, table.swapped, table.sortedhash, table.sortedkeys local utfchar = string.char local setmetatableindex = table.setmetatableindex local ioopen = io.open local lpegmatch, lpegpatterns = lpeg.match, lpeg.patterns local P, C, S, R, Ct, Cc, V, Carg, Cs, Cf, Cg = lpeg.P, lpeg.C, lpeg.S, lpeg.R, lpeg.Ct, lpeg.Cc, lpeg.V, lpeg.Carg, lpeg.Cs, lpeg.Cf, lpeg.Cg if not lpdf then require("lpdf-aux") end if not (number and number.dimenfactors) then require("util-dim") end local pdfe = pdfe lpdf = lpdf or { } local lpdf = lpdf local lpdf_epdf = { } lpdf.epdf = lpdf_epdf local pdfopen = pdfe.open local pdfopenfile = pdfe.openfile local pdfnew = pdfe.new local pdfclose = pdfe.close local getcatalog = pdfe.getcatalog local getinfo = pdfe.getinfo local gettrailer = pdfe.gettrailer local getnofpages = pdfe.getnofpages local getversion = pdfe.getversion local getbox = pdfe.getbox local getstatus = pdfe.getstatus local unencrypt = pdfe.unencrypt local dictionarytotable = pdfe.dictionarytotable local arraytotable = pdfe.arraytotable local pagestotable = pdfe.pagestotable local readwholestream = pdfe.readwholestream local getfromreference = pdfe.getfromreference local report_epdf = logs.reporter("epdf") local allocate = utilities.storage.allocate local bpfactor = number.dimenfactors.bp local objectcodes = { [0] = "none", "null", "bool", "integer", "number", "name", "string", "array", "dictionary", "stream", "reference", } local encryptioncodes = { [