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:
>
><figure>
><file>sec1rat1.png</file>
><label>rat1</label>
><copyright>College of the Redwoods Mathematics Department</copyright>
><comment></comment>
></figure>
>
>In the second, I have:
>
><figure>
><file>section2figs-mpgraph.1</file>
><label>rat1</label>
><copyright>College of the Redwoods Mathematics Department</copyright>
><comment></comment>
></figure>
>
>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
>  
>
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to