Am 15.05.2013 um 09:23 schrieb Jaroslav Hajtmar <hajt...@gyza.cz>: > Hello ConTeXist. > I would like get right URL, when I use \useURL command. > Is there possibilities put any TeX macro to first and second parameter? > It was clear to me why this is about, but I need it for one application (in > the cycle I change URL addresses).
Why can you change the \def lines but not the \useURL settings, both are set at the begin of the document? > Thanx Jaroslav Hajtmar > > Here is my minimal example: > > > \setupinteraction[state=start] > > \def\myurl{http://mydomain.com/path/} > \def\myfile{mypdffile.pdf} > \def\urltext{This is link to my file} > > \useURL[okexample][http://mydomain.com/path][mypdffile.pdf][\urltext] > \useURL[problemexample][\myurl][\myfile][\urltext] \expanded{\useURL[…][…][…][…]} Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________