From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55555 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: problem with url in \setupexternalfigures Date: Wed, 13 Jan 2010 18:04:48 -0500 (EST) Message-ID: References: <20100107091447.GA27523@gaston.couberia.bzh> <4B4E3794.90604@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-479813366-1263423889=:27605" X-Trace: ger.gmane.org 1263423932 17425 80.91.229.12 (13 Jan 2010 23:05:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jan 2010 23:05:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 14 00:05:23 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NVCHC-0004cz-B3 for gctc-ntg-context-518@m.gmane.org; Thu, 14 Jan 2010 00:05:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 991D0C9CA2; Thu, 14 Jan 2010 00:05:22 +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 XVz3ICduCf1Z; Thu, 14 Jan 2010 00:05:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 68338C9C7E; Thu, 14 Jan 2010 00:05:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7308CC9C7E for ; Thu, 14 Jan 2010 00:05:06 +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 Av6N0YDdB1J5 for ; Thu, 14 Jan 2010 00:04:51 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by balder.ntg.nl (Postfix) with ESMTP id 0B71BC9C2B for ; Thu, 14 Jan 2010 00:04:50 +0100 (CET) Original-Received: FROM dhcp128036206242.central.yale.edu (dhcp128036206242.central.yale.edu [128.36.206.242]) By tombraider.mr.itd.umich.edu ID 4B4E5191.5DA5C.26908 ; Authuser adityam; 13 Jan 2010 18:04:49 EST In-Reply-To: <4B4E3794.90604@wxs.nl> User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:55555 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-479813366-1263423889=:27605 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 13 Jan 2010, Hans Hagen wrote: > On 7-1-2010 10:14, Peter M=FCnster wrote: >> Hello, >>=20 >> This used to work: >>=20 >> \setupexternalfigures[directory=3D{\currentvalue, http://pmrb.free.fr/tm= p/}] >> \starttext >> \externalfigure[hacker-test] >> \stoptext >>=20 >> But with the latest version, the figure is not found... > > ok, i can fix that but there is a problem ... > > if no suffix is given, the quality list is followed and the first request= =20 > will be > > http://pmrb.free.fr/tmp/hacker-test.pdf > > which gives a home page which is no pdf of course and luatex does not lik= e=20 > that > > as i don't want to complicate the lookup mechanism even more, i will not= =20 > catch this and users can best use a suffix when using an url Does it make sense to add the look-up to \usemodule? For example, the following works: \input=20 http://github.com/adityam/cut-n-paste/raw/master/tex/context/third/cut-n-pa= ste/t-cut-n-paste.tex But it will be nice if I could also do \usemodule[http://github.com/adityam/cut-n-paste/raw/master/tex/context/thi= rd/cut-n-paste/t-cut-n-paste.tex] or \usemodule[http://..../t-cut-n-paste] % no .tex or (not really serious here) \usemodule[http:// ...][t-cut-n-paste] % like \usemodule[p][name] etc. Of course, this will only work for moudles that provide only one file. Aditya --8323328-479813366-1263423889=:27605 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --8323328-479813366-1263423889=:27605--