[NTG-context] attachments working again (issue with /EmbeddedFiles)

Rik Kabel ConTeXt at rik.users.panix.com
Sat Feb 8 22:13:10 CET 2020


On 2/8/2020 12:32, Pablo Rodriguez wrote:
> On 2/8/20 1:45 PM, Peter Rolf wrote:
>> [...]
>>
>> I attached the current code, so you and Rik are able to test it if you
>> want (creating a new format is required). Best contact me off-list if
>> you run into new problems.
> Hi Peter,
>
> the new version is fine for me.
>
>  From what I see, /F is now set to 4 (print).
>
> Many thanks for your help,
>
> Pablo
> --
> http://www.ousia.tk

Not quite ready yet. When the hidden method is used, it passes the 
online validator[1], but fails VeraPDF[2] for clause 6.8-1. When 
visible, it fails the online validator stating that the appearance 
dictionary doesn't contain an entry, and fails VeraPDF for clauses 6.8-1 
and 6.3.3-1.

Oddly, the bookmarks do not appear either way under MkIV, and they do 
not appear when the attachment is visible under LMTX. The bookmarks do 
appear with a hidden attachment under LMTX.

The results are generally better than before this updated lpdf-wid.lua.

[1] https://www.pdf-online.com/osa/validate.aspx

[2] Version 1.14.8, which I believe is the current version

-- 
Rik



More information about the ntg-context mailing list