From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88242 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?B?UHJvY2jhemthIEx1a+G5IEluZy4gLSBQb250ZXggcy4gci4gby4=?= Newsgroups: gmane.comp.tex.context Subject: Re: project structure Date: Sun, 27 Jul 2014 13:24:12 +0200 Message-ID: References: <53D36E5B.9060900@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1406460289 9541 80.91.229.3 (27 Jul 2014 11:24:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Jul 2014 11:24:49 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 27 13:24:45 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XBMZI-0005E5-VE for gctc-ntg-context-518@m.gmane.org; Sun, 27 Jul 2014 13:24:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BFF5310275 for ; Sun, 27 Jul 2014 13:24:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1YrU42zCXoNi for ; Sun, 27 Jul 2014 13:24:44 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 62CB110228 for ; Sun, 27 Jul 2014 13:24:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E867B101E6 for ; Sun, 27 Jul 2014 13:24:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id p7G9B7ddCCIE for ; Sun, 27 Jul 2014 13:24:26 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 3D1F6101E2 for ; Sun, 27 Jul 2014 13:24:25 +0200 (CEST) Original-Received: from mail.pontex.cz (mail.pontex.cz [89.233.168.98]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s6RBOP8E032678 for ; Sun, 27 Jul 2014 13:24:25 +0200 X-Footer: cG9udGV4LmN6 Original-Received: from localhost ([127.0.0.1]) by mail.pontex.cz (Kerio Connect 7.4.3) for ntg-context@ntg.nl; Sun, 27 Jul 2014 13:26:41 +0200 In-Reply-To: <53D36E5B.9060900@wxs.nl> User-Agent: Opera Mail/12.15 (Win32) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=89.233.168.98; country=CZ; latitude=49.7500; longitude=15.5000; http://maps.google.com/maps?q=49.7500,15.5000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NMvnoptJ - 5efb8c8cfe2d - 20140727 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:88242 Archived-At: Hello, On Sat, 26 Jul 2014 11:01:15 +0200, Hans Hagen wrote: > Hi, > > There is a new experimental feature (one of the side effects of > discussions with Alan about bibliographies and using distributed files > in a project structure). > > Say that you have this: > > test1.tex : uses \component one/test2 > > one/test2.tex : uses \component two/test3 > > etc. There can be resources under one/two that test3 needs and one way > out is to add this path to the used paths. Doing that automatically can > result in side effects when multiple resources with the same name are use= d. > > However, we now have a concept of the local job path, so when test2 is > read the jobfile: prefix will use path one, and when reading test3, that > prefix will trigger one/two usage. very nice and handy feature, thanks for that. Just a remark - - there was a similar prefix "toppath:" introduced some time ago. And - IIUC - "jobfile" refers to a dir rather than to a file, so wouldn't b= e better to call the prefix "jobdir:" or "jobpath:"? Best regards, Lukas > For this to work, one has to say: > > \usepath[jobfile:] > \setupexternalfigures[directory=3Djobfile:] > > To what extent this all works out well is to be tested. > > Hans -- = Ing. Luk=E1=B9 Proch=E1zka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezov=E1 1658 147 14 Praha 4 Tel: +420 241 096 751 Fax: +420 244 461 038 ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________