diff options
Diffstat (limited to 'tex/context/base/s-fnt-30.tex')
-rw-r--r-- | tex/context/base/s-fnt-30.tex | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/tex/context/base/s-fnt-30.tex b/tex/context/base/s-fnt-30.tex index 81b6c8d19..1daf6806e 100644 --- a/tex/context/base/s-fnt-30.tex +++ b/tex/context/base/s-fnt-30.tex @@ -15,20 +15,23 @@ function document.show_character_data(n) local n = characters.number(n) local d = characters.data[n] + local NC, NR = context.NC, context.NR if d then local function entry(label,name) - texsprint(tex.ctxcatcodes,format("\\NC %s\\NC %s\\NC\\NR",label,characters.valid(d[name]))) + NC() context(label) + NC() context(characters.valid(d[name]) + NC() NR() end - texsprint(tex.ctxcatcodes,"\\starttabulate[|Tl|Tl|]") - entry("unicode index" , "unicodeslot") - entry("context name" , "contextname") - entry("adobe name" , "adobename") - entry("category" , "category") - entry("description" , "description") - entry("uppercase code", "uccode") - entry("lowercase code", "lccode") - entry("specials" , "specials") - texsprint(tex.ctxcatcodes,"\\stoptabulate ") + context.starttabulate { "|Tl|Tl|]" } + entry("unicode index" , "unicodeslot") + entry("context name" , "contextname") + entry("adobe name" , "adobename") + entry("category" , "category") + entry("description" , "description") + entry("uppercase code", "uccode") + entry("lowercase code", "lccode") + entry("specials" , "specials") + context.stoptabulate() end end \stopluacode |