From: Hongwen Qiu <qiuhongwen@gmail.com>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Strange problem related to \usemodule
Date: Tue, 11 Oct 2011 09:39:16 +0800 [thread overview]
Message-ID: <1318297159.2821.3.camel@wind.river> (raw)
In-Reply-To: <4E92E08B.5010501@wxs.nl>
[-- Attachment #1: Type: text/plain, Size: 164 bytes --]
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].
[-- Attachment #2: b.log --]
[-- Type: text/x-log, Size: 6091 bytes --]
(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
[-- Attachment #3: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-10-11 1:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-10 4:57 Hongwen Qiu
2011-10-10 12:09 ` Hans Hagen
2011-10-11 1:39 ` Hongwen Qiu [this message]
2011-10-11 3:09 ` Aditya Mahajan
2011-10-11 3:40 ` Hongwen Qiu
2011-10-11 7:26 ` Hans Hagen
2011-10-11 8:30 ` Hongwen Qiu
2011-10-10 7:26 Hongwen Qiu
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=1318297159.2821.3.camel@wind.river \
--to=qiuhongwen@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.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).