From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24414 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: TUO loading bug Date: Sat, 17 Dec 2005 18:09:15 +0100 Message-ID: <43A4463B.3040802@elvenkind.com> 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> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060607010609040200060103" X-Trace: sea.gmane.org 1134839376 31758 80.91.229.2 (17 Dec 2005 17:09:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Dec 2005 17:09:36 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 17 18:09:31 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 1EnfY4-00005O-Ql for gctc-ntg-context-518@m.gmane.org; Sat, 17 Dec 2005 18:08:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AB9BF127BD; Sat, 17 Dec 2005 18:08:43 +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 04500-04; Sat, 17 Dec 2005 18:08:39 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 313F912796; Sat, 17 Dec 2005 18:08:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2F2BC12796 for ; Sat, 17 Dec 2005 18:08:37 +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 04387-07 for ; Sat, 17 Dec 2005 18:08:36 +0100 (CET) Original-Received: from post-23.mail.nl.demon.net (post-23.mail.nl.demon.net [194.159.73.193]) by ronja.ntg.nl (Postfix) with ESMTP id 3A4A01278F for ; Sat, 17 Dec 2005 18:08:36 +0100 (CET) Original-Received: from boo.demon.nl ([82.161.175.147]:45353 helo=[192.168.1.3]) by post-23.mail.nl.demon.net with esmtp (Exim 4.51) id 1EnfXv-000Dul-Nd; Sat, 17 Dec 2005 17:08:35 +0000 User-Agent: Mozilla Thunderbird 1.0 (X11/20050215) X-Accept-Language: en-us, en Original-To: Renaud AUBIN , ntg-context@ntg.nl In-Reply-To: <43A41F45.7050700@nibua-r.org> 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:24414 Archived-At: This is a multi-part message in MIME format. --------------060607010609040200060103 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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. Cheers, Taco --------------060607010609040200060103 Content-Type: application/x-tex; name="test.tex" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="test.tex" \starttext \enableregime[il9] \useencoding[ffr] \mainlanguage[fr] This is --{\in{}[whatevernumber]}-- \placefigure[][]{Whatever}{Whatever} \reference[whatevernumber]{42} \stoptext --------------060607010609040200060103 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --------------060607010609040200060103--