ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <dwarnold45@cox.net>
Subject: Figure Libraries
Date: Sun, 2 Apr 2006 09:39:02 -0700	[thread overview]
Message-ID: <02528812-41D4-42FD-BC02-260ED91B1F08@cox.net> (raw)

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:

<figure>
<file>sec2foura.png</file>
<label>foura</label>
<copyright>College of the Redwoods Mathematics Department</copyright>
<comment></comment>
</figure>

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:

<figure>
<file>sec4foura.png</file>
<label>foura</label>
<copyright>College of the Redwoods Mathematics Department</copyright>
<comment></comment>
</figure>

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.

             reply	other threads:[~2006-04-02 16:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-02 16:39 David Arnold [this message]
2006-04-03  8:09 ` Taco Hoekwater
  -- strict thread matches above, loose matches on Subject: below --
2006-03-19 17:10 Figure libraries Willi Egger
2006-03-20  8:57 ` Hans Hagen
2006-03-20  9:15   ` Taco Hoekwater
2006-03-20  9:50     ` Willi Egger
2006-03-20  9:30 ` Hans Hagen
2006-03-20  9:51   ` Willi Egger
2006-03-20 10:26   ` Willi Egger
2006-01-15  3:15 David Arnold
2006-01-15 12:46 ` Henning Hraban Ramm
2006-01-16  8:51 ` Willi Egger

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=02528812-41D4-42FD-BC02-260ED91B1F08@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).