[NTG-context] loading figure in LuaTeX

2009-05-21 Thread Dalyoung Jeong
Dear all, I tried to load figure in LuaTeX, but I couldn't succeed. However, it is perfectly working in ConTeXt and XeConTeXt. I don't know what is wrong. best regads, Dalyoung My system is Mac 10.5.6, ConTeXt Minimal, LuaTeX ver 0.40.1. Here is a short test file. \starttext

Re: [NTG-context] loading figure in LuaTeX

2009-05-21 Thread Yanrui Li
Hi Dalyoung, You should use the absolute path for your figure, such as: \externalfigure[/home/your-name/Documents/figures/math-shapes/moebius-band][] On Thu, May 21, 2009 at 5:03 PM, Dalyoung Jeong hak...@mac.com wrote: Dear all, I tried to load figure in LuaTeX, but I couldn't succeed.

Re: [NTG-context] loading figure in LuaTeX

2009-05-21 Thread Alan BRASLAU
Or \setupexternalfigures[directory={figures/math-shapes}], assuming that you are running from ~/Documents. This can be a relative path such as {../figures/math-shapes}, for example if you are compiling in a subdirectory. I suspect that your problem, as pointed out, is the expansion of the ~

Re: [NTG-context] loading figure in LuaTeX

2009-05-21 Thread polytope
Thank you for help. It worked if I use the absolute path in LuaTeX, but it is not working in ConTeXt and XeConTeXt. On the otherhand, the relative path is working in ConTeXt and XeConTeXt but in LuaTeX. I'll do more tests. Is it normal? Anyway, I got the result. Thank you again. Best