From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5932 Path: main.gmane.org!not-for-mail From: Jose Luis Diaz Newsgroups: gmane.comp.tex.context Subject: Re[3]: Q: Keeping blocks together. New problems Date: Thu, 25 Oct 2001 18:29:31 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <91190862830.20011025182931@telecable.es> References: <5.1.0.14.1.20011025114951.02fe8b20@server-1> <5.1.0.14.1.20011025114951.02fe8b20@server-1> <5.1.0.14.1.20011025140917.032f0330@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1035396493 5853 80.91.224.250 (23 Oct 2002 18:08:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:08:13 +0000 (UTC) Cc: ConTeXt Mailing List Original-To: Hans Hagen Xref: main.gmane.org gmane.comp.tex.context:5932 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5932 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... | | 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:jldiaz@telecable.es