From: Renaud AUBIN <aubin@nibua-r.org>
Subject: Re: Directories of pictures
Date: Fri, 20 Oct 2006 14:48:41 +0200 [thread overview]
Message-ID: <4538C5A9.3050503@nibua-r.org> (raw)
In-Reply-To: <ehafo6$to7$1@sea.gmane.org>
Maurício a écrit :
> 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=.4\textwidth]}{}
{\externalfigure[lignedroite2][width=.4\textwidth]}{}
{\externalfigure[lignedroite3][width=.4\textwidth]}{}
{\externalfigure[lignedroite4][width=.4\textwidth]}{}
{\externalfigure[lignedroite5][width=.4\textwidth]}{}
{\externalfigure[lignedroite6][width=.4\textwidth]}{}
{\externalfigure[lignedroite7][width=.4\textwidth]}{}
{\externalfigure[lignedroite8][width=.4\textwidth]}{}
\stopcombination
}
\placefigure[here]{none}{
\startcombination[2*4]
{\externalfigure[courbe1][width=.4\textwidth]}{}
{\externalfigure[courbe2][width=.4\textwidth]}{}
{\externalfigure[courbe3][width=.4\textwidth]}{}
{\externalfigure[courbe4][width=.4\textwidth]}{}
{\externalfigure[courbe5][width=.4\textwidth]}{}
{\externalfigure[courbe6][width=.4\textwidth]}{}
{\externalfigure[courbe7][width=.4\textwidth]}{}
{\externalfigure[courbe8][width=.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
next prev parent reply other threads:[~2006-10-20 12:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-20 12:34 Maurício
2006-10-20 12:41 ` Renaud AUBIN
2006-10-20 12:45 ` Jörg Hagmann
2006-10-20 14:29 ` Mari Voipio
2006-10-20 15:06 ` Maurício
2006-10-23 15:48 ` Maurício
2006-10-25 13:38 ` Hans Hagen
2006-10-26 3:48 ` Sanjoy Mahajan
2006-10-26 8:07 ` Hans Hagen
2006-10-20 12:48 ` Renaud AUBIN [this message]
2006-10-20 14:28 ` Maurício
2006-10-20 15:36 ` Hans Hagen
2006-10-23 15:43 ` Maurício
2006-10-23 20:56 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4538C5A9.3050503@nibua-r.org \
--to=aubin@nibua-r.org \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).