From: "Procházka Lukáš Ing. - Pontex s. r. o." <LPr@pontex.cz>
To: ConTeXt <ntg-context@ntg.nl>
Subject: \...structurelevel - probably a bug in the last version
Date: Mon, 09 Apr 2012 08:40:50 +0200 [thread overview]
Message-ID: <op.wchjicxztpjj8f@lpr> (raw)
[-- Attachment #1: Type: text/plain, Size: 1101 bytes --]
Hello,
I've just updated ConTeXt.
The following code used to work so far, now I'm getting error:
----
\definestructurelevels[A][section,]
\starttext
\startstructurelevel[A][title=Title]
\input knuth
\stopstructurelevel
\stoptext
----
"
This is LuaTeX, Version beta-0.70.1-2012032923 (TeX Live 2012)
...
ConTeXt ver: 2012.04.07 14:42 MKIV fmt: 2012.4.9 int: english/english
...
! LuaTeX error <main ctx instance>:1: attempt to call field 'startautolevel' (a nil value)
stack traceback:
<main ctx instance>:1: in main chunk.
system > tex > error on line 4 in file C:/Lukas/Jobs/D5-035.Zat/SO_201/Texts/Test/t2.mkiv:
1 \definestructurelevels[A][subsubsubsection,]
2
3 \starttext
4 >> \startstructurelevel[A][title=Title]
5 \input knuth
6 \stopstructurelevel
7 \stoptext
8
"
Best regards,
Lukas
--
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4
Tel: +420 244 062 238
Fax: +420 244 461 038
[-- Attachment #2: t2.log --]
[-- Type: application/octet-stream, Size: 13138 bytes --]
(C:/Lukas/Jobs/D5-035.Zat/SO_201/Texts/Test/t2.mkiv
ConTeXt ver: 2012.04.07 14:42 MKIV fmt: 2012.4.9 int: english/english
system > cont-new.mkiv loaded
(c:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv
system > beware: some patches loaded from cont-new.mkiv
)
system > t2.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 > \nonstopmode
used options > % handy for special styles
used options > \startluacode
used options > document = document or { }
used options > document.arguments={
used options > ["FILE"]="t2.mkiv",
used options > ["halt-on-error"]=true,
used options > ["nonstopmode"]=true,
used options > }
used options > document.files={
used options > "C:/Lukas/Jobs/D5-035.Zat/SO_201/Texts/Test/t2.mkiv",
used options > }
used options > \stopluacode
used options > % process info
used options > \setupsystem[inputfile=C:/Lukas/Jobs/D5-035.Zat/SO_201/Texts/Test/t2.mkiv]
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
(t2.top
)
fonts > latin modern fonts are not preloaded
languages > language en is active
{c:/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts > preloading latin modern fonts (second stage)
fonts > typescripts > unknown: library 'loc'
{c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts > virtual math > unable to resolve name mapsfromchar
fonts > fallback modern rm 12pt is loaded
! LuaTeX error <main ctx instance>:1: attempt to call field 'startautolevel' (a nil value)
stack traceback:
<main ctx instance>:1: in main chunk.
system > tex > error on line 4 in file C:/Lukas/Jobs/D5-035.Zat/SO_201/Texts/Test/t2.mkiv: LuaTeX error ...
1 \definestructurelevels[A][section,]
2
3 \starttext
4 >> \startstructurelevel[A][title=Title]
5 \input knuth
6 \stopstructurelevel
7 \stoptext
8
\ctxcommand ...\directlua \zerocount {commands.#1}
l.4 \startstructurelevel[A]
[title=Title]
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.
(c:/ConTeXt/tex/texmf-context/tex/context/sample/knuth.tex)
backend > xmp > using file 'c:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1
)<c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>
system > files > start used files
used files > 1: filename=C:/Lukas/Jobs/D5-035.Zat/SO_201/Texts/Test/t2.mkiv | foundname=C:/Lukas/Jobs/D5-035.Zat/SO_201/Texts/Test/t2.mkiv | usedmethod=direct
used files > 2: filename=cont-new.mkiv | filetype=tex | foundname=c:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv | usedmethod=otherwise
used files > 3: filename=t2.top | foundname=t2.top | usedmethod=direct
used files > 4: filename=lang-us.lua | filetype=lua | foundname=c:/ConTeXt/tex/texmf-context/tex/context/patterns/lang-us.lua | usedmethod=otherwise
used files > 5: filename=mkiv-base.map | filetype=map | format=map | foundname=c:/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map | usedmethod=otherwise
used files > 6: filename=lm.lfg | filetype=tex | foundname=c:/ConTeXt/tex/texmf-context/tex/context/fonts/lm.lfg | usedmethod=otherwise
used files > 7: filename=lm-math.lfg | filetype=tex | foundname=c:/ConTeXt/tex/texmf-context/tex/context/fonts/lm-math.lfg | usedmethod=otherwise
used files > 8: filename=lm-math.map | filetype=map | format=map | foundname=c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map | usedmethod=otherwise
used files > 9: filename=lm-rm.map | filetype=map | format=map | foundname=c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map | usedmethod=otherwise
used files > 10: filename=lmroman12-regular | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf | usedmethod=otherwise
used files > 11: filename=lmroman7-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman7-regular.otf | usedmethod=otherwise
used files > 12: filename=rm-lmr7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/rm-lmr7.tfm | usedmethod=otherwise
used files > 13: filename=lmmi7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmmi7.tfm | usedmethod=otherwise
used files > 14: filename=lmsy7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmsy7.tfm | usedmethod=otherwise
used files > 15: filename=lmex10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmex10.tfm | usedmethod=otherwise
used files > 16: filename=msam7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/symbols/msam7.tfm | usedmethod=otherwise
used files > 17: filename=msbm7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/symbols/msbm7.tfm | usedmethod=otherwise
used files > 18: filename=stmary10.afm | filetype=afm | format=afm | foundname=c:/ConTeXt/tex/texmf/fonts/afm/public/stmaryrd/stmary10.afm | usedmethod=otherwise
used files > 19: filename=stmary10.pfb | filetype=pfb | format=pfb | foundname=c:/ConTeXt/tex/texmf/fonts/type1/public/stmaryrd/stmary10.pfb | usedmethod=otherwise
used files > 20: filename=lmroman7-bold.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman7-bold.otf | usedmethod=otherwise
used files > 21: filename=lmmib7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmmib7.tfm | usedmethod=otherwise
used files > 22: filename=lmsans8-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmsans8-regular.otf | usedmethod=otherwise
used files > 23: filename=lmmono8-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmono8-regular.otf | usedmethod=otherwise
used files > 24: filename=eufm7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/euler/eufm7.tfm | usedmethod=otherwise
used files > 25: filename=eufb7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/euler/eufb7.tfm | usedmethod=otherwise
used files > 26: filename=lmroman9-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman9-regular.otf | usedmethod=otherwise
used files > 27: filename=rm-lmr9.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/rm-lmr9.tfm | usedmethod=otherwise
used files > 28: filename=lmmi9.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmmi9.tfm | usedmethod=otherwise
used files > 29: filename=lmsy9.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmsy9.tfm | usedmethod=otherwise
used files > 30: filename=msam10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/symbols/msam10.tfm | usedmethod=otherwise
used files > 31: filename=msbm10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/symbols/msbm10.tfm | usedmethod=otherwise
used files > 32: filename=lmroman9-bold.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman9-bold.otf | usedmethod=otherwise
used files > 33: filename=lmmib10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmmib10.tfm | usedmethod=otherwise
used files > 34: filename=lmsans9-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmsans9-regular.otf | usedmethod=otherwise
used files > 35: filename=lmmono9-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmono9-regular.otf | usedmethod=otherwise
used files > 36: filename=eufm10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/euler/eufm10.tfm | usedmethod=otherwise
used files > 37: filename=eufb10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/euler/eufb10.tfm | usedmethod=otherwise
used files > 38: filename=lmroman12-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf | usedmethod=otherwise
used files > 39: filename=rm-lmr12.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/rm-lmr12.tfm | usedmethod=otherwise
used files > 40: filename=lmmi12.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmmi12.tfm | usedmethod=otherwise
used files > 41: filename=lmsy10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmsy10.tfm | usedmethod=otherwise
used files > 42: filename=lmroman12-bold.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-bold.otf | usedmethod=otherwise
used files > 43: filename=lmsans12-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmsans12-regular.otf | usedmethod=otherwise
used files > 44: filename=lmmono12-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmono12-regular.otf | usedmethod=otherwise
used files > 45: filename=knuth | filetype=tex | foundname=c:/ConTeXt/tex/texmf-context/tex/context/sample/knuth.tex | usedmethod=otherwise
used files > 46: filename=lpdf-pdx.xml | filetype=tex | foundname=c:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml | usedmethod=otherwise
system > files > stop used files
system > structure > start used structure
used structure > text: t2
system > structure > stop used structure
mkiv lua stats > used config file - selfautoparent:texmf/web2c/texmfcnf.lua
mkiv lua stats > used cache path - c:/ConTeXt/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606
mkiv lua stats > resource resolver - loadtime 0.016 seconds, 2 scans with scantime 0.031 seconds, 0 shared scans, 46 found files, scanned paths: C:/Lukas/ConTeXt/Fonts c:/windows/fonts
mkiv lua stats > stored bytecode data - 302 modules, 65 tables, 367 chunks
mkiv lua stats > cleaned up reserved nodes - 39 nodes, 9 lists of 436
mkiv lua stats > node memory usage - 2 glue, 2 penalty, 9 attribute, 29 glue_spec, 3 attribute_list
mkiv lua stats > node list callback tasks - 6 unique task lists, 5 instances (re)created, 163 calls
mkiv lua stats > used backend - pdf (backend for directly generating pdf output)
mkiv lua stats > loaded patterns - en::2
mkiv lua stats > jobdata time - 0.000 seconds saving, 0.000 seconds loading
mkiv lua stats > callbacks - 293 direct, 582 indirect, 875 total
mkiv lua stats > lxml preparation time - 0.000 seconds, 0 nodes, 11 lpath calls, 0 cached calls
mkiv lua stats > result saved in file - t2.pdf
mkiv lua stats > loaded fonts - 33 files: stmary10.afm lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats > fonts load time - 0.344 seconds
mkiv lua stats > luatex banner - this is luatex, version beta-0.70.1-2012032923 (tex live 2012)
mkiv lua stats > control sequences - 33326 of 65536 + 100000
mkiv lua stats > current memory usage - 34 MB (ctx: 35 MB)
mkiv lua stats > runtime - 0.875 seconds, 1 processed pages, 1 shipped pages, 1.143 pages/second
[-- Attachment #3: t2.mkiv --]
[-- Type: application/octet-stream, Size: 143 bytes --]
\definestructurelevels[A][section,]
\starttext
\startstructurelevel[A][title=Title]
\input knuth
\stopstructurelevel
\stoptext
[-- Attachment #4: t2.pdf --]
[-- Type: application/pdf, Size: 9350 bytes --]
[-- Attachment #5: 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 reply other threads:[~2012-04-09 6:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-09 6:40 Procházka Lukáš Ing. - Pontex s. r. o. [this message]
2012-04-09 6:50 ` Wolfgang Schuster
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=op.wchjicxztpjj8f@lpr \
--to=lpr@pontex.cz \
--cc=ntg-context@ntg.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).