[NTG-context] Processing URL with TeX macros

Wolfgang Schuster schuster.wolfgang at gmail.com
Wed May 15 09:40:07 CEST 2013

Am 15.05.2013 um 09:23 schrieb Jaroslav Hajtmar <hajtmar at 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]



More information about the ntg-context mailing list