Re: [NTG-context] setting date in \setupinteraction

2021-10-21 Thread Pablo Rodriguez via ntg-context
On 10/20/21 4:02 PM, Hans Hagen via ntg-context wrote: > On 10/19/2021 10:38 PM, Michal Vlasák via ntg-context wrote: >> [...] >> The pattern doesn't catch all the PDF spec cases, but should match what >> ConTeXt emits. The timezone info gets overwritten by current timezone >> though. >> >> Require

Re: [NTG-context] setting date in \setupinteraction

2021-10-20 Thread Hans Hagen via ntg-context
On 10/19/2021 10:38 PM, Michal Vlasák via ntg-context wrote: I don't know how official these interfaces are. But you can try adapting the following to your use case. \setupinteraction[state=start] %\luacode{lpdf.settime("2020-02-02 12:00")} %\luacode{lpdf.settime(158064122

Re: [NTG-context] setting date in \setupinteraction

2021-10-19 Thread Michal Vlasák via ntg-context
On Tue Oct 19, 2021 at 8:51 PM CEST, Pablo Rodriguez via ntg-context wrote: > On 10/19/21 6:23 PM, Michal Vlasák via ntg-context wrote: > > On Tue Oct 19, 2021 at 5:47 PM CEST, Pablo Rodriguez via ntg-context wrote: > > [...] > > So this works: > > > > > > \setupinteraction[state=start, > >

Re: [NTG-context] setting date in \setupinteraction

2021-10-19 Thread Pablo Rodriguez via ntg-context
On 10/19/21 6:23 PM, Michal Vlasák via ntg-context wrote: > On Tue Oct 19, 2021 at 5:47 PM CEST, Pablo Rodriguez via ntg-context wrote: > [...] > So this works: > > > \setupinteraction[state=start, > date={2022-02-02T12:00:21+02:00}] > \starttext > This document is from 02.02.2020

Re: [NTG-context] setting date in \setupinteraction

2021-10-19 Thread Michal Vlasák via ntg-context
On Tue Oct 19, 2021 at 5:47 PM CEST, Pablo Rodriguez via ntg-context wrote: > Dear list, > > I have the following sample: > > \setupinteraction[state=start, > date={02.02.2022}] > \starttext > This document is from 02.02.2020 at 12:00:21. > \stoptext > > Which is the right way to get PDF dates work

[NTG-context] setting date in \setupinteraction

2021-10-19 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setupinteraction[state=start, date={02.02.2022}] \starttext This document is from 02.02.2020 at 12:00:21. \stoptext Which is the right way to get PDF dates working with \setupinteraction? Many thanks for your help, Pablo -- http://www.ousia.