[NTG-context] [dev-context] type key in \setupattachment

Hans Hagen j.hagen at xs4all.nl
Thu Jun 20 10:46:26 CEST 2019


On 6/19/2019 9:28 PM, Pablo Rodriguez wrote:
> Hi Wolfgang,
> 
> this comes from a previous message from this mailing list
> (https://mailman.ntg.nl/pipermail/dev-context/2019/003574.html), which I
> needed a long while to understand 😅.
> 
> Would it be possible that the \setupattachment command has a "type" key
> to specify its MIME type? (Default should be "application/octet-stream"
> [or so it seems].)
> 
> This is required to add the value to the /Subtype entry in the
> /Embeddedfile dictionary
> (https://www.adobe.com/content/dam/acom/en/devnet/pdf/PDF32000_2008.pdf#nameddest=G6.1942814)
> 
> This is optional information in PDF-1.7, but required in PDF/A-2.
> 
> Many thanks for your help,
there is a type key

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