15 Dec
2009
15 Dec
'09
9: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