Am 31.12.2010 um 10:36 schrieb Verhaag, G.C.H.M.:

> So I understand that both statements:
> 
> \loadmarkfile{m-graph}
> 
> \usemodule[graph]
> 
> are actually the same thing!

Both work but they are not the same thing.

\loadmarkfile loads only the given file with the extension “mkii” MkII and 
“mkiv” for MkIV and only used in modules.

\usemodule does a lot more than this, the first is that it checks for the given 
module with different prefixes (the graph module has a “m-” prefix which means 
it’s a core module) and it also looks for file with different extension, this 
means it doesn’t matter if the module is called m-graph.tex, m-graph.mkiv or 
even t-graph.mkiv, \usemodule will always load the module while \loadmarkfile 
will only load m-graph.mkiv

When you load a file with \loadmarkfile and the file is not present you will 
get a message on the terminal to give a different file name which aborts the 
tex run while \usemodule will only give a message on the terminal but the 
processing isn’t stopped, as a last thing \usemodule loads a module only once 
while \loadmarkfile will always read the file.

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
___________________________________________________________________________________

Reply via email to