Hi again, I have $ kpsewhich cow.pdf /opt/local/texmf/tex/context/sample/cow.pdf and \starttext \externalfigure[cow] Hello world! \stoptext But all I get is: (hello.log - see second line) systems : begin file hello at line 2 figures : figure cow can not be found color : system rgb is local activated Latest beta, of course. It looks as if kpathsea doesn't look in the samples directory. kdebug:kpse_find_file: searching for ./cow.pdf of type tex (from texmf.cnf) kdebug:start search(files=[./cow.pdf.tex ./cow.pdf], must_exist=0, find_all=0, path=.:!!/var/tmp/te tex3/texmf-config/tex/context//[....nothing with "sample"....] Is this a known new feature? Patrick -- ConTeXt wiki and more: http://contextgarden.net
Taco Hoekwater wrote:
Patrick Gundlach wrote:
Is this a known new feature?
I think so yes, because:
core-fig: * dont do a global image searches any more
You have to set the graphics path to something to get search functionality, I believe.
one gets bitten too often by the global tex inputs searchm esp when one wants do to auto-conversion; too big a change that there is some file with the same name living in the tree; you can add 'default' to the location parameter: location={local,global,default} ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
[...]
location={local,global,default}
OK, \setupexternalfigures[location={local,global,default}] does the trick. Thanks, Patrick -- ConTeXt wiki and more: http://contextgarden.net
Hi
You have to set the graphics path to something to get search functionality, I believe.
still no luck: \setupexternalfigures[directory={/opt/local/texmf/tex/context/sample}] in cont-sys.tex and cow.pdf is definately at /opt/local/texmf/tex/context/sample/cow.pdf but still "figures : figure cow can not be found" Patrick -- ConTeXt wiki and more: http://contextgarden.net
participants (3)
-
Hans Hagen
-
Patrick Gundlach
-
Taco Hoekwater