summaryrefslogtreecommitdiff
path: root/tex/context/base/cldf-ver.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2010-10-20 00:20:12 +0300
committerMarius <mariausol@gmail.com>2010-10-20 00:20:12 +0300
commitf93975efd76053e907d19114d4ba576ae44da134 (patch)
treebde9a37d4fd9dd8eae1ce89d3adb154cfe5d3d5d /tex/context/base/cldf-ver.lua
parent8009e0ec2449002df344f784da9fe6846abc774f (diff)
downloadcontext-f93975efd76053e907d19114d4ba576ae44da134.tar.gz
beta 2010.10.19 23:03
Diffstat (limited to 'tex/context/base/cldf-ver.lua')
-rw-r--r--tex/context/base/cldf-ver.lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/tex/context/base/cldf-ver.lua b/tex/context/base/cldf-ver.lua
new file mode 100644
index 000000000..0d7d55649
--- /dev/null
+++ b/tex/context/base/cldf-ver.lua
@@ -0,0 +1,22 @@
+if not modules then modules = { } end modules ['cldf-ver'] = {
+ version = 1.001,
+ comment = "companion to cldf-ini.mkiv",
+ author = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
+ copyright = "PRAGMA ADE / ConTeXt Development Team",
+ license = "see context related readme files"
+}
+
+local concat = table.concat
+
+local context = context
+
+function table.tocontext(...)
+ local function flush(...)
+ context(concat{...,"\n"})
+ end
+ context.starttyping()
+ context.pushcatcodes("verbatim")
+ table.tohandle(flush,...)
+ context.stoptyping()
+ context.popcatcodes()
+end