From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70832 Path: news.gmane.org!not-for-mail From: Ian Lawrence Newsgroups: gmane.comp.tex.context Subject: Re: relative references in OSX Lion Date: Tue, 23 Aug 2011 14:37:04 +0100 Message-ID: <0FFBF5FE-B9C8-45E9-A13F-3D36DF22DB14@gmail.com> References: <20110811174631.GA2145@iram-hb-003386.extra.cea.fr> <4C7BAA2B-06B6-416D-B692-D39B6CC519CD@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1314106649 15503 80.91.229.12 (23 Aug 2011 13:37:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Aug 2011 13:37:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 23 15:37:23 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QvrAQ-0002W0-8Z for gctc-ntg-context-518@m.gmane.org; Tue, 23 Aug 2011 15:37:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5C1ECCAEE9; Tue, 23 Aug 2011 15:37:20 +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 ajfR19rKM2-k; Tue, 23 Aug 2011 15:37:17 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 69D59CAF0A; Tue, 23 Aug 2011 15:37:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A1BC5CAF0A for ; Tue, 23 Aug 2011 15:37:15 +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 wI3cchrBFuGU for ; Tue, 23 Aug 2011 15:37:08 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id AAB73CAEE9 for ; Tue, 23 Aug 2011 15:37:08 +0200 (CEST) Original-Received: from mail-wy0-f169.google.com (mail-wy0-f169.google.com [74.125.82.169]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p7NDb7lj013925 for ; Tue, 23 Aug 2011 15:37:07 +0200 Original-Received: by wyi11 with SMTP id 11so116027wyi.14 for ; Tue, 23 Aug 2011 06:37:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=arJkxYog3dDcUmqw8vrt8tcQr2rtkjWU16SisfkYVbQ=; b=kxiLIL2qmgyZv9ijcXdyJgfa3o5FIjvQGVSKkmwNPZM3RQlh/a4IjwOiVH4q1DDJ+5 ZsqBy1Md9jHhrc/yZPDoJ6fd2TTkQzh/HD5DZDmtpAaPSRMZXE0bmrOFFRfQGr8+3rTI 4pQh+vgTeoKMtIifcJj0vF4rHz/XQDdpKrSBo= Original-Received: by 10.216.121.15 with SMTP id q15mr686100weh.104.1314106627314; Tue, 23 Aug 2011 06:37:07 -0700 (PDT) Original-Received: from [192.168.0.4] ([87.115.240.226]) by mx.google.com with ESMTPS id s1sm134358wec.20.2011.08.23.06.37.05 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 23 Aug 2011 06:37:06 -0700 (PDT) In-Reply-To: <4C7BAA2B-06B6-416D-B692-D39B6CC519CD@gmail.com> X-Mailer: Apple Mail (2.1244.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03FnNB7yg - 0b9c97841242 - 20110823 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:70832 Archived-At: Is anyone else successfully running context on OS X Lion? Apparently the relative references work in the terminal - that's the comman= d line interface to unix. I can move around different folders using relativ= e reference there. However there is a complete failure to repeat relative r= eferences within Context (absolute references work fine). Even with well st= ructured tex files from Wolfgang or Willi=85 I have razed the whole context installation and reinstalled the latest beta= (ConTeXt ver: 2011.08.23 13:04 MKIV fmt: 2011.8.23 int: english/english= ). No joy at all=85so anyone else using Lion? Thanks Ian On 12 Aug 2011, at 11:45, Ian Lawrence wrote: > That was very kind of you, and I'd like to buy you a beer, even though yo= ur example seemed to be much more complex than mine. > = > I assume your example ought to run 'out of the box' by just issuing the c= ommend 'context relabs'. > = > So I did, and what I got for my trouble was the following pdf (OK, so the= re was more white space, but this was all the content). > = > > = > There's not much to guide me in the log file ( the only not found was : f= iles > readfile > asked name: 'loc', not found), but context (Con= TeXt ver: 2011.08.04 00:42 MKIV fmt: 2011.8.12 int: english/english) see= ms not to have found the component text, or the graphic=85. > = > So far I have lost days to this=85and I'm afraid I'm none the wiser now. > = > But I do appreciate the effort. Thanks. > = > = > = > = > On 12 Aug 2011, at 08:25, Wolfgang Schuster wrote: > = >> = >> Am 12.08.2011 um 07:52 schrieb Ian Lawrence: >> = >>> So here is the simplest example I could manage=85 >>> = >>> [=85] >> = >> I show you how it=92s done without problems on a simple example. >> = >> All your files are in directory with the two subfolders =93tex=94 for fo= r subparts >> of your document and =93graphic=94 for figures. >> = >> relabs.tex >> relabs-environment.tex >> tex/pickedup.tex >> graphics/pic.pdf >> = >> = >> The content (i attached all files) of the tex-files is: >> = >> >> \startproduct relabs >> = >> \environment relabs-environment >> = >> \section{Graphic} >> = >> \placefigure[force] >> {A Graphic} >> {\externalfigure[pic]} >> = >> \section{File} >> = >> \component pickedup >> = >> \stopproduct >> >> = >> >> \startenvironment relabs-environment >> = >> \doifmodeelse{*product} >> {\setupexternalfigures[directory=3D{graphics}]} >> {\setupexternalfigures[directory=3D{../graphics}]} >> = >> \usepath[tex] >> = >> \stopenvironment >> >> = >> >> \startcomponent pickedup >> = >> \environment relabs-environment >> = >> \subsection{Text} >> = >> \input knuth >> = >> \subsection{Graphic} >> = >> \placefigure[force] >> {Another graphic} >> {\externalfigure[pic]} >> = >> \stopcomponent >> >> = >> = >> I used product and component because you can now set different figure >> paths for both files. When you process the product context should search >> in the =93graphic=94 folder which is in the same folder but when you pro= cess >> the component context should first go into the parent folder and then >> look in =93graphics=94. >> = >> = >> For the inclusion of files you can specify with =93\usepath=94 where con= text >> should look and all you need as argument for \component is the name of >> the file. >> = >> Wolfgang >> ______________________________________________________________= _____________________ >> If your question is of interest to others as well, please add an entry t= o the Wiki! >> = >> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-c= ontext >> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net >> archive : http://foundry.supelec.fr/projects/contextrev/ >> wiki : http://contextgarden.net >> ________________________________________________________________________= ___________ > = ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________