Re: [NTG-context] useattachment

2014-12-23 Thread Andrea Valle
Replying to myself the problem seems related to the use of the ex label. this works \define[1]\Ex{\externalfigure[code/#1] \useattachment[#1][code/#1.scd] \attachment[#1] } (so this does not work anymore http://wiki.contextgarden.net/Verbatim_text#Embedding_the_source_code

[NTG-context] useattachment

2014-12-02 Thread Andrea Valle
Dear list, In the previous version of a programming manual I wrote I used this definition: \define[1]\Ex{\externalfigure[code/#1] \useattachment[ex][code/#1.scd] \attachment[ex] } In this way I could have \Ex{sintesi/sineArray} where sintesi/sineArray.scd is the path of code example and

[NTG-context] useattachment

2014-12-02 Thread Andrea Valle
(Sorry if have already posted this, can’t find it in the archives, so maybe it didn’t go thru) On 01 Dec 2014, at 21:49, Andrea Valle va...@unito.it wrote: Dear list, In the previous version of a programming manual I wrote I used this definition: \define[1]\Ex{\externalfigure[code/#1]

Re: [NTG-context] \useattachment: Embedding files in PDFs - was attachment attaches twice - more research

2011-02-21 Thread Michail Vidiassov
Dear Hans, I'd like to remind you about an old problem report -- From: Tobias Burnus Date: 2008-01-04 16:01 +300 I can use \useattachment to embed/attach files in a PDF file. I can use: \useattachment[whatever][title][newname][test.tex] \attachment[whatever] This creates an attachment

[NTG-context] \useattachment: Embedding files in PDFs

2008-01-04 Thread Tobias Burnus
Hi all, I can use \useattachment to embed/attach files in a PDF file. I can use: \useattachment[whatever][title][newname][test.tex] \attachment[whatever] This creates an attachment with the description title and the name test.tex. However, how can I set the author/subject? (Shown in tool tip of