From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27614 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Duplicate names in figure libraries Date: Wed, 03 May 2006 18:16:56 +0200 Message-ID: <4458D778.8070303@boede.nl> References: <96FEE83B-7532-4566-8AD4-6949214A8F65@cox.net> 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 1146673069 2439 80.91.229.2 (3 May 2006 16:17:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 May 2006 16:17:49 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed May 03 18:17:44 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 1FbK2G-0007vZ-8g for gctc-ntg-context-518@m.gmane.org; Wed, 03 May 2006 18:17:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E05C3127A5; Wed, 3 May 2006 18:17:07 +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 02713-04-16; Wed, 3 May 2006 18:17:01 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AE9A1127A7; Wed, 3 May 2006 18:17:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A9839127A7 for ; Wed, 3 May 2006 18:16:59 +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 02713-04-15 for ; Wed, 3 May 2006 18:16:58 +0200 (CEST) Original-Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by ronja.ntg.nl (Postfix) with SMTP id 68040127A5 for ; Wed, 3 May 2006 18:16:58 +0200 (CEST) Original-Received: from [127.0.0.1] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) (authenticated bits=0) by smtp-vbr12.xs4all.nl (8.13.6/8.13.6) with ESMTP id k43GGwoa034617 for ; Wed, 3 May 2006 18:16:58 +0200 (CEST) (envelope-from w.egger@boede.nl) 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: <96FEE83B-7532-4566-8AD4-6949214A8F65@cox.net> X-Virus-Scanned: by XS4ALL Virus Scanner 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:27614 Archived-At: Hi David, unless Hans releases some magic, there is no way than to have different labels in both files. Willi David Arnold wrote: >Hans et al, > >I have two figure libraries, figlibSection1.xml and >figlibSection2.xml. In the first, I have: > >
>sec1rat1.png > >College of the Redwoods Mathematics Department > >
> >In the second, I have: > >
>section2figs-mpgraph.1 > >College of the Redwoods Mathematics Department > >
> >Now, section1.tex does: > >\usefigurebase[figures/figlibSection1] > >And later: > >\startbuffer[figure] >\startcombination[3*1] > {\externalfigure[rat1][width=.2\textwidth]}{(a)} > {\externalfigure[rat2][width=.2\textwidth]}{(b)} > {\externalfigure[rat3][width=.2\textwidth]}{(c)} >\stopcombination >\stopbuffer > >\placefigure >[][fig:rat] >{The calculator attempts to draw a continuous function when it >shouldn't.} >{\getbuffer[figure]} > > >Section2.tex does: > >\usefigurebase[figures/figlibSection2] > >And later: > >\placefigure >[][fig:rat1] >{The numerator is zero at $x=-2$. This is an $x$-intercept of the >graph. The denominator is zero at $x=3$. This is a vertical asymptote >of the graph.} >{\externalfigure[rat1]} > >All is fine if I compile section1.tex and section2.tex separately. >But I have chapter6.tex with: > >\startproduct chapter6 > >\project book > >\startbodymatter > >\setupheadnumber[chapter][5] > >\chapter[chap:6]{Rational Functions} > >\component chapter6/section1 %Introducing Rational Functions > >\component chapter6/section2 %Zeros and Asymptotes > >\stopbodymatter > >\stopproduct > >When I compile this, the rat1 in section2.tex uses the rat1 meant for >section1.tex instead. Any I can fix this other than giving unique >names to everything? >_______________________________________________ >ntg-context mailing list >ntg-context@ntg.nl >http://www.ntg.nl/mailman/listinfo/ntg-context > >