\item doesn't work with ConTeXt (works with LuaTeX/TeX)
Hi,
I have a strange error with ConTeXt. This error isn't produced using
LuaTeX. The error seems to be in one of the CoTeXt files but I can't
understand it. I hope some of you will be able to help me there.
The code is as simple as that:
===== test.tex =====
1 \begingroup
2 \item{1} test 1
3 \item{2} test 2
4 \endgroup
5
6 \end
7
====================
Now, if I run 'context test', I get at some point the following error:
! Missing } inserted.
<inserted text>
}
<to be read again>
\endgroup
\stopitemgroup ...mdepth }\egroup \else \endgroup
\global \advance \itemdept...
l.5
?
Attached, the complete log.
I hope you'll be able to understand that strange error.
Thanks.
Mildred
--
Mildred Ki'Lya
╭───────── mildred593@online.fr ──────────
│ Jabber, GoogleTalk:
On Fri, Oct 31, 2008 at 2:46 PM, Mildred Ki'Lya
Hi,
I have a strange error with ConTeXt. This error isn't produced using LuaTeX. The error seems to be in one of the CoTeXt files but I can't understand it. I hope some of you will be able to help me there.
The code is as simple as that:
===== test.tex ===== 1 \begingroup 2 \item{1} test 1 3 \item{2} test 2 4 \endgroup 5 6 \end 7 ====================
See http://wiki.contextgarden.net/Description -- luigi
On Fri, Oct 31, 2008 at 2:46 PM, Mildred Ki'Lya
Hi,
I have a strange error with ConTeXt. This error isn't produced using LuaTeX. The error seems to be in one of the CoTeXt files but I can't understand it. I hope some of you will be able to help me there.
The code is as simple as that:
===== test.tex ===== 1 \begingroup 2 \item{1} test 1 3 \item{2} test 2 4 \endgroup 5 6 \end 7 ====================
Now, if I run 'context test', I get at some point the following error:
! Missing } inserted. <inserted text> } <to be read again> \endgroup \stopitemgroup ...mdepth }\egroup \else \endgroup \global \advance \itemdept... l.5
?
Attached, the complete log.
I hope you'll be able to understand that strange error.
1. Why don't you use the itemize environment? 2. End the paragraph before the end of the group. \item 2 test 2 \par \endgroup or \item 2 test 2 \endgroup Wolfgang
Mildred Ki'Lya wrote:
Hi,
I have a strange error with ConTeXt. This error isn't produced using LuaTeX. The error seems to be in one of the CoTeXt files but I can't understand it. I hope some of you will be able to help me there.
The code is as simple as that:
===== test.tex ===== 1 \begingroup 2 \item{1} test 1 3 \item{2} test 2 4 \endgroup 5 6 \end 7 ====================
Now, if I run 'context test', I get at some point the following error:
! Missing } inserted. <inserted text> } <to be read again> \endgroup \stopitemgroup ...mdepth }\egroup \else \endgroup \global \advance \itemdept... l.5
?
Attached, the complete log.
I hope you'll be able to understand that strange error.
1 \begingroup 2 \item{1} test 1 3 \item{2} test 2 4 \endgroup
in this case \item grabs a paragraph and therefore the whole bunch till after the \endgroup
1 \begingroup 2 \item test 1 \par 3 \item test 2 \par 4 \endgroup
or
1 \startitemize[n,packed] 2 \item test 1 3 \item test 2 4 \stopitemize
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
luigi scarso
-
Mildred Ki'Lya
-
Wolfgang Schuster