Thanks Wolfgang -
I believed that the question was easy enough as is, but that was of course short sighted.
The problem I described does not arise when one just typesets the file, everything is good.
What I did was to reduce its file size using OS X's preview. This has apparently been "improved"
so that it changes the behavior wrt external links.
In case somebody wants to try:
Typeset
\setupinteraction[page=yes,state=start]
\starttext
\goto{click}[program(test.tex)]
\stoptext
Open test.pdf with Acrobat. Clicking on "click" opens test.tex with your designated TeX editor.
Close file in Acrobat.
Open test.pdf in Preview (OS 10.8, I am sure it behaved differently in earlier versions).
Export with "reduce file size" as option checked
Open exported file in Acrobat.
Clicking on "click" will try to access the absolute file path of the previously relative link. In the best case,
the finder will point to that file (instead of opening it). In the worst case, it will not be found.
So, this clearly is not a ConTeXt problem. But it causes me major headaches. In my workflow, I have dozens of images
that I prepare with Adobe Illustrator and save as pdf files that are still editable with Illustrator, i.e. that include another copy of the
file with layers etc. In other words, my pdf images are about 10 times as big as they need to be. I usually just reduce the file size with preview.
As this seems to be erroneous now, I am wondering:
Is there an option in \externalfigure that will strip everything redundant from a pdf file?
Thanks again,
Matthias
On Jan 7, 2013, at 3:52 PM, Wolfgang Schuster
Am 07.01.2013 um 19:45 schrieb Matthias Weber
: Dear All,
I used to write
\goto{\externalfigure[cuteimage]}[program(file.ext)]
to get an image, that, when clicked, will open an application that will open file.ext.
This currently still works on my Mac (10.8) with the TeXShop preview and with Skim. I does not work anymore with Adobe Acrobat Reader. Acrobat now asks permission, but doesn't do anything when granted. Even worse, on another Mac with an older OS, Skim didn't open the hyperlink either. On Windows, I couldn't find any program that would do the job, by I don't know much about that part of the world.
Is there anything that has changed recently in the way these kind of hyperlinks must be written? (I use MkII)
Your chance to get an answer will increase with a *working* minimal example.
Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________