From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/770 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Long compile time Date: Tue, 31 Aug 1999 09:38:17 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <37CB8669.88D02413@wxs.nl> References: <3.0.5.32.19990828194805.00872b30@mail.northcoast.com> <3.0.5.32.19990830194846.00b429d0@mail.northcoast.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391610 26876 80.91.224.250 (23 Oct 2002 16:46:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:46:50 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: David Arnold Xref: main.gmane.org gmane.comp.tex.context:770 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:770 David Arnold wrote: > I have now had several people make a project suggestion as a means of > assembling the various pieces of a large task. Hans has described the > procedure below. I would like to give this a try, but I have a few > questions before restructuring my documents. > > 1. Do you recommend that I pursue this technique? I think yes? > > 2. Here's how I like to structure my project directories; > > f:\book > f:\book\chap1 > f:\book\chap2 > f:\book\chap3 > f:\book\chap4 > f:\book\chap5 > f:\book\chap6 > f:\book\chap7 > f:\book\chap8 > f:\book\chap9 > f:\book\chap10 > > The directory f:\book contains my master document, master.tex. Each of the > directories f:\book\chapi contains a file called chapi.tex and all of the > files needed to construct that file, *.eps, *.pdf, *.m (matlab files), *.mp > (Metapost files), etc. Each directory has a SIGNIFICANT number of files. > This is how I like to work, because chunking everything into one directory > would quickly become unmanageable, at least for me. > > Now, knowing these parameters, am I still a candidate to use this > project--product approach? It all depends on where your project / product files go. Concerning figures, you can set up the directories used with \setupexternalfigures[directory={commaseparatedlist}] like: \setupexternalfigures[directory={mps,eps,pdf}] For tex and other files, you can set the directories with: \usepath[commaseparatedlist] like: \usepath[book,anotherbook,yetanotherbook] To prevent problems with clashing files (think of context picking up a tuo file from another path because your tex does recursive search) depending on the file searched, context restricts the search. Figure files for instance are search on the current path or one of the global paths as set up (unless one of these is enabled). Environments are searched upto three levels down (up) the tree, which means that you can put shared environemnts, abbreviation definitions, etc in a parent path. Context really does its best to limit the search time. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl -----------------------------------------------------------------