On 3/6/19 10:34 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 05.03.19 um 17:44:
>> [...]
>>      \attachment
>>          [http://pragma-ade.com/general/manuals/xtables-mkiv.pdf]
>>          [author={Attached on \currentdate},
>>           title={Attached on \currentdate}]
>>
>> How can I get \currentdate expanded in the PDF annotation?
> 
> Can you try \rawdate[] (the argument is mandatory).

Many thanks for your reply, Wolfgang.

This works fine, but I’m afraid this is a workaround (I mean, I cannot
even add the the \currentime [not to mention other commands]).

Full expansion would be extremely useful with all features that are
enabled by \setupinteraction.

I reported this issue before:
https://mailman.ntg.nl/pipermail/ntg-context/2017/089035.html.

Sorry, I don’t know whether this is real full expansion or prerolling.
This is the way Hans names both directives for bookmarks and PDF
document information:

    \enabledirectives[interaction.identity.preroll]
    \enabledirectives[references.bookmarks.preroll]

In any case, I think there is a good use for commands inside interactive
contents in ConTeXt.

Many thanks for your help,

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
___________________________________________________________________________________

Reply via email to