From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71635 Path: news.gmane.org!not-for-mail From: Hongwen Qiu Newsgroups: gmane.comp.tex.context Subject: Re: Strange problem related to \usemodule Date: Mon, 10 Oct 2011 15:26:27 +0800 Message-ID: <1318231590.3135.31.camel@wind.river> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1318231486 16187 80.91.229.12 (10 Oct 2011 07:24:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 10 Oct 2011 07:24:46 +0000 (UTC) To: Ntg-context Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 10 09:24:40 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 1RDAE4-0000eY-BZ for gctc-ntg-context-518@m.gmane.org; Mon, 10 Oct 2011 09:24:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 66BD2CB012; Mon, 10 Oct 2011 09:24:39 +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 MytcdzrDNQGf; Mon, 10 Oct 2011 09:24:35 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B9CD0CB00D; Mon, 10 Oct 2011 09:24:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D8639CB00D for ; Mon, 10 Oct 2011 09:24:32 +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 GD3MqHCABUIK for ; Mon, 10 Oct 2011 09:24:21 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 83AC0CB002 for ; Mon, 10 Oct 2011 09:24:21 +0200 (CEST) Original-Received: from mail-iy0-f169.google.com (mail-iy0-f169.google.com [209.85.210.169]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p9A7OJqn020113 for ; Mon, 10 Oct 2011 09:24:20 +0200 Original-Received: by iaen33 with SMTP id n33so10729722iae.14 for ; Mon, 10 Oct 2011 00:24:19 -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 :content-transfer-encoding:message-id:mime-version; bh=EhwfwbnfNJVRCV2c6gWt0EVI02RppH+7INZ/+/F5i2M=; b=j0wS+4tR+zsRdZnN0kcLm48qiIX2NMCe25PUh0SjYx4MLpt9LhHcadFLzKPyzI/WIa 6n9fNvGo2kAKILOLzDQdW6HgcWPI68ZXzsYxU58HDs9ck7nOuqirM66xNU1ujmVJoz+/ VOcuPENS4f4JZAAmjtvWUFRhwUZhhJGhzuIzs= Original-Received: by 10.43.130.133 with SMTP id hm5mr14610516icc.11.1318231459028; Mon, 10 Oct 2011 00:24:19 -0700 (PDT) Original-Received: from [172.16.21.35] ([116.6.21.98]) by mx.google.com with ESMTPS id el2sm44654774ibb.10.2011.10.10.00.24.17 (version=SSLv3 cipher=OTHER); Mon, 10 Oct 2011 00:24:18 -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.210.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: 0aFGTojfe - 6fe32fa64395 - 20111010 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:71635 Archived-At: It seems that if I copied all of the module files under the current directory, it works perfectly. And of course mtxrun --locate t-vim.tex gives the correct location just as indicated by my previously attached log file. And there's only one environment variable corresponding to TeX settings: $ env |grep -i TEX PATH=/ifs2/S2PH/qiuhw/opt/context-1008/tex/texmf-linux-64/bin:.... (It's very long) Actually not only the modules under tex/texmf-modules not work on the "Remote", but also modules under tex/texmf-local don't work either. On Mon, 2011-10-10 at 12:57 +0800, Hongwen Qiu wrote: > 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. ___________________________________________________________________________________ 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 ___________________________________________________________________________________