From: David Arnold <dwarnold45@cox.net>
Subject: Duplicate names in figure libraries
Date: Mon, 1 May 2006 21:28:16 -0700 [thread overview]
Message-ID: <96FEE83B-7532-4566-8AD4-6949214A8F65@cox.net> (raw)
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?
next reply other threads:[~2006-05-02 4:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-02 4:28 David Arnold [this message]
2006-05-03 16:16 ` Willi Egger
2006-05-03 20:27 ` Hans Hagen
2006-05-04 6:19 ` David Arnold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=96FEE83B-7532-4566-8AD4-6949214A8F65@cox.net \
--to=dwarnold45@cox.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).