Hello Hans,

El jueves, 25 de octubre de 2001, a las 14:10, Hans dijo:

Hans>             before={\page[no]}

I  also  thought  that,  but  still  keep getting wrong page breaks. I
suppossed that maybe the problem was an obsolete ConTeXt version, so I
downloaded  the  latest  from  www.ntg.nl,  and re-created the cont-en
format. Still wrong page breaks.

I  also  tried  the new columnset environment which you suggested, but
context  stops  with  the fatal error: No room for a new box (which is
generated  from  Plain).  I  guess  that  the  problem is perhaps some
infinite  loop,  since  the error message also spits out several lines
containing \dodorecurse and similar things.

But  the real problems appeared when I discovered that I was unable to
compile  some  previous  work  which  compiled  fine  with my previous
ConTeXt. Fortunately I was able to trace down the command which caused
the trouble, and provisionally I suppresed it from my source.

However,  I would like to know if something was wrong with my command,
or  if it is a bug in the new ConTeXt version. What I was trying to do
was  to  typeset  the  numbers  in  a  different  color/typeface in an
enumerated  environment.  I  was  unable  to  find  which parameter of
\setupitemize  would  serve  that  purpose,  so  I decided to create a
"conversion" for doing the job. This is what I wrote:

\defineconversion[cn][\colorednumber]
\def\colorednumber#1{\color[red]{\bf{\numbers{#1}}}

\startitemize[cn,inmargin]
\item One
\item Two
\stopitemize

But I get the following error message:

 |! Undefined control sequence.
 |\do\groupedcommand ...f \dogroupedcommand
 |                                          {\ifx \next \bgroup \def \\...
 |\colornumero #1->\color [white]
 |                               {\bf \numbers {#1}}
 |\dolistitem ...mbool \s!local \itemlevel }
 |                                          }\kopsomfalse \subsomfalse ...
 |\complexdosom ...ignorespaces \dolistitem
 |                                          \ifpackeditems \stelwitruim...
 |<to be read again>
 |                   O
 |l.127   \item O
 |               ne

The  trick  worked  fine  with  the  previous  ConTeXt version. What's
happening?

Thanks again, and sorry for all these problems I'm posing.

-- 
Regards,
 Jose                            mailto:[EMAIL PROTECTED]

Reply via email to