ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* useattachment
@ 2014-12-01 20:49 Andrea Valle
  2014-12-02 10:06 ` useattachment Andrea Valle
  0 siblings, 1 reply; 3+ messages in thread
From: Andrea Valle @ 2014-12-01 20:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1310 bytes --]

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 sintesi/sineArray.pdf is the path of a pdf figure with coloured syntax .

I’m revising the manual and using mk IV.
Now, concerning the attachment, in mk IV the marker on the generated pdf always points to the same .scd file.
But while reading the pdf in Acrobat Reader if I’m passing the mouse over the marker the displayed path seems to be the correct one.

Am I doing anything wrong here?

Thanks a lot

Best

-a-




--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - StudiUm
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.fonurgia.unito.it/andrea/
--> http://www.flickr.com/photos/vanderaalle/sets/
--> http://vimeo.com/vanderaalle
--> andrea.valle@unito.it
--------------------------------------------------

"This is a very complicated case, Maude. You know, a lotta ins, a lotta outs, a lotta what-have-yous." 
(Jeffrey 'The Dude' Lebowski)


[-- Attachment #1.2: Type: text/html, Size: 3984 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-23 13:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-01 20:49 useattachment Andrea Valle
2014-12-02 10:06 ` useattachment Andrea Valle
2014-12-23 13:38   ` useattachment Andrea Valle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).