From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9540 Path: main.gmane.org!not-for-mail From: Jens-Uwe Morawski Newsgroups: gmane.comp.tex.context Subject: Re: [NTG-context] figure libs Date: Wed, 16 Oct 2002 15:44:48 +0200 Sender: ntg-context-admin@ref.vet.uu.nl Message-ID: <20021016154448.48d59fe3.morawski@gmx.net> References: <20021016113101.01e22785.morawski@gmx.net> <5.1.0.14.1.20021016131856.02067518@server-1> 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 1035399852 3857 80.91.224.250 (23 Oct 2002 19:04:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 19:04:12 +0000 (UTC) Original-Received: from hermes.hrz.uni-giessen.de (hermes.hrz.uni-giessen.de [134.176.2.15]) by osiris.hrz.uni-giessen.de (8.11.6+Sun/8.11.6) with ESMTP id g9GDmxe02023 for ; Wed, 16 Oct 2002 15:48:59 +0200 (MEST) Original-Received: from ref.vet.uu.nl by hermes.hrz.uni-giessen.de with ESMTP for Guenter.Partosch@hrz.uni-giessen.de; Wed, 16 Oct 2002 15:48:35 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id A937710ADC; Wed, 16 Oct 2002 15:47:41 +0200 (MEST) Original-Received: from mail.gmx.net (sproxy.gmx.de [213.165.64.20]) by ref.ntg.nl (Postfix) with SMTP id 2929910AD8 for ; Wed, 16 Oct 2002 15:46:12 +0200 (MEST) Original-Received: (qmail 3399 invoked by uid 0); 16 Oct 2002 13:46:02 -0000 Original-Received: from port1544.fra.ginko.net (HELO eXergie) (212.202.68.20) by mail.gmx.net (mp016-rz3) with SMTP; 16 Oct 2002 13:46:02 -0000 Original-To: ConTeXt In-Reply-To: <5.1.0.14.1.20021016131856.02067518@server-1> X-Mailer: Sylpheed version 0.8.0 (GTK+ 1.2.10; i586-pc-linux-gnu) Errors-To: ntg-context-admin@ref.vet.uu.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9540 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9540 On Wed, 16 Oct 2002 13:30:19 +0200 Hans Hagen wrote: > At 11:31 AM 10/16/2002 +0200, Jens-Uwe Morawski wrote: > > >i have some questions about figure libs: > > > >1) i can only access figures from a figure-lib if the > > file is in the same directory as the document that > > should embed the figures. > > For documents in different variants (screen, print) > > i would prefer that i can have the figure lib in the > > parent directory. > > \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. > >2) is the XML-file that describes the figure-lib really > > required to access the figures in the figure-lib: > > yes, since it determines the page to pick up; of course you can also direct > the page directly using > > \externalfigure[somefile.pdf][page=3] > > >/Subtype /Link /Border [0 0 0] /A <> > > it could be done if pdftex supported access to named pages; parsing the > file using tex macros is not doable (well, partially, but a pain for 500 > meg files) I thought that the parsing could be done with TeXUtil (Perl). Is there no Perl-Module (maybe a wrapper for pdflib by Thomas Merz) that allows efficient parsing? But, I see that this way still consumes too much time (for a 500M file). Thus, having the xml-file in place sounds like the better solution. > PS. The fig lib mechanism will be replaced (extended) by a more versatile > resource library system (working on that now) Can you give some examples what enhanced functionality is available then, please. Many thanks, Jens _______________________________________________ ntg-context mailing list ntg-context@ref.ntg.nl http://ref.ntg.nl/mailman/listinfo/ntg-context