From: "Procházka Lukáš Ing. - Pontex s. r. o." <LPr@pontex.cz>
To: ConTeXt <ntg-context@ntg.nl>
Subject: Latest beta: Problems with \startstructurelevel (bug?)
Date: Wed, 22 Jun 2011 09:56:34 +0200 [thread overview]
Message-ID: <op.vxgwckastpjj8f@lpr> (raw)
[-- Attachment #1: Type: text/plain, Size: 1587 bytes --]
Hello,
I'm not able to compile the following code with the
"ConTeXt ver: 2011.06.15 11:49 MKIV fmt: 2011.6.15 int: english/english":
----
\definestructurelevels
[Test]
[subsection,
subsubsection,
subsubsubsection,
]
\starttext
\startstructurelevel[Test][title=Title]
aaa
\stopstructurelevel
\stoptext
----
I'm getting:
----
! Undefined control sequence.
system > tex > error on line 1 in file C:/Lukas/Jobs/Drachov.PDPS/SO_201/Statics.Tx/SV/Test/test.mkiv: Undefined control sequence ...
1 >> \definestructurelevels
2 [Test]
3 [subsection,
4 subsubsection,
5 subsubsubsection,
6 ]
7
8 \starttext
9 \startstructurelevel[Test][title=Title]
10 aaa
11 \stopstructurelevel
l.1 \dostartstructurehead
<argument> ...res.sections.startautolevel("Test")}
\secondoftwoarguments #1#2->#2
l.9 \startstructurelevel[Test]
[title=Title]
! Undefined control sequence.
system > tex > error on line 1 in file C:/Lukas/Jobs/Drachov.PDPS/SO_201/Statics.Tx/SV/Test/test.mkiv: Undefined control sequence ...
1 >> \definestructurelevels
----
It was OK with "ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.5.18 int: english/english".
Bug?
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: test.log --]
[-- Type: application/octet-stream, Size: 6895 bytes --]
(C:/Lukas/Jobs/Drachov.PDPS/SO_201/Statics.Tx/SV/Test/test.mkiv
ConTeXt ver: 2011.06.15 11:49 MKIV fmt: 2011.6.15 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 > test.top loaded
system > options > begin of optionfile
system > options >
system > options > % runtime options files (command line driven)
system > options > \unprotect
system > options > % feedback and basic job control
system > options > \nonstopmode
system > options > % handy for special styles
system > options > \startluacode
system > options > document = document or { }
system > options > document.arguments={
system > options > ["FILE"]="test.mkiv",
system > options > ["halt-on-error"]=true,
system > options > ["nonstopmode"]=true,
system > options > }
system > options > document.files={
system > options > "C:/Lukas/Jobs/Drachov.PDPS/SO_201/Statics.Tx/SV/Test/test.mkiv",
system > options > }
system > options > \stopluacode
system > options > % process info
system > options > \setupsystem[inputfile=C:/Lukas/Jobs/Drachov.PDPS/SO_201/Statics.Tx/SV/Test/test.mkiv]
system > options > \setupsystem[\c!n=1,\c!m=1]
system > options > % modes
system > options > % options (not that important)
system > options > \startsetups *runtime:options
system > options > \stopsetups
system > options > % styles and modules
system > options > \startsetups *runtime:modules
system > options > \stopsetups
system > options > % done
system > options > \protect \endinput
system > options >
system > options > end of optionfile
(test.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)
(c:/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv) (c:/ConTeXt/tex/texmf-context/tex/context/base/type-otf.mkiv){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
system > begin file C:/Lukas/Jobs/Drachov.PDPS/SO_201/Statics.Tx/SV/Test/test.mkiv at line 8
! Undefined control sequence.
system > tex > error on line 1 in file C:/Lukas/Jobs/Drachov.PDPS/SO_201/Statics.Tx/SV/Test/test.mkiv: Undefined control sequence ...
1 >> \definestructurelevels
2 [Test]
3 [subsection,
4 subsubsection,
5 subsubsubsection,
6 ]
7
8 \starttext
9 \startstructurelevel[Test][title=Title]
10 aaa
11 \stopstructurelevel
l.1 \dostartstructurehead
<argument> ...res.sections.startautolevel("Test")}
\secondoftwoarguments #1#2->#2
l.9 \startstructurelevel[Test]
[title=Title]
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
system > tex > error on line 1 in file C:/Lukas/Jobs/Drachov.PDPS/SO_201/Statics.Tx/SV/Test/test.mkiv: Undefined control sequence ...
1 >> \definestructurelevels
2 [Test]
3 [subsection,
4 subsubsection,
5 subsubsubsection,
6 ]
7
8 \starttext
9 \startstructurelevel[Test][title=Title]
10 aaa
11 \stopstructurelevel
l.1 \dostopstructurehead
\stopstructurelevel ...s.sections.stopautolevel()}
l.11 \stopstructurelevel
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
backend > xmp > using file 'c:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1, subpage 1
system > end file C:/Lukas/Jobs/Drachov.PDPS/SO_201/Statics.Tx/SV/Test/test.mkiv at line 12
)<c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>
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 > input load time - 0.016 seconds
mkiv lua stats > stored bytecode data - 288 modules, 61 tables, 349 chunks
mkiv lua stats > cleaned up reserved nodes - 33 nodes, 9 lists of 423
mkiv lua stats > node memory usage - 2 glue, 2 penalty, 9 attribute, 28 glue_spec, 3 attribute_list
mkiv lua stats > node list callback tasks - 6 unique task lists, 5 instances (re)created, 2359 calls
mkiv lua stats > used backend - pdf (backend for directly generating pdf output)
mkiv lua stats > loaded patterns - en::2
mkiv lua stats > callbacks - 2496 direct, 2980 indirect, 5476 total
mkiv lua stats > randomizer - resumed with value 0.78527176732688
mkiv lua stats > lxml preparation time - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls
mkiv lua stats > result saved in file - test.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.219 seconds
mkiv lua stats > luatex banner - this is luatex, version beta-0.70.1-2011061421 (web2c 2011) (rev 4277)
mkiv lua stats > control sequences - 30532 of 165536
mkiv lua stats > current memory usage - 31 MB (ctx: 31 MB)
mkiv lua stats > runtime - 0.766 seconds, 1 processed pages, 1 shipped pages, 1.305 pages/second
[-- Attachment #3: test.mkiv --]
[-- Type: application/octet-stream, Size: 202 bytes --]
\definestructurelevels
[Test]
[subsection,
subsubsection,
subsubsubsection,
]
\starttext
\startstructurelevel[Test][title=Title]
aaa
\stopstructurelevel
\stoptext
[-- Attachment #4: test.pdf --]
[-- Type: application/pdf, Size: 6011 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:[~2011-06-22 7:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-22 7:56 Procházka Lukáš Ing. - Pontex s. r. o. [this message]
2011-06-22 12:19 ` Wolfgang Schuster
2011-06-22 12:51 ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-06-22 12:59 ` Wolfgang Schuster
2011-06-22 13:09 ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-06-22 13:11 ` luigi scarso
2011-06-22 13:17 ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-06-23 6:25 ` Procházka Lukáš Ing. - Pontex s. r. o.
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.vxgwckastpjj8f@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).