From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26718 Path: news.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: Figure Libraries Date: Sun, 2 Apr 2006 09:39:02 -0700 Message-ID: <02528812-41D4-42FD-BC02-260ED91B1F08@cox.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.3) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1143996130 25570 80.91.229.2 (2 Apr 2006 16:42:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 Apr 2006 16:42:10 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 02 18:42:06 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 1FQ5eQ-0006tA-Bl for gctc-ntg-context-518@m.gmane.org; Sun, 02 Apr 2006 18:42:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C86C91277C; Sun, 2 Apr 2006 18:42:05 +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 00760-06; Sun, 2 Apr 2006 18:42:05 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E3E571277E; Sun, 2 Apr 2006 18:40:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DAFAD1277E for ; Sun, 2 Apr 2006 18:40:18 +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 00760-05 for ; Sun, 2 Apr 2006 18:40:17 +0200 (CEST) Original-Received: from fed1rmmtao10.cox.net (fed1rmmtao10.cox.net [68.230.241.29]) by ronja.ntg.nl (Postfix) with SMTP id 7CFA91277C for ; Sun, 2 Apr 2006 18:40:16 +0200 (CEST) Original-Received: from [10.0.1.2] (really [70.191.56.23]) by fed1rmmtao10.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060402164015.ZJFS20441.fed1rmmtao10.cox.net@[10.0.1.2]> for ; Sun, 2 Apr 2006 12:40:15 -0400 Original-To: Context Mailing List List X-Mailer: Apple Mail (2.746.3) 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:26718 Archived-At: All, I have chapter1.tex: \startproduct chapter1 \project book \startbodymatter \setupheadnumber[chapter][0] \chapter[chap:1]{Functions} \component chapter1/section1 \component chapter1/section2 \component chapter1/section3 \component chapter1/section4 \stopbodymatter \stopproduct All the files for chapter1 are in a folder named chapter1, for example chapter1/section1.tex. All the figures for chapter1 are in chapter1/figures/. section2.tex starts with: \startcomponent section2 \project book \product chapter1 \usemodule[newmat] \usemodule[math-ext] \usemodule[fig-base] \usefigurebase[figures/figlibSection2] \section[section:graph]{The Graph of a Function} In chapter1/figures/figlibSection2.xml, there is:
sec2foura.png College of the Redwoods Mathematics Department
section4.tex starts with: \startcomponent section4 \project book \product chapter1 \usemodule[newmat] \usemodule[math-ext] \usemodule[fig-base] \usefigurebase[figures/figlibSection4] In chapter1/figures/figlibSection4.xml, there is:
sec4foura.png College of the Redwoods Mathematics Department
The difficulty was this. When I compiled chapter1.tex, the \externalfigure[foura] in section4.tex used the foura from figlibSection2.xml. My workaround was to rename the second instance \externalfigure [sec4foura], but I am wondering a bit about this mechanism.