From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80143 Path: news.gmane.org!not-for-mail From: Matthias Weber Newsgroups: gmane.comp.tex.context Subject: Re: Was: Opening external documents ... -> Can ConTeXt reduce size of images? Date: Mon, 7 Jan 2013 19:00:30 -0500 Message-ID: <46570E6F-7F3F-4D8A-81C2-DFFA1203431C@indiana.edu> References: <773069CC-F64A-434F-A6DF-7D4FF0618529@indiana.edu> <8725678D-A55B-41DC-A945-787761033B59@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1357603243 3463 80.91.229.3 (8 Jan 2013 00:00:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jan 2013 00:00:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 08 01:01:00 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TsMcm-0001Os-6Z for gctc-ntg-context-518@m.gmane.org; Tue, 08 Jan 2013 01:01:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 21C7A10270; Tue, 8 Jan 2013 01:00:44 +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 CO8DFA1F+nw1; Tue, 8 Jan 2013 01:00:42 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E7E0C10200; Tue, 8 Jan 2013 01:00:41 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 89CC210200 for ; Tue, 8 Jan 2013 01:00:40 +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 QE0jOlCjjL5L for ; Tue, 8 Jan 2013 01:00:38 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id BF865101EE for ; Tue, 8 Jan 2013 01:00:38 +0100 (CET) Original-Received: from hartman.uits.indiana.edu (belushi.uits.indiana.edu [129.79.1.188]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r080E1HW001938 for ; Tue, 8 Jan 2013 01:14:02 +0100 X-IronPort-AV: E=Sophos;i="4.84,427,1355115600"; d="scan'208";a="5428612" Original-Received: from mssg-relay.indiana.edu ([129.79.1.73]) by irpt-internal-relay.indiana.edu with ESMTP; 07 Jan 2013 19:00:34 -0500 Original-Received: from hartman.uits.indiana.edu (belushi.uits.indiana.edu [129.79.1.188]) by mssg-relay.indiana.edu (8.14.5/8.14.4/IU Messaging Team) with ESMTP id r0800Yks028290 for ; Mon, 7 Jan 2013 19:00:34 -0500 X-IronPort-AV: E=Sophos;i="4.84,427,1355115600"; d="scan'208";a="14989798" Original-Received: from candy.uits.indiana.edu (HELO mail-relay.iu.edu) ([129.79.1.201]) by irpt-internal-relay.indiana.edu with ESMTP; 07 Jan 2013 19:00:31 -0500 Original-Received: from [172.27.35.85] (c-98-223-202-18.hsd1.in.comcast.net [98.223.202.18]) (authenticated bits=0) by mail-relay.iu.edu (8.14.5/8.14.4/IU Messaging Team Submission) with ESMTP id r0800Ucl002739 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 7 Jan 2013 19:00:31 -0500 In-Reply-To: <8725678D-A55B-41DC-A945-787761033B59@gmail.com> X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=129.79.1.188; country=US; region=IN; city=Bloomington; latitude=39.1653; longitude=-86.5264; metrocode=527; areacode=812; http://maps.google.com/maps?q=39.1653,-86.5264&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01IJce1wI - 6fc990380c25 - 20130108 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:80143 Archived-At: 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 wrote: > > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________