Failure to compile with new date code
Hello all, The example below continues to work with MkIV, but now fails with the most recent (ConTeXt ver: 2021.10.24 21:45) LMTX: \define\DraftOf {Draft of \date} \setupinteraction [date={\DraftOf}] \starttext Fail with LMTX, works with MkIV. \stoptext If the answer is "don't do that" I can find another way to accomplish what this does -- not a big problem. But I do want to point out the difference in behavior. -- Rik
Rik Kabel via ntg-context schrieb am 25.10.2021 um 16:45:
Hello all,
The example below continues to work with MkIV, but now fails with the most recent (ConTeXt ver: 2021.10.24 21:45) LMTX:
\define\DraftOf {Draft of \date} \setupinteraction [date={\DraftOf}] \starttext Fail with LMTX, works with MkIV. \stoptext
If the answer is "don't do that" I can find another way to accomplish what this does -- not a big problem. But I do want to point out the difference in behavior.
The date-key expects its argument in a certain format but you pass garbage values. See the following thread for more information: https://mailman.ntg.nl/pipermail/ntg-context/2021/103884.html Wolfgang
On 10/25/21 4:45 PM, Rik Kabel via ntg-context wrote:
Hello all,
The example below continues to work with MkIV, but now fails with the most recent (ConTeXt ver: 2021.10.24 21:45) LMTX:
\define\DraftOf {Draft of \date} \setupinteraction [date={\DraftOf}]
Hi Rik, \setupinteraction[date=***] only accepts a date as input. Would it be possible that it was subtitle or title any of the options you used? Just in case it helps, Pablo -- http://www.ousia.tk
On 10/25/2021 7:54 PM, Pablo Rodriguez via ntg-context wrote:
On 10/25/21 4:45 PM, Rik Kabel via ntg-context wrote:
Hello all,
The example below continues to work with MkIV, but now fails with the most recent (ConTeXt ver: 2021.10.24 21:45) LMTX:
\define\DraftOf {Draft of \date} \setupinteraction [date={\DraftOf}]
Hi Rik,
\setupinteraction[date=***] only accepts a date as input.
Would it be possible that it was subtitle or title any of the options you used?
we can of course accept anything but because these dates end up in different spots it gets hairy ... also it can invalidate a pdf Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 10/25/2021 10:31 PM, Rik Kabel wrote:
This has been part of my setup interaction for a couple of years. Documents all pass verapdf pdf3a testing.
the date only ended up in some places but now we try to be consistent on all places
On Oct 25, 2021 15:54, Hans Hagen via ntg-context
wrote: On 10/25/2021 7:54 PM, Pablo Rodriguez via ntg-context wrote: > On 10/25/21 4:45 PM, Rik Kabel via ntg-context wrote: >> Hello all, >> >> The example below continues to work with MkIV, but now fails with the >> most recent (ConTeXt ver: 2021.10.24 21:45) LMTX: >> >> \define\DraftOf {Draft of \date} >> \setupinteraction [date={\DraftOf}] > > Hi Rik, > > \setupinteraction[date=***] only accepts a date as input. > > Would it be possible that it was subtitle or title any of the options > you used?
we can of course accept anything but because these dates end up in different spots it gets hairy ... also it can invalidate a pdf
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 10/25/2021 10:31 PM, Rik Kabel wrote:
This has been part of my setup interaction for a couple of years. Documents all pass verapdf pdf3a testing.
On Oct 25, 2021 15:54, Hans Hagen via ntg-context
wrote: On 10/25/2021 7:54 PM, Pablo Rodriguez via ntg-context wrote: > On 10/25/21 4:45 PM, Rik Kabel via ntg-context wrote: >> Hello all, >> >> The example below continues to work with MkIV, but now fails with the >> most recent (ConTeXt ver: 2021.10.24 21:45) LMTX: >> >> \define\DraftOf {Draft of \date} >> \setupinteraction [date={\DraftOf}] > > Hi Rik, > > \setupinteraction[date=***] only accepts a date as input. > > Would it be possible that it was subtitle or title any of the options > you used?
we can of course accept anything but because these dates end up in different spots it gets hairy ... also it can invalidate a pdf
next upload: system > invalid time specification 'Draft of October 25, 2021' ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (5)
-
Hans Hagen
-
Pablo Rodriguez
-
Rik Kabel
-
Rik Kabel
-
Wolfgang Schuster