From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71634 Path: news.gmane.org!not-for-mail From: Hongwen Qiu Newsgroups: gmane.comp.tex.context Subject: Strange problem related to \usemodule Date: Mon, 10 Oct 2011 12:57:08 +0800 Message-ID: <1318222642.3135.21.camel@wind.river> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-RrdsLRpjUdqkKM2rPwnW" X-Trace: dough.gmane.org 1318222541 31730 80.91.229.12 (10 Oct 2011 04:55:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 10 Oct 2011 04:55:41 +0000 (UTC) To: Ntg-context Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 10 06:55:36 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 1RD7tn-0000zI-I6 for gctc-ntg-context-518@m.gmane.org; Mon, 10 Oct 2011 06:55:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D998BCB00E; Mon, 10 Oct 2011 06:55:33 +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 93TfN+DN2wdQ; Mon, 10 Oct 2011 06:55:30 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B77B2CB00B; Mon, 10 Oct 2011 06:55:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EB0B5CB00B for ; Mon, 10 Oct 2011 06:55:28 +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 K62m7uAbiyyi for ; Mon, 10 Oct 2011 06:55:17 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 93736CB002 for ; Mon, 10 Oct 2011 06:55:17 +0200 (CEST) Original-Received: from mail-gx0-f169.google.com (mail-gx0-f169.google.com [209.85.161.169]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p9A4tCXu029207 for ; Mon, 10 Oct 2011 06:55:16 +0200 Original-Received: by ggdk5 with SMTP id k5so5549141ggd.14 for ; Sun, 09 Oct 2011 21:55:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:to:date:content-type:x-mailer:message-id:mime-version; bh=zaTD/SCl18/toyO0iqbtNm6PF26dCWQGOogEOZO1tds=; b=S4NGzc0g7clZr6Cl1U6fJQJw2/6XoccFCMX/jbL8vOHnr3fUPTVL2s0dLqySnQXs60 pxx2P+QBpK1eRuMUz05bJ4Necl1jrxlYNFtKNtPh+kXO6IPubj0CTF7JP1B4rvbwU5ER rEkHYbVIjroQ+RYvCwLdDlN6Rt07zEQyhNYYs= Original-Received: by 10.182.41.7 with SMTP id b7mr7528961obl.14.1318222511491; Sun, 09 Oct 2011 21:55:11 -0700 (PDT) Original-Received: from [172.16.21.35] ([116.6.21.98]) by mx.google.com with ESMTPS id p5sm125557obp.5.2011.10.09.21.55.09 (version=SSLv3 cipher=OTHER); Sun, 09 Oct 2011 21:55:11 -0700 (PDT) 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.161.169; 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: 03FGQTcRC - 78bb9e3512c3 - 20111010 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:71634 Archived-At: --=-RrdsLRpjUdqkKM2rPwnW Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hi, I have access to three machines both running GNU/Linux x86-64, I call them "Laptop", "Desktop" and "Remote" respectively here on. The "Laptop" has full access to the internet, so I always install and upgrade my ConTeXt Standalone on it when I'm home. At workplace, I can surfer the internet with the "Desktop" while the RSYNC port is blocked. I only can access the "Remote" through ssh from the "Desktop" without root privilege and can not access the internet. So, I always copied the ConTeXt standalone from my "Laptop" onto my "Desktop", and from my "Desktop" onto "Remote" if necessary. Then, I'll delete the cache before I set the PATH to the appropriate location and run context --make and mtxrun --generate. So the ConTeXt standalones are almost identical on both my "Desktop" and "Remote". And the following minimal example just works fine on my "Desktop" but failed on the "Remote", =========== Minimal Example ============================ \usemodule[vim] \definevimtyping[RUBY][syntax=ruby] \starttext \startRUBY puts "Hello" \stopRUBY \stoptext ========================================================= Actually, on "Remote", whatever module I use, it will prompt the Undefined Control Sequence error regarding the first command I used from that module with the module loaded correctly. Attached is the error log accompany the above minimal example. So, what can be the problem with my "Remote". TIA. for any help. --=-RrdsLRpjUdqkKM2rPwnW 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 > loaded: 'vim' ! Undefined control sequence. system > tex > error on line 3 in file b.tex: Undefined control sequence ... 1 \usemodule[vim] 2 3 >> \definevimtyping[RUBY][syntax=ruby] 4 5 \starttext 6 7 \startRUBY 8 puts "Hello" 9 \stopRUBY 10 11 \stoptext 12 l.3 \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.016 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, 618 indirect, 732 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 - 3.384 seconds --=-RrdsLRpjUdqkKM2rPwnW 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 ___________________________________________________________________________________ --=-RrdsLRpjUdqkKM2rPwnW--