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.
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
___________________________________________________________________________________

Reply via email to