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

2019-07-24 Thread Henning Hraban Ramm

Zitat von Pablo Rodriguez :


Sorry, Wolfgang and Hans, this was totally my fault.

I even checked scrn-wid.mkiv (lines 76-93) and since I didn’t find
"type", I tought it wasn’t implemented (it’s on line 112.


Apparently the key is not in the interface, at least it’s missing in  
the autogenerated syntax section of  
https://wiki.contextgarden.net/Command/setupattachment



Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

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


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

2019-06-20 Thread Pablo Rodriguez
On 6/20/19 10:46 AM, Hans Hagen wrote:
> On 6/19/2019 9:28 PM, Pablo Rodriguez wrote:
>> [...]
>> 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].)
>
> there is a type key

Sorry, Wolfgang and Hans, this was totally my fault.

I even checked scrn-wid.mkiv (lines 76-93) and since I didn’t find
"type", I tought it wasn’t implemented (it’s on line 112.

Sorry for the noise again,

Pablo
--
http://www.ousia.tk
___
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
___


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

2019-06-20 Thread Wolfgang Schuster

Hans Hagen schrieb am 20.06.2019 um 10:46:

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
I added it to the command but it shows only a generic name as argument 
because I can see no point to list all possible arguments.


@Hans: I put new files on your FTP server.

Wolfgang

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


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

2019-06-20 Thread Hans Hagen

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