1if not modules then modules = { } end modules ['s-characters-properties'] = { 2 version = 1.001, 3 comment = "companion to s-characters-properties.mkiv", 4 author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", 5 copyright = "PRAGMA ADE / ConTeXt Development Team", 6 license = "see context related readme files" 7} 8 9moduledata.characters = moduledata.characters or { } 10moduledata.characters.combinations = moduledata.characters.combinations or { } 11 12local context = context 13local ctx_NC = context.NC 14local ctx_NR = context.NR 15local ctx_MR = context.MR 16local ctx_ML = context.ML 17 18function moduledata.characters.combinations.showcombinations(settings) 19 context.starttabulate { "|l|T|cTw(1em)|T|" } 20 for k, v in table.sortedhash(characters.verbosemarks) do 21 local m = "with" .. string.gsub(k," ","") 22 ctx_NC() context(k) 23 ctx_NC() context("%U",v) 24 ctx_NC() context("%s",v) 25 ctx_NC() if token.is_defined(m) then context("\\string\\%s",m) end 26 ctx_NC() ctx_NR() 27 end 28 context.stoptabulate() 29end 30 31 |