ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Locating a figure
@ 2013-02-12  8:29 Procházka Lukáš Ing. - Pontex s. r. o.
  2013-02-12  8:47 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2013-02-12  8:29 UTC (permalink / raw)
  To: ConTeXt

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

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Locating a figure
  2013-02-12  8:29 Locating a figure Procházka Lukáš Ing. - Pontex s. r. o.
@ 2013-02-12  8:47 ` Wolfgang Schuster
  2013-02-12  9:26   ` Procházka Lukáš Ing. - Pontex s. r. o.
  2013-02-12  9:27   ` Mojca Miklavec
  0 siblings, 2 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2013-02-12  8:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Locating a figure
  2013-02-12  8:47 ` Wolfgang Schuster
@ 2013-02-12  9:26   ` Procházka Lukáš Ing. - Pontex s. r. o.
  2013-02-12  9:27   ` Mojca Miklavec
  1 sibling, 0 replies; 5+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2013-02-12  9:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

> 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

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Locating a figure
  2013-02-12  8:47 ` Wolfgang Schuster
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2013-02-12  9:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Locating a figure
  2013-02-12  9:27   ` Mojca Miklavec
@ 2013-02-13 17:24     ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2013-02-13 17:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-02-13 17:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-12  8:29 Locating a figure Procházka Lukáš Ing. - Pontex s. r. o.
2013-02-12  8:47 ` Wolfgang Schuster
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

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).