From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24480 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: TUO loading bug Date: Mon, 19 Dec 2005 13:44:05 +0100 Message-ID: <43A6AB15.7040604@wxs.nl> References: <43A1E2D5.6030104@nibua-r.org> <43A30B6F.9000107@elvenkind.com> <43A31C1B.7030600@nibua-r.org> <43A31D7C.8030904@elvenkind.com> <43A3F3DB.5060803@elvenkind.com> <43A406CF.8090707@nibua-r.org> <43A41422.3070200@elvenkind.com> <43A41F45.7050700@nibua-r.org> <43A4463B.3040802@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134996262 10865 80.91.229.2 (19 Dec 2005 12:44:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2005 12:44:22 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 19 13:44:19 2005 Return-path: 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 1EoKNF-0007uu-Q4 for gctc-ntg-context-518@m.gmane.org; Mon, 19 Dec 2005 13:44:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BA5C8127D6; Mon, 19 Dec 2005 13:44:15 +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 31010-01; Mon, 19 Dec 2005 13:44:11 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 27C3C1279E; Mon, 19 Dec 2005 13:44:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C31CE1279E for ; Mon, 19 Dec 2005 13:44:09 +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 30766-06 for ; Mon, 19 Dec 2005 13:44:08 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with ESMTP id 9536D1279C for ; Mon, 19 Dec 2005 13:44:06 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 8287 for ; Mon, 19 Dec 2005 13:51:16 +0300 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <43A4463B.3040802@elvenkind.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.5 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:24480 Archived-At: Taco Hoekwater wrote: > Hi, > > Renaud AUBIN wrote: > >>> >>> >> [failing \cite commands in a component file] > > > I've found the problem, and it is in fact not related to the bib > module (and not really to the project structure either). The real > culprit was a bug in the tuo file loader, triggered by your > > \useencoding[ffr] > > in the environment file. Your environment file is loaded *after* > \startproduct (which implies \starttext), and therefore the switch > comes too late. Moving the three french language related lines to > the stop of the actual prd_phd.tex file (before \starttext) solves > the problem. > > (What follows is for Hans' benefit mostly) > > Nasty little bug, this. I only found it because eventually, I > decided to test the citations using explicit "\in{}[]" and > found out that that didn't work either. I've attached a minimal > file demonstrating the bug. > > Here is the problem in the tuo: > > \thisissectionseparator{-} % <= NOTE! > .... > \twopassentry{floatdata}{0}{1::1} % <= WRONG, loading of .tuo aborted > \twopassentry{float}{1}{1} > > When I remove either this float, or the \useencoding line, all is fine, > but simple redefining \dosavefloatdata was not enough apparently, > because that did not work. French users can best add: \enablemode[activecolon] \usemodule[tryout] to their cont-sys.tex file, just to make sure that *all* o ftheir utility files use the - instead of : on my (long term) agenda is to remove the :/- separator and go {} also, french users should start switching to the new pdftes trickery (i need to check that) Hans