From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71648 Path: news.gmane.org!not-for-mail From: Hongwen Qiu Newsgroups: gmane.comp.tex.context Subject: Re: Strange problem related to \usemodule Date: Tue, 11 Oct 2011 09:39:16 +0800 Message-ID: <1318297159.2821.3.camel@wind.river> References: <1318222642.3135.21.camel@wind.river> <4E92E08B.5010501@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-elQTFuW3lwihRkllHI+I" X-Trace: dough.gmane.org 1318297052 7128 80.91.229.12 (11 Oct 2011 01:37:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 Oct 2011 01:37:32 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 11 03:37:28 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 1RDRHb-00068F-MB for gctc-ntg-context-518@m.gmane.org; Tue, 11 Oct 2011 03:37:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3ED16CB01C; Tue, 11 Oct 2011 03:37:26 +0200 (CEST) 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 AIRo1B3bSGXY; Tue, 11 Oct 2011 03:37:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2A366CB019; Tue, 11 Oct 2011 03:37:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 83B2DCB019 for ; Tue, 11 Oct 2011 03:37:21 +0200 (CEST) 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 tPYqaueZv8L4 for ; Tue, 11 Oct 2011 03:37:10 +0200 (CEST) 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 2592BCB016 for ; Tue, 11 Oct 2011 03:37:10 +0200 (CEST) Original-Received: from mail-yw0-f41.google.com (mail-yw0-f41.google.com [209.85.213.41]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p9B1b89C013064 for ; Tue, 11 Oct 2011 03:37:09 +0200 Original-Received: by ywe9 with SMTP id 9so8027801ywe.14 for ; Mon, 10 Oct 2011 18:37:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:to:cc:date:in-reply-to:references:content-type :x-mailer:message-id:mime-version; bh=aoqW9Is/4II6U/BoVcI04wSlF7cwhdqZDOllbBgv52c=; b=o6jrbjhL14e3UXmHclnmS24PHuCacatVHskzOppdVoLZJXdYxLYIftV3rh5z0mNFFK M7Tn/apsb9voC7eFZmjakp03q67Mvw5ct/5qg7bSykSd0ds/7nMZ6CKEa/u9P8Q2NYUN jJ0x1wCkj+WywqH69YULB9sRrOm53z9DKjGN4= Original-Received: by 10.68.55.100 with SMTP id r4mr41194394pbp.69.1318297027430; Mon, 10 Oct 2011 18:37:07 -0700 (PDT) Original-Received: from [172.16.21.35] ([116.6.21.98]) by mx.google.com with ESMTPS id ki1sm73500204pbb.3.2011.10.10.18.37.05 (version=SSLv3 cipher=OTHER); Mon, 10 Oct 2011 18:37:06 -0700 (PDT) In-Reply-To: <4E92E08B.5010501@wxs.nl> X-Mailer: Evolution 3.0.3 (3.0.3-1.fc15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.213.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: 0eFHdB8JR - 4a9a15a9414b - 20111011 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:71648 Archived-At: --=-elQTFuW3lwihRkllHI+I Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Mon, 2011-10-10 at 14:09 +0200, Hans Hagen wrote: > can you run with \enabletrackers[modules.loading] Attached is the log with \enabletrackers[modules.loading]. --=-elQTFuW3lwihRkllHI+I Content-Disposition: attachment; filename="b.log" Content-Type: text/x-log; name="b.log"; charset="UTF-8" Content-Transfer-Encoding: 7bit (b.tex ConTeXt ver: 2011.10.08 11:42 MKIV fmt: 2011.10.10 int: english/english system > cont-new.mkiv loaded (/ifs2/S2PH/qiuhw/opt/context-1008/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > b.top loaded system > options > start used options used options > % runtime options files (command line driven) used options > \unprotect used options > % feedback and basic job control used options > % handy for special styles used options > \startluacode used options > document = document or { } used options > document.arguments={ used options > } used options > document.files={ used options > "b.tex", used options > } used options > \stopluacode used options > % process info used options > \setupsystem[inputfile=b.tex] used options > \setupsystem[\c!n=1,\c!m=1] used options > % modes used options > % options (not that important) used options > \startsetups *runtime:options used options > \stopsetups used options > % styles and modules used options > \startsetups *runtime:modules used options > \stopsetups used options > % done used options > \protect \endinput system > options > stop used options (b.top) fonts > latin modern fonts are not preloaded languages > language en is active resolvers > modules > locating: prefix: '', askedname: 'vim', truename: 'vim' resolvers > modules > checking file: 'm-vim.mkvi' resolvers > modules > checking file: 'm-vim.mkiv' resolvers > modules > checking file: 'm-vim.tex' resolvers > modules > checking file: 'm-vim.cld' resolvers > modules > checking file: 'm-vim.lua' resolvers > modules > checking file: 'p-vim.mkvi' resolvers > modules > checking file: 'p-vim.mkiv' resolvers > modules > checking file: 'p-vim.tex' resolvers > modules > checking file: 'p-vim.cld' resolvers > modules > checking file: 'p-vim.lua' resolvers > modules > checking file: 's-vim.mkvi' resolvers > modules > checking file: 's-vim.mkiv' resolvers > modules > checking file: 's-vim.tex' resolvers > modules > checking file: 's-vim.cld' resolvers > modules > checking file: 's-vim.lua' resolvers > modules > checking file: 'x-vim.mkvi' resolvers > modules > checking file: 'x-vim.mkiv' resolvers > modules > checking file: 'x-vim.tex' resolvers > modules > checking file: 'x-vim.cld' resolvers > modules > checking file: 'x-vim.lua' resolvers > modules > checking file: 'v-vim.mkvi' resolvers > modules > checking file: 'v-vim.mkiv' resolvers > modules > checking file: 'v-vim.tex' resolvers > modules > checking file: 'v-vim.cld' resolvers > modules > checking file: 'v-vim.lua' resolvers > modules > checking file: 't-vim.mkvi' resolvers > modules > checking file: 't-vim.mkiv' resolvers > modules > checking file: 't-vim.tex' resolvers > modules > loading: '/ifs2/S2PH/qiuhw/opt/context-1008/tex/texmf-modules/tex/context/third/vim/t-vim.tex' resolvers > modules > loaded: 'vim' ! Undefined control sequence. system > tex > error on line 4 in file b.tex: Undefined control sequence ... 1 \enabletrackers[modules.loading] 2 \usemodule[vim] 3 4 >> \definevimtyping[RUBY][syntax=ruby] 5 6 \starttext 7 8 \startRUBY 9 puts "Hello" 10 \stopRUBY 11 12 \stoptext 13 l.4 \definevimtyping [RUBY][syntax=ruby] ? X system > files > start used files used files > 1: filename=mult-mps.lua | filetype=tex | format=tex | foundname=/ifs2/S2PH/qiuhw/opt/context-1008/tex/texmf-context/tex/context/base/mult-mps.lua | usedmethod=database used files > 2: filename=b.tex | foundname=b.tex | usedmethod=direct used files > 3: filename=cont-new.mkiv | filetype=tex | foundname=/ifs2/S2PH/qiuhw/opt/context-1008/tex/texmf-context/tex/context/base/cont-new.mkiv | usedmethod=database used files > 4: filename=b.top | foundname=b.top | usedmethod=direct used files > 5: filename=lang-us.lua | filetype=lua | foundname=/ifs2/S2PH/qiuhw/opt/context-1008/tex/texmf-context/tex/context/patterns/lang-us.lua | usedmethod=database used files > 6: filename=t-vim.tex | filetype=tex | foundname=/ifs2/S2PH/qiuhw/opt/context-1008/tex/texmf-modules/tex/context/third/vim/t-vim.tex | usedmethod=database system > files > stop used files system > structure > start used structure used structure > text: b system > structure > stop used structure mkiv lua stats > used config file - selfautoparent:texmf/web2c/texmfcnf.lua mkiv lua stats > used cache path - /ifs2/S2PH/qiuhw/opt/context-1008/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606 mkiv lua stats > resource resolver - loadtime 0.032 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 6 found files, scanned paths: mkiv lua stats > stored bytecode data - 295 modules, 63 tables, 358 chunks mkiv lua stats > cleaned up reserved nodes - 32 nodes, 9 lists of 424 mkiv lua stats > node memory usage - 18 glue_spec, 1 dir mkiv lua stats > node list callback tasks - 6 unique task lists, 1 instances (re)created, 104 calls mkiv lua stats > used backend - pdf (backend for directly generating pdf output) mkiv lua stats > loaded tex modules - 1 requested, 1 found (*-vim), 0 missing mkiv lua stats > loaded patterns - en::2 mkiv lua stats > callbacks - 114 direct, 619 indirect, 733 total mkiv lua stats > result saved in file - b.pdf mkiv lua stats > luatex banner - this is luatex, version beta-0.70.1-2011051918 (rev 4277) mkiv lua stats > control sequences - 29441 of 165536 mkiv lua stats > current memory usage - 25 MB (ctx: 26 MB) mkiv lua stats > runtime - 2.787 seconds --=-elQTFuW3lwihRkllHI+I Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --=-elQTFuW3lwihRkllHI+I--