summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/back-ini.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-09-12 09:56:30 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-09-12 09:56:30 +0200
commitfbf22006525c920e93b9f671c2af3d4df2be902e (patch)
tree34d00873adf1442775edd4aa8cd5edc7da73919f /tex/context/base/mkiv/back-ini.lua
parentbfc2e20d0dfa0dfaf04b0c2c81aed20638f21c91 (diff)
downloadcontext-fbf22006525c920e93b9f671c2af3d4df2be902e.tar.gz
2016-09-12 08:18:00
Diffstat (limited to 'tex/context/base/mkiv/back-ini.lua')
-rw-r--r--tex/context/base/mkiv/back-ini.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/back-ini.lua b/tex/context/base/mkiv/back-ini.lua
index e8af4d9d9..fc0074540 100644
--- a/tex/context/base/mkiv/back-ini.lua
+++ b/tex/context/base/mkiv/back-ini.lua
@@ -120,3 +120,22 @@ interfaces.implement {
nodes.tasks.setaction("shipouts","nodes.handlers.accessibility",v == interfaces.variables.yes)
end
}
+
+-- moved to here
+
+local included = table.setmetatableindex( {
+ context = true,
+ id = true,
+ metadata = true,
+ date = true,
+ id = true,
+ pdf = true,
+}, function(t,k)
+ return true
+end)
+
+backends.included = included
+
+function backends.timestamp()
+ return os.date("%Y-%m-%dT%X") .. os.timezone(true)
+end