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? Best regards, Lukas (ConTeXt ver: 2012.11.26 13:31 MKIV fmt: 2012.11.27 int: english/english) -- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
Am 12.02.2013 um 09:29 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
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
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
Thanks, Wolfgang. So, in this case there is an incorrect info on http://wiki.contextgarden.net/Command/setupexternalfigures; I'll correct it. Lukas -- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
On Tue, Feb 12, 2013 at 9:47 AM, Wolfgang Schuster wrote:
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}].
Just curious: how do PDFs from $TEXMF/doc/... sneak in (under default setup)? Mojca
On 2/12/2013 10:27 AM, Mojca Miklavec wrote:
On Tue, Feb 12, 2013 at 9:47 AM, Wolfgang Schuster wrote:
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}].
Just curious: how do PDFs from $TEXMF/doc/... sneak in (under default setup)?
there is no specific pattern for pdf so so it's a sort of wildcard search ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
Mojca Miklavec
-
Procházka Lukáš Ing. - Pontex s. r. o.
-
Wolfgang Schuster