[dev-context] comment for attachments in PDF/A-3

Pablo Rodriguez oinos at gmx.es
Sun Mar 24 21:13:18 CET 2019


On 3/24/19 6:59 PM, Wolfgang Schuster wrote:
> [...]
>      \attachment[file=<filename>]
>
> instead of
>
>      \attachment[<filename>]
>
> The name of the first argument can be used to refer to a previously
> defined attachment (can be done with \registerattachment) but ConTeXt
> supports a file for backwards compatibility.

Sorry, Wolfgang, I don’t get it.

With the following source:

    \setupinteraction[state=start]
    \starttext
    \startTEXpage[offset=1em]
    \attachment
        [file=/home/ousia/xml-mkiv.pdf,
         name=new-name.pdf,
         title=Title,
         subtitle=Subtitle,
         method=hidden,
         author=author]
    \stopTEXpage
    \stoptext

I get the following PDF object:

<<
  /Names [ (/home/ousia/xml-mkiv.pdf) 2 0 R ]
>>

Nothing changed here (compared to my original report).

Or were you giving me hints of better command usage?

Many thanks for your help,

Pablo
--
http://www.ousia.tk


More information about the dev-context mailing list