summaryrefslogtreecommitdiff
path: root/tex/context/base/back-pdf.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-04-27 22:40:13 +0300
committerMarius <mariausol@gmail.com>2011-04-27 22:40:13 +0300
commitcf7755dd328463401bd066ec19cd62e95c225a0c (patch)
tree36b5539239a75cf01646dda7ff955d4a70d9ada2 /tex/context/base/back-pdf.lua
parent450e273d5438a33d75f0750ab854ef0c4d20f3b0 (diff)
downloadcontext-cf7755dd328463401bd066ec19cd62e95c225a0c.tar.gz
beta 2011.04.27 21:17
Diffstat (limited to 'tex/context/base/back-pdf.lua')
-rw-r--r--tex/context/base/back-pdf.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/tex/context/base/back-pdf.lua b/tex/context/base/back-pdf.lua
index f6f82c7f5..7c736ebaf 100644
--- a/tex/context/base/back-pdf.lua
+++ b/tex/context/base/back-pdf.lua
@@ -87,6 +87,15 @@ end
local cache = { }
+function codeinjections.startlayer(name)
+ codeinjections.useviewerlayer(name)
+ return format("/OC /%s BDC",name)
+end
+
+function codeinjections.stoplayer(name)
+ return "EMC"
+end
+
function nodeinjections.startlayer(name)
local c = cache[name]
if not c then