![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
15 Dec
2009
15 Dec
'09
2:29 p.m.
On Tue, 15 Dec 2009, Hans Hagen wrote:
i'll add:
\def\doifurldefinedelse {\ctxlua{commands.doifurldefinedelse ("#1")}} \def\doiffiledefinedelse{\ctxlua{commands.doiffiledefinedelse("#1")}}
Can you also add corresponding commands in MkII. The practex module needs to work with both MkII and MkIV.
fyi ... you can use constructs like:
function commands.doifurldefinedelse(name) commands.doifelse(jobreferences.urls.data[name]) end
Ah, thanks. Aditya