On 08/14/2018 09:24 AM, Henri Menke wrote:
> On 14/08/18 17:29, Pablo Rodriguez wrote:
>> [...]
>> Where are those context.* Lua commands documented?
>>
>> I want to generate an xtable using Lua code, but I don’t know where to read.
>
> They aren't documented because they are just the context
On 14/08/18 17:29, Pablo Rodriguez wrote:
On 08/14/2018 01:46 AM, Henri Menke wrote:
On top of that I recommend to use context.date to get the correct
formatting according to the current language options:
\def\duedate{\ctxlua{
local t = os.date('*t', os.time()+ 10 * 24 * 3600)
On 08/14/2018 01:46 AM, Henri Menke wrote:
> On top of that I recommend to use context.date to get the correct
> formatting according to the current language options:
>
> \def\duedate{\ctxlua{
>local t = os.date('*t', os.time()+ 10 * 24 * 3600)
>context.date{ d = t.day, m = t.month, y =
On top of that I recommend to use context.date to get the correct
formatting according to the current language options:
\starttext
\def\duedate{\ctxlua{
local t = os.date('*t', os.time()+ 10 * 24 * 3600)
context.date{ d = t.day, m = t.month, y = t.year }
}}
\duedate
\stoptext
On
On 13.08.2018 17:57, Pablo Rodriguez wrote:
> if you don’t mind using Lua, here you have it:
>
> \starttext
> \def\duedate{\cldcontext{os.date('\letterpercent d/\letterpercent
> m/\letterpercent Y', os.time()+ 10 * 24 * 3600)}}
>
> \duedate
> \stoptext
>
> Just in case
On 08/13/2018 05:19 PM, Jan U. Hasecke wrote:
> Hi all,
>
> I want to insert a due date for payments in my invoice and I would like
> to calculate it from \currentdate. Something like
>
> define \duedate = \currentdate plus 10 days
>
> Is this possible?
Hi Jan-Ulrich,
if you don’t mind using
Hi all,
I want to insert a due date for payments in my invoice and I would like
to calculate it from \currentdate. Something like
define \duedate = \currentdate plus 10 days
Is this possible?
juh
___
If your