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

Otared Kavian otared at gmail.com
Tue Feb 19 14:05:17 CET 2019


Hi Jan,

Your example works fine here on my machineā€¦
Which version of ConTeXt are you using?

Best regards: OK

> On 19 Feb 2019, at 13:49, Jan U. Hasecke <juh+ntg-context at mailbox.org> wrote:
> 
> 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
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________



More information about the ntg-context mailing list