Re: [NTG-context] Locating a figure

2013-02-13 Thread Hans Hagen

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
___


Re: [NTG-context] Locating a figure

2013-02-12 Thread Mojca Miklavec
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
___


Re: [NTG-context] Locating a figure

2013-02-12 Thread Procházka Lukáš Ing . - Pontex s . r . o .

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:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@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
___

Re: [NTG-context] Locating a figure

2013-02-12 Thread Wolfgang Schuster

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