\externalfigure locator
![](https://secure.gravatar.com/avatar/d6e7462bd4209f9c4cd08271985a50df.jpg?s=120&d=mm&r=g)
Hello, is there a Lua version of external figure locator used by \externalfigure? Suppose having: ---- \setupexternalfigures[location={default,local,global},directory={../../Pics}] \externalfigure[mill] % Finds e.g. in d:\Ctx-Beta\tex\texmf-context\tex\context\sample\common\mill.png \externalfigure[MyPrettyPicture.jpg] % Finds e.g. in c:\Lukas\Pics\MyPrettyPicture.jpg ---- And I need a function like: ---- \startluacode local path path = assert(ExternalFileLocator("mill") == "d:/Ctx-Beta/tex/texmf-context/tex/context/sample/common/mill.png") path = assert(ExternalFileLocator("MyPrettyPicture.jpg") == "c:/Lukas/Pics/MyPrettyPicture.jpg") \stopluacode ---- So what to use in place of "ExternalFileLocator()"? TIA. Best regards, Lukas -- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 (+420 720 951 172) Fax: +420 244 461 038
participants (1)
-
Procházka Lukáš Ing.