From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64868 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: How to get graph module (metapost) to work with ConTeXt minimals? Date: Sat, 1 Jan 2011 21:03:56 +0100 Message-ID: <74051150-EB99-4BA5-9C2A-75A3EEAE5875@gmail.com> References: <4D1C59EF.3080403@ziggo.nl> <4D1DA419.5010707@ziggo.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1293912506 21263 80.91.229.12 (1 Jan 2011 20:08:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 1 Jan 2011 20:08:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 01 21:08:19 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PZ7kR-00057Z-Br for gctc-ntg-context-518@m.gmane.org; Sat, 01 Jan 2011 21:08:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2C2E6CA967; Sat, 1 Jan 2011 21:08:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 745rt9HxyLHA; Sat, 1 Jan 2011 21:08:06 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 740A6CA969; Sat, 1 Jan 2011 21:08:06 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 53941CA969 for ; Sat, 1 Jan 2011 21:08:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NIqEW-NyQ3JJ for ; Sat, 1 Jan 2011 21:07:48 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id C6121CA967 for ; Sat, 1 Jan 2011 21:07:48 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p01K7lmL029014 for ; Sat, 1 Jan 2011 21:07:48 +0100 Original-Received: by bwz16 with SMTP id 16so13790249bwz.14 for ; Sat, 01 Jan 2011 12:07:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=/TRYUAclOVVRMkebl2bxdjOLVTuPOG0PPEhy08cE6Ok=; b=kFkQ5JiHqkGRJbAceb/Pn1wWNAtD6PHeYJF8ICQOG9c3gTsEa0nxNuUxblM+V3AEP1 ptCMWdV3/oojH2lB0P0gZE1aDvT6+CBCCoPDsJtBBS4pumFldfK3R7z8bLbXXNOtRX1a wcOH7UkrYOu7RxEWAMBnezg0GfULJFhV9Lwwc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=wfYwW799WckolkgDjrNguEl+N2hHsQmbP3qkJFNFE2nXNHTH8giaRu2n0gl8xi2Cof 7NWhaT5opK2nAv7FX+FHkZCzulND+BXAe9Hs9ewt2zmvG9W3cuq7kNtgLjlob331UWp3 02BERphG0/rAVo43tMju3thSViQ896RA84c1Y= Original-Received: by 10.204.63.2 with SMTP id z2mr7736759bkh.66.1293912467730; Sat, 01 Jan 2011 12:07:47 -0800 (PST) Original-Received: from [192.168.2.23] (p5B2946DF.dip.t-dialin.net [91.41.70.223]) by mx.google.com with ESMTPS id q18sm10594448bka.15.2011.01.01.12.07.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 01 Jan 2011 12:07:45 -0800 (PST) In-Reply-To: <4D1DA419.5010707@ziggo.nl> X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eDOk7MhX - aad13491de2a - 20110101 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:64868 Archived-At: 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 =93mkii=94 MkII = and =93mkiv=94 for MkIV and only used in modules. \usemodule does a lot more than this, the first is that it checks for the g= iven module with different prefixes (the graph module has a =93m-=94 prefix= which means it=92s a core module) and it also looks for file with differen= t extension, this means it doesn=92t matter if the module is called m-graph= .tex, m-graph.mkiv or even t-graph.mkiv, \usemodule will always load the mo= dule while \loadmarkfile will only load m-graph.mkiv When you load a file with \loadmarkfile and the file is not present you wil= l 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 t= he processing isn=92t stopped, as a last thing \usemodule loads a module on= ly once while \loadmarkfile will always read the file. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________