From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80667 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: local picture not found anymore Date: Mon, 4 Feb 2013 18:35:51 -0500 (EST) Message-ID: References: <6B0F9978-774F-4707-95F0-06C57B1FD04E@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1360020963 25643 80.91.229.3 (4 Feb 2013 23:36:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Feb 2013 23:36:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 05 00:36:24 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 1U2VaH-0001Er-EF for gctc-ntg-context-518@m.gmane.org; Tue, 05 Feb 2013 00:36:21 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A4E4B10243; Tue, 5 Feb 2013 00:36:02 +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 fdjKnPe5fjZS; Tue, 5 Feb 2013 00:35:59 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 871EF10224; Tue, 5 Feb 2013 00:35:59 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E804D10224 for ; Tue, 5 Feb 2013 00:35:57 +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 6PX4aJoLUsqS for ; Tue, 5 Feb 2013 00:35:56 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 092E110219 for ; Tue, 5 Feb 2013 00:35:55 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r14NZrJx026623 for ; Tue, 5 Feb 2013 00:35:54 +0100 Original-Received: FROM Decentralized.ECE.McGill.CA (Decentralized.ECE.McGill.CA [132.206.69.142]) By tombraider.mr.itd.umich.edu ID 511045D7.EFC2A.18000 ; Authuser adityam; 4 Feb 2013 18:35:52 EST In-Reply-To: User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RIUnzSbO - 5f8b1b9bd898 - 20130205 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:80667 Archived-At: On Tue, 5 Feb 2013, Mojca Miklavec wrote: > On Mon, Feb 4, 2013 at 7:52 PM, Meer H. van der wrote: >> Found this one with a lucky guess. >> The macro call \doiffile{picture} does find a usable picture file (I guess >> picture.pdf) in my tex-tree. >> My conclusion would be that the search no longer starts in the current >> directory but does a global search first. That used to be different. >> Why the change? > > I had a similar (yet unresolved) problem, see thread "ConTeXt inputs > files from TEXMF/doc" from October 2012: > http://thread.gmane.org/gmane.comp.tex.context/78692 > > I'm not sure if that was really a change, but it probably isn't > intentionally so. My wild guess is that pdf takes precedence over jpg > (ConTeXt would probably first test if picture.pdf is found and only if > that one wouldn't be, it would try picture.png or jpg). As I said in a recent post (http://article.gmane.org/gmane.comp.tex.context/80617/), I thought that \setupexternalfigures[location=local] would not search the texmf tree at all. But that is clearly not the case. > In any case > ConTeXt should not even search in doc folder for files to be included > as a picture. If those PDFs from doc folders would be excluded, most > such problems would go away, I believe. You probably included > /usr/local/texlive/2012/texmf-dist/doc/latex/oberdiek/picture.pdf? It certainly does not search all files in the doc directory. On TL'12 mtxrun does not find /usr/share/texmf/doc/dvipdfm/something.pdf, i.e., $ mtxrun something.pdf does not return anything. But on minimals, $ mtxrun simpleslides.pdf /opt/context-minimals/texmf-modules/doc/context/third/simpleslides/simpleslides.pdf which should not happen. Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________