ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Andrea Valle <valle@unito.it>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: useattachment
Date: Mon, 1 Dec 2014 21:49:02 +0100	[thread overview]
Message-ID: <111E03F4-E325-44C4-9F2B-E3AEAAF581C1@unito.it> (raw)


[-- 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
___________________________________________________________________________________

             reply	other threads:[~2014-12-01 20:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-01 20:49 Andrea Valle [this message]
2014-12-02 10:06 ` useattachment Andrea Valle
2014-12-23 13:38   ` useattachment Andrea Valle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=111E03F4-E325-44C4-9F2B-E3AEAAF581C1@unito.it \
    --to=valle@unito.it \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).