From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Macro for a header does not work as well
Date: Tue, 19 Feb 2019 14:05:17 +0100 [thread overview]
Message-ID: <ECF4718C-60DC-4984-BDE7-41CA821B9D13@gmail.com> (raw)
In-Reply-To: <cc33df7a-301d-b32d-44d2-f1082654a419@mailbox.org>
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@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@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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2019-02-19 13:05 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
2019-02-19 13:05 ` Otared Kavian [this message]
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=ECF4718C-60DC-4984-BDE7-41CA821B9D13@gmail.com \
--to=otared@gmail.com \
--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).