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