On Wed, 16 Oct 2002 17:43:23 +0200
Hans Hagen <[EMAIL PROTECTED]> wrote:

> At 03:44 PM 10/16/2002 +0200, Jens-Uwe Morawski wrote:
> >On Wed, 16 Oct 2002 13:30:19 +0200
> >Hans Hagen <[EMAIL PROTECTED]> wrote:
> > > \setupexternalfigures[directory={...,...,...}]
> >
> >Hmm, since ConTeXt is so good in finding components and
> >environments i thought that finding figures should not
> >that problem. Setting up a specific directory is not
> >a solution if different authors (with different directory
> >structure) work on the same document.
> 
> hm, actually it's practice here, in order to prevent duplicates, how is 
> your directory structure for this doc?
.
|-- Basics.tex
|-- Bib.tex
|-- Fill.tex
|-- Intro.tex
|-- Pre-Cont.tex
|-- Setup.tex
|-- Text.tex
|-- env-bib.tex
|-- env-chart.tex
|-- env-def.tex
|-- env-fig.tex
|-- figures
|   |-- AutoColors.mp
|   |-- Figures.mp
|   |-- SegmentPoints.mp
|   |-- basic-patterns.mp
|   |-- dimen-patterns.mp
|   |-- font-setup.mp
|   |-- piechartmp-figures.pdf
|   |-- piechartmp-figures.xml
|   `-- verdunklung.mp
|-- piechartmp-figures.xml -> figures/piechartmp-figures.xml
|-- piechartmp.tex
|-- print-a
|   |-- env-a.tex
|   |-- piechartmp-a.pdf
|   `-- piechartmp-a.tex
`-- screen
    |-- env-ovl.tex
    |-- env-s.tex
    |-- piechartmp-s.pdf
    |-- piechartmp-s.tex
    `-- titel-s.tex

the figure lib is the file piechartmp-figures.pdf||xml in the
"figures" directory. The real documents are the piechartmp-a||s.tex
in their own directories. The .tex-files in the base-directory are
the components and document-wide environments.

As you can see, currently there is a sym-link in the base-dir
  piechartmp-figures.xml -> figures/piechartmp-figures.xml
This is because if i use \setupexternalfigures to point to the
 "figures" dir, then the piechartmp-figures.xml in the same
 dir is not found.
 In contrast, if i copy both figure-lib files (pdf and xml)
 in the base-dir, then the pdf-file is not found automatically.

Do you have an idea for a better structure? thanks.

Jens
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://ref.ntg.nl/mailman/listinfo/ntg-context

Reply via email to