From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31379 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: bug in beta: extra \else Date: Sat, 14 Oct 2006 19:58:44 +0200 Message-ID: <45312554.4080505@wxs.nl> References: <452C1937.1050208@seznam.cz> <452CA17A.2030707@wxs.nl> <452CCA7D.4050309@seznam.cz> <452D48B7.9050704@wxs.nl> <45300908.9050400@seznam.cz> <20061014173511.089d6d95.schuster.wolfgang@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1160848749 6954 80.91.229.2 (14 Oct 2006 17:59:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 14 Oct 2006 17:59:09 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 14 19:59:07 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GYnms-0005V4-5p for gctc-ntg-context-518@m.gmane.org; Sat, 14 Oct 2006 19:59:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A016A1FEA5; Sat, 14 Oct 2006 19:59:05 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09523-03; Sat, 14 Oct 2006 19:58:59 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D50F71FE90; Sat, 14 Oct 2006 19:58:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4CE751FE9B for ; Sat, 14 Oct 2006 19:58:54 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09525-09 for ; Sat, 14 Oct 2006 19:58:45 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with SMTP id 7C8031FE1F for ; Sat, 14 Oct 2006 19:58:43 +0200 (CEST) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.7b8) with ESMTP id 12930 for ; Sat, 14 Oct 2006 19:58:43 +0200 User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) Original-To: mailing list for ConTeXt users In-Reply-To: <20061014173511.089d6d95.schuster.wolfgang@googlemail.com> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:31379 Archived-At: Wolfgang Schuster wrote: > On Fri, 13 Oct 2006 19:16:58 -0400 (EDT) > Aditya Mahajan wrote: > > >> On Fri, 13 Oct 2006, Vit Zyka wrote: >> >> >>> Hans Hagen wrote: >>> >>>> Vit Zyka wrote: >>>> >>>>> Hans Hagen wrote: >>>>> >>>>>> Vit Zyka wrote: >>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> there is some deep bug that was discovered translating Beginners manual. >>>>>>> Let take single chapter e.g. ma-cb-cz-alignments.tex >>>>>>> >>>>>>> With today beta I got .log attached (error ! Extra \else) >>>>>>> This will appear in both modes screen and normal. >>>>>>> >>>>>>> Interesting is that no error appears in context 2006-05-28. >>>>>>> >>>>>> quite some code is being rewritten / adapted to context mkiv so there >>>>>> could be low level differences >>>>>> >>>>>> can you make a small example, since this else problem can come from other >>>>>> places than reported >>>>>> >>>>> There are demonstrative files. Please, run >>>>> texmfstart texexec --pdf ma-cb-cz-test.tex >>>>> and >>>>> texmfstart texexec --pdf --mode=screen ma-cb-cz-test.tex >>>>> >>>> this file: ma-cb-env-cz.tex refers to itself and probably should be : >>>> >>>> \startenvironment ma-cb-env-cz >>>> >>>> \environment ma-cb.tex >>>> >>>> \mainlanguage[cz] >>>> \language[en] >>>> \enableregime[latin2] >>>> >>>> \stopenvironment >>>> >>> Sorry, my fault but it does not solve the problem. I obtain the same error >>> with fresh context and corrected version of this file: >>> >>> ----------------------------------------- >>> \startenvironment ma-cb-env-cz >>> >>> \mainlanguage[cz] >>> \language[en] >>> \enableregime[latin2] >>> >>> \stopenvironment >>> ----------------------------------------- >>> >> There is something wrong with ma-cb environment files. The file >> ma-cb-en does not compile. I get an error >> >> ! Undefined control sequence. >> \@@olbackground ->\StatusAchtergrond >> >> \doifvaluesomething ...inga {\csname #1\endcsname >> }\ifx \!!stringa >> \empty \e... >> >> \stoplocalframed ...ing {\@@framed \c!background } >> \dobackedbox >> \handleframed... >> >> \PlaatschapterStatus ... [\v!chapter \v!number ]}} >> \vskip 0pt plus >> \scratchc... >> \PlaatschapterStatus >> {}{}{} >> \firstoftwoarguments #1#2->#1 >> >> ... >> l.19 \Introduction {Introduction} >> >> >> I tried making minimal example of the file that you posted, but always >> get the same error. I am pretty certain that ma-cb-en.tex used to >> compile in the past. >> >> Aditya >> > > Hi Aditya, > > I had the same problems in past in solved them by myself. The problems > are dutch commands in the style-files and a typo. > > I attached my corrected style-files, because it is faster to replace > send you the files than I need to look where I made corrections. > > The files did not correct the problem with the backgrounds in the > headers Vit has mentioned. > \edef\StatusAchtergrond {StatusAchtergrond% \ifodd\realpageno R\else\ifdoublesided L\else R\fi\fi}% \ifdubbelzijdig -> \ifdoublesided this low level if has been changed, ad a result tex's 'fast if then else ' skip routine does not see the \ifdubbelzijdig is if and gets confused Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------