From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89375 Path: news.gmane.org!not-for-mail From: Andrea Valle Newsgroups: gmane.comp.tex.context Subject: useattachment Date: Mon, 1 Dec 2014 21:49:02 +0100 Message-ID: <111E03F4-E325-44C4-9F2B-E3AEAAF581C1@unito.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Content-Type: multipart/mixed; boundary="===============1041373664==" X-Trace: ger.gmane.org 1417592308 18956 80.91.229.3 (3 Dec 2014 07:38:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2014 07:38:28 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 03 08:38:24 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xw4Vz-0001JQ-Uw for gctc-ntg-context-518@m.gmane.org; Wed, 03 Dec 2014 08:38:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 43AED10482 for ; Wed, 3 Dec 2014 08:38:23 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7eCTvuszSyN9 for ; Wed, 3 Dec 2014 08:38:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A7BED10235 for ; Wed, 3 Dec 2014 08:37:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A8C8710206 for ; Mon, 1 Dec 2014 22:13:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id s-u2k12j2u6t for ; Mon, 1 Dec 2014 22:13:44 +0100 (CET) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 7CCD310209 for ; Mon, 1 Dec 2014 22:05:20 +0100 (CET) Original-Received: from mail.di.unito.it (pianeta.di.unito.it [130.192.156.1]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id sB1L5IHp006923 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 1 Dec 2014 22:05:18 +0100 X-MailScanner-From: valle@unito.it X-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-101.613, required 3, autolearn=not spam, AUTHENTICATEDUSER -100.00, AWL 0.13, BAYES_00 -1.90, HTML_MESSAGE 0.00, MISSING_FROM 1.00, RCVD_IN_DNSWL_MED -2.30, RDNS_NONE 0.79, SPF_SOFTFAIL 0.67) X-AntiVirus: Email Clean X-dipinfo-MailScanner-ID: sB1Kn2WG027717 X-dipinfo-MailScanner-Information: Please contact Department of Computer Science technical staff for more information Original-Received: from mail.di.unito.it ([130.192.156.1]) by mail.di.unito.it (INFO-DIP) with ESMTP id sB1Kn2WG027717 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO AuthenticatedUser=valle ) for ; Mon, 1 Dec 2014 21:49:06 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.0 mail.di.unito.it sB1Kn2WG027717 X-Mailer: Apple Mail (2.1990.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=130.192.156.1; country=IT; region=Turin; city=Turin; latitude=45.0500; longitude=7.6667; http://maps.google.com/maps?q=45.0500,7.6667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08Nml5i1K - 52c8812b4021 - 20141201 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-Mailman-Approved-At: Wed, 03 Dec 2014 08:37:48 +0100 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:89375 Archived-At: --===============1041373664== Content-Type: multipart/alternative; boundary="Apple-Mail=_CA7DF635-1357-4A2D-B988-C779DF0E59C1" --Apple-Mail=_CA7DF635-1357-4A2D-B988-C779DF0E59C1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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] }=20 In this way I could have=20 \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=E2=80=99m 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=E2=80=99m 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=C3=A0 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."=20 (Jeffrey 'The Dude' Lebowski) --Apple-Mail=_CA7DF635-1357-4A2D-B988-C779DF0E59C1 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
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=E2=80=99m = 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=E2=80=99m 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=C3=A0 degli Studi di Torino
--------------------------------------------------

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

= --Apple-Mail=_CA7DF635-1357-4A2D-B988-C779DF0E59C1-- --===============1041373664== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1041373664==--