ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Verhaag, G.C.H.M." <verhaaggchm@ziggo.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How to get graph module (metapost) to work with ConTeXt minimals?
Date: Mon, 03 Jan 2011 10:39:08 +0100	[thread overview]
Message-ID: <4D21993C.7010608@ziggo.nl> (raw)
In-Reply-To: <74051150-EB99-4BA5-9C2A-75A3EEAE5875@gmail.com>

Wolfgang Schuster wrote:

>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
>
>
>  
>
Thanks for explaining the differences of the two statements!

Regards,
Gerard
___________________________________________________________________________________
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	other threads:[~2011-01-03  9:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-30 10:07 Verhaag, G.C.H.M.
2010-12-30 12:03 ` Martin 'golodhrim' Scholz
2010-12-30 14:18   ` Verhaag, G.C.H.M.
2010-12-31 12:49     ` Alan BRASLAU
2010-12-30 12:53 ` contextgarden down? Jan-Erik Hägglöf
2010-12-30 13:12   ` luigi scarso
2010-12-30 13:27     ` Khaled Hosny
2010-12-30 13:43       ` luigi scarso
2010-12-30 13:49         ` Jan-Erik Hägglöf
2010-12-30 14:20   ` Martin Schröder
2010-12-30 15:16     ` Patrick Gundlach
2010-12-30 15:03 ` How to get graph module (metapost) to work with ConTeXt minimals? Wolfgang Schuster
2010-12-31  9:36   ` Verhaag, G.C.H.M.
2011-01-01 20:03     ` Wolfgang Schuster
2011-01-03  9:39       ` Verhaag, G.C.H.M. [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D21993C.7010608@ziggo.nl \
    --to=verhaaggchm@ziggo.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).