[NTG-context] Macro for a header does not work as well

Jan U. Hasecke juh+ntg-context at mailbox.org
Tue Feb 19 13:49:56 CET 2019


Am 19.02.19 um 12:55 schrieb Otared Kavian:
> Hi Fabrice,
> 
> After adding 
> 	
> 	 \mainlanguage[fr]
> 
> to your file I obtain the attached output (Context version  2019.02.14 16:57).
> 

I have a similar problem with a lua snippet, where mainlanguage does not
solve the problem.

In a context version from last year this showed the right date format,
now it shows: d=1m=3y=2019

############

\def\duedate{\ctxlua{
  local t = os.date('*t', os.time()+ 10 * 24 * 3600)
  context.date{d=t.day, m=t.month, y=t.year }
}}

\mainlanguage[de]

\starttext

	\duedate

\stoptext


TIA
juh


More information about the ntg-context mailing list