On 4/19/2013 11:27 PM, Jan Heinen wrote:
An example which was working with ConText (version beginning 2012) - and
now I get an error:
\define\imagepath {/home/janis/images}
\starttext
\externalfigure[\imagepath/test.jpg]
\stoptext
LuaTeX error [string "\directlua "]:1: invalid escape sequence near '\i'
Without my parameter \imagepath there ist no problem.
\defineexpandble\imagepath {/home/janis/images}
And if I want to see the "echo" of the parameter with
\imagepath
I get "/home/janis/images" which I expect.
I need parameters very often. How can I use my parameter \imagepath in
\externafigure?
Regards
Janis
___________________________________________________________________________________
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
___________________________________________________________________________________
--
-----------------------------------------------------------------
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
___________________________________________________________________________________