Re: [NTG-context] Latest beta: Problems with \startstructurelevel (bug?)
Hello, success finally! I had to delete *manually* the cache directory - (in my case, WinXP): c:\ConTeXt\tex\texmf-cache\luatex-cache\context\2448223e6631addb83df348d74153606\ and than to call mtxrun --generate. Best regards, Lukas ___ 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 ___
[NTG-context] Latest beta: Problems with \startstructurelevel (bug?)
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:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 test.log Description: Binary data test.mkiv Description: Binary data test.pdf Description: Adobe PDF document ___ 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 ___
Re: [NTG-context] Latest beta: Problems with \startstructurelevel (bug?)
Am 22.06.2011 um 09:56 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: 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 strc-lev.lua: function sections.startautolevel(category) category = category ~= and category or default level = level + 1 local lc = levels[category] if not lc or level #lc then - context.nostartstructurehead { format(%s:%s,category,level) } + context.nostarthead { format(%s:%s,category,level) } else - context.dostartstructurehead { lc[level] } + context.dostarthead { lc[level] } end insert(categories,category) end function sections.stopautolevel() local category = remove(categories) local lc = levels[category] if not lc or level #lc then - context.nostopstructurehead { format(%s:%s,category,level) } + context.nostophead { format(%s:%s,category,level) } else - context.dostopstructurehead { lc[level] } + context.dostophead { lc[level] } end level = level - 1 end Wolfgang ___ 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 ___
Re: [NTG-context] Latest beta: Problems with \startstructurelevel (bug?)
Hello, thanks for the fix, but - - but I'm still getting an error, although I've just downloaded the latest beta, I tried, I got errors, so I corrected the strc-lev.lua by your proposition and oops, still the same error. So? - (Related files are attached.) Kind regards, Lukas On Wed, 22 Jun 2011 14:19:13 +0200, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 22.06.2011 um 09:56 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: 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 strc-lev.lua: function sections.startautolevel(category) category = category ~= and category or default level = level + 1 local lc = levels[category] if not lc or level #lc then - context.nostartstructurehead { format(%s:%s,category,level) } + context.nostarthead { format(%s:%s,category,level) } else - context.dostartstructurehead { lc[level] } + context.dostarthead { lc[level] } end insert(categories,category) end function sections.stopautolevel() local category = remove(categories) local lc = levels[category] if not lc or level #lc then - context.nostopstructurehead { format(%s:%s,category,level) } + context.nostophead { format(%s:%s,category,level) } else - context.dostopstructurehead { lc[level] } + context.dostophead { lc[level] } end level = level - 1 end Wolfgang ___ 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 ___ -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 strc-lev.lua Description: Binary data test.log Description: Binary data test.mkiv Description: Binary data ___ 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 ___
Re: [NTG-context] Latest beta: Problems with \startstructurelevel (bug?)
Am 22.06.2011 um 14:51 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, thanks for the fix, but - - but I'm still getting an error, although I've just downloaded the latest beta, I tried, I got errors, so I corrected the strc-lev.lua by your proposition and oops, still the same error. Regenerate the format! Wolfgang ___ 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 ___
Re: [NTG-context] Latest beta: Problems with \startstructurelevel (bug?)
... I run mtxrun --generate (again) but still the same errors. Lukas On Wed, 22 Jun 2011 14:59:49 +0200, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 22.06.2011 um 14:51 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Regenerate the format! Wolfgang ___ 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 ___
Re: [NTG-context] Latest beta: Problems with \startstructurelevel (bug?)
2011/6/22 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: ... I run mtxrun --generate (again) but still the same errors. context --make ? -- luigi ___ 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 ___
Re: [NTG-context] Latest beta: Problems with \startstructurelevel (bug?)
2011/6/22 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: ... I run mtxrun --generate (again) but still the same errors. context --make It doesn't help, either. Lukas ? -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ 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 ___