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