[NTG-context] \setupbackend in MkIV

Hans Hagen j.hagen at xs4all.nl
Mon May 25 23:58:32 CEST 2020


> Rik Kabel schrieb am 25.05.2020 um 21:50:
>>
>> I cannot get a PDF/A document produced with the latest MkIV beta 
>> 2020.05.18 16:46 (LMTX works without issue). Using the example from 
>> the wiki (https://wiki.contextgarden.net/PDF/A) I get the error stating:
>>
>>     <inserted text> ... \p_file {\backendparameter {xmpfile}}\ifempty
>>                                                       \p_file \else
>>     \clf_setxmpf...
>>     \setup_backend ...end [#1]\the \everysetupbackend
>>
>>     l.11 ...ISO coated v2 300\letterpercent\space (ECI)]
>>     mtx-context     | fatal error: return code: 1
>>
>>
>> Removing either of the \setupbackend instructions still results in the 
>> same error.
>>
>> Same issue for PDF/X.
>>
>> Is it a bug, or is it me?
>>
> It's a bug, there is a check in the MkIV version of the code which 
> should be only in the LMTX version.
I uploaded new versions.

We're also redoing some low level support macros; these were (and have 
been) okay so there is no real need to replace them but by using some 
new features they could be done a bit nicer and they even became a bit 
faster cq. have less imprint on memory usage, but that will only be 
noticed in extreme documents that rely on them, like maybe thomas 1000 
page natural tables or Massi's configuration extensive applications; 
we'll see.

Wolfgang and I are checking these modules and related core code which 
will take a while (the test suite runs ok) but any issues, if any, will 
be solved fast. In due time it might bring some additional options.

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
-----------------------------------------------------------------


More information about the ntg-context mailing list