[dev-context] core-con.mkiv
Wolfgang Schuster
schuster.wolfgang at googlemail.com
Tue Jun 28 11:30:48 CEST 2011
core-con.mkiv: missing “)"
-\def\ordinaldaynumber #1{\ctxcommand{ordinal(#1,"\currentlanguage"}}
+\def\ordinaldaynumber #1{\ctxcommand{ordinal(#1,"\currentlanguage")}}
core-con.lua: missing “w” in the last two
local ordinals = {
english = function(n)
local two = n % 100
- if two == 11 or two == 12 or to == 13 then
+ if two == 11 or two == 12 or two == 13 then
core-con.lua: print the number!
function commands.ordinal(n,language)
local t = language and ordinals[language]
local o = t and t(n)
+ context(n) -- is this the right place?
if o then
context.highordinalstr(o)
end
end
Wolfgang
More information about the dev-context
mailing list