ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Locating a figure
Date: Tue, 12 Feb 2013 09:47:45 +0100	[thread overview]
Message-ID: <2218E69E-D7FD-40E2-804F-C0FAC8915B90@gmail.com> (raw)
In-Reply-To: <op.wsdwj0mztpjj8f@lpr>


Am 12.02.2013 um 09:29 schrieb Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz>:

> Hello,
> 
> Ctx is not able to find a figure:
> 
> ----
> \starttext
>    \setupexternalfigures[location=local,directory={4Essel}]
> 
>    \externalfigure[Dum-Poh.jpg] % Fails to find - Ctx uses a "dummy figure"
>    \externalfigure[4Essel/Dum-Poh.jpg] % OK
> \stoptext
> ----
> 
> I'm running Ctx from
> 
> c:\Lukas\Personal\Real\Ales
> 
> with figures located in
> 
> c:\Lukas\Personal\Real\Ales\4Essel\*.jpg
> 
> What am I doing wrong?


With “location=local” you limit context to search only in the local directory.


The location key accepts three arguments:

- local (search in the current directory)
- global (search path specified with the directory key)
- default (search in the tex directory)


The default setup for the search is \setupexternalfigures[location={local,global}].

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
___________________________________________________________________________________

  reply	other threads:[~2013-02-12  8:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-12  8:29 Procházka Lukáš Ing. - Pontex s. r. o.
2013-02-12  8:47 ` Wolfgang Schuster [this message]
2013-02-12  9:26   ` Procházka Lukáš Ing. - Pontex s. r. o.
2013-02-12  9:27   ` Mojca Miklavec
2013-02-13 17:24     ` 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=2218E69E-D7FD-40E2-804F-C0FAC8915B90@gmail.com \
    --to=wolfgang.schuster@gmail.com \
    --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).