summaryrefslogtreecommitdiff
path: root/tex/context/base/cldf-ver.lua
blob: 0d7d55649c1693389f6f7435a474849fa8e512e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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