From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31448 Path: news.gmane.org!not-for-mail From: Renaud AUBIN Newsgroups: gmane.comp.tex.context Subject: Re: Directories of pictures Date: Fri, 20 Oct 2006 14:48:41 +0200 Message-ID: <4538C5A9.3050503@nibua-r.org> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1161348556 2139 80.91.229.2 (20 Oct 2006 12:49:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Oct 2006 12:49:16 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 20 14:49:14 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gato2-00027V-A4 for gctc-ntg-context-518@m.gmane.org; Fri, 20 Oct 2006 14:48:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9C7691FF2D; Fri, 20 Oct 2006 14:48:57 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10029-04-5; Fri, 20 Oct 2006 14:48:51 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B35861FF1D; Fri, 20 Oct 2006 14:48:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CD9E51FF25 for ; Fri, 20 Oct 2006 14:48:49 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10182-01-6 for ; Fri, 20 Oct 2006 14:48:47 +0200 (CEST) Original-Received: from 27.mail-out.ovh.net (27.mail-out.ovh.net [213.186.38.137]) by ronja.ntg.nl (Postfix) with SMTP id 8FC811FF1C for ; Fri, 20 Oct 2006 14:48:47 +0200 (CEST) Original-Received: (qmail 14730 invoked by uid 503); 20 Oct 2006 12:50:24 -0000 Original-Received: from b6.ovh.net (HELO mail173.ha.ovh.net) (213.186.33.56) by 27.mail-out.ovh.net with SMTP; 20 Oct 2006 12:50:24 -0000 Original-Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 20 Oct 2006 12:48:32 -0000 Original-Received: from d83-179-99-76.cust.tele2.fr (HELO ?192.168.78.10?) (aubin@nibua-r.org@83.179.99.76) by ns0.ovh.net with SMTP; 20 Oct 2006 12:48:32 -0000 User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: fr, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Ovh-Remote: 83.179.99.76 (d83-179-99-76.cust.tele2.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|H 0.500002/N X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:31448 Archived-At: Maur=EDcio a =E9crit : > Hi, > > When I use \externalfigure inside of \placefigure, Context can only = >find filenames in the current directory, i.e., the directory where I'm = >executing texexec. How can I instruct Context to look for files on the = >same directory of my .tex file? > = > I have not read all the message before sending an answer... Sorry. Consider a small doc I've just written tomorrow: sample.tex \starttext \placefigure[here]{none}{ \startcombination[2*4] {\externalfigure[lignedroite1][width=3D.4\textwidth]}{} {\externalfigure[lignedroite2][width=3D.4\textwidth]}{} {\externalfigure[lignedroite3][width=3D.4\textwidth]}{} {\externalfigure[lignedroite4][width=3D.4\textwidth]}{} {\externalfigure[lignedroite5][width=3D.4\textwidth]}{} {\externalfigure[lignedroite6][width=3D.4\textwidth]}{} {\externalfigure[lignedroite7][width=3D.4\textwidth]}{} {\externalfigure[lignedroite8][width=3D.4\textwidth]}{} \stopcombination } \placefigure[here]{none}{ \startcombination[2*4] {\externalfigure[courbe1][width=3D.4\textwidth]}{} {\externalfigure[courbe2][width=3D.4\textwidth]}{} {\externalfigure[courbe3][width=3D.4\textwidth]}{} {\externalfigure[courbe4][width=3D.4\textwidth]}{} {\externalfigure[courbe5][width=3D.4\textwidth]}{} {\externalfigure[courbe6][width=3D.4\textwidth]}{} {\externalfigure[courbe7][width=3D.4\textwidth]}{} {\externalfigure[courbe8][width=3D.4\textwidth]}{} \stopcombination } \stoptext the directory contains: courbe1.png courbe6.png lignedroite1.png lignedroite6.png courbe2.png courbe7.png lignedroite2.png lignedroite7.png courbe3.png courbe8.png lignedroite3.png lignedroite8.png courbe4.png entrainement1.png lignedroite4.png reponse2010.tex courbe5.png entrainement2.png lignedroite5.png roue-vissansfin.png texexec sample give satisfaction... My previous answer assumes that your pictures are in ./src/images/ Renaud