From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45961 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: xml parsing Date: Fri, 28 Nov 2008 11:16:58 +0100 Message-ID: <5AC42CFC-B014-4619-A28C-785BE3E6E80A@uni-bonn.de> References: <9FA59110-70A4-4877-8752-499636F66F5D@uni-bonn.de> <115224fb0811280122o2f95a593w87e443383e040859@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1227867682 3894 80.91.229.12 (28 Nov 2008 10:21:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Nov 2008 10:21:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 28 11:22:25 2008 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 lo.gmane.org with esmtp (Exim 4.50) id 1L60US-0000FW-Hr for gctc-ntg-context-518@m.gmane.org; Fri, 28 Nov 2008 11:22:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0BE221FCCA; Fri, 28 Nov 2008 11:21:08 +0100 (CET) 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 29176-01-9; Fri, 28 Nov 2008 11:19:52 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B18371FB8F; Fri, 28 Nov 2008 11:19:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F13961FB8F for ; Fri, 28 Nov 2008 11:19:50 +0100 (CET) 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 26951-03-8 for ; Fri, 28 Nov 2008 11:18:51 +0100 (CET) Original-Received: from mailout09.t-online.de (mailout09.t-online.de [194.25.134.84]) by ronja.ntg.nl (Postfix) with ESMTP id 4DB221FB89 for ; Fri, 28 Nov 2008 11:17:17 +0100 (CET) Original-Received: from fwd08.aul.t-online.de by mailout09.sul.t-online.de with smtp id 1L60PU-0007u6-01; Fri, 28 Nov 2008 11:17:16 +0100 Original-Received: from [192.168.0.2] (JTNB9mZOrhpaYt0iR1J8RsGzt9OBpnoEKG0CmCHWHM2rbUIeQkkFLrCJZVUL47UgIE@[87.178.76.171]) by fwd08.aul.t-online.de with esmtp id 1L60PC-0mixIO0; Fri, 28 Nov 2008 11:16:58 +0100 In-Reply-To: <115224fb0811280122o2f95a593w87e443383e040859@mail.gmail.com> X-Mailer: Apple Mail (2.929.2) X-ID: JTNB9mZOrhpaYt0iR1J8RsGzt9OBpnoEKG0CmCHWHM2rbUIeQkkFLrCJZVUL47UgIE@t-dialin.net X-TOI-MSGID: 63492411-a7ba-41f8-9afb-72e8832e8217 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:45961 Archived-At: On Nov 28, 2008, at 10:22 AM, Wolfgang Schuster wrote: > I don't if this will help you but you can try the following three > changes. > > > 1. Change the defintion of \sln > > \define\sln{\startcolor[red][\nextSlideNumber]\stopcolor} > > > 2. Put a \relax after the xml setup for \sln > > \startxmlsetups xml:sln > \sln\relax > \stopxmlsetups > > > 3. define \SlideNumber as TeX counter > > \newcount\SlideNumber > > \def\resetSlideNumber > {\global\SlideNumber\zerocount\relax} > > \def\incrementSlideNumber > {\global\advance\SlideNumber\plusone\relax} > > \def\currentSlideNumber > {\number\SlideNumber\relax} > > \def\nextSlideNumber > {\incrementSlideNumber > \currentSlideNumber} > > > (4. Switch the system or TeX installation, helped on my former > Windows installation with font problems) > > > Wolfgang Hi Wolfgang, thanks for your suggestions! I tried solutions 1-3, but I still get the same result; the paragraph is skipped (hey, what about #3: are you leading me into temptation to use low-level code?!). #4: I have tried both the minimals and a fully updated TeXLive on OS X; I will tomorrow check if the same thing happens on my linux installation. Unfortunately, the file is pretty long and contains some additional modules and fonts, or I'd send it to you to see if it compiles OK on your installation (though: could I imagine switching to Windows? No, I couldn't...) All best, and thanks a lot Thomas ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________