summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-mar.lua
blob: 8ee814d774300566c1eabc818bb637bda52d4422 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
if not modules then modules = { } end modules ['strc-mar'] = {
    version   = 1.001,
    comment   = "companion to strc-mar.mkiv",
    author    = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
    copyright = "PRAGMA ADE / ConTeXt Development Team",
    license   = "see context related readme files"
}

structure.marks = structure.marks or { }

function structure.marks.title(tag,n)
    structure.lists.savedtitle(tag,n,"marking")
end

function structure.marks.number(tag,n) -- no spec
    -- no prefix (as it is the prefix)
    structure.lists.savednumber(tag,n)
end