From: "Jan U. Hasecke" <juh+ntg-context@mailbox.org>
To: ntg-context@ntg.nl
Subject: Re: Macro for a header does not work as well
Date: Tue, 19 Feb 2019 13:49:56 +0100 [thread overview]
Message-ID: <cc33df7a-301d-b32d-44d2-f1082654a419@mailbox.org> (raw)
In-Reply-To: <2ABC365E-BE77-4266-94D1-B444C8C6943C@gmail.com>
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@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
___________________________________________________________________________________
next prev parent reply other threads:[~2019-02-19 12:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-18 11:04 Fabrice Couvreur
2019-02-18 13:31 ` Otared Kavian
2019-02-19 10:37 ` Fabrice Couvreur
2019-02-19 11:55 ` Otared Kavian
2019-02-19 12:49 ` Jan U. Hasecke [this message]
2019-02-19 13:05 ` Otared Kavian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cc33df7a-301d-b32d-44d2-f1082654a419@mailbox.org \
--to=juh+ntg-context@mailbox.org \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).