From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78711 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt inputs files from TEXMF/doc Date: Tue, 16 Oct 2012 09:54:30 +0200 Message-ID: References: <507D0F18.4050002@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1350374083 6782 80.91.229.3 (16 Oct 2012 07:54:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Oct 2012 07:54:43 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 16 09:54:49 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TO1z9-00079F-3V for gctc-ntg-context-518@m.gmane.org; Tue, 16 Oct 2012 09:54:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 78AF4101F5; Tue, 16 Oct 2012 09:54:35 +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 BhuPbS8gJtgX; Tue, 16 Oct 2012 09:54:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AC3D2101F9; Tue, 16 Oct 2012 09:54:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E1078101F9 for ; Tue, 16 Oct 2012 09:54:32 +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 yqeqkDOf4DVm for ; Tue, 16 Oct 2012 09:54:32 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 18DF9101F5 for ; Tue, 16 Oct 2012 09:54:32 +0200 (CEST) Original-Received: from mail-qc0-f169.google.com (mail-qc0-f169.google.com [209.85.216.169]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q9G7sU63013270 for ; Tue, 16 Oct 2012 09:54:31 +0200 Original-Received: by mail-qc0-f169.google.com with SMTP id t2so5617034qcq.14 for ; Tue, 16 Oct 2012 00:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+qSLuu63rNgkGeDNIYTuLvCA4N5gw96M85kzS2F4wxM=; b=x9GxPM3hRiKdZ284EM4m6KoLx/K7fhnlXfS18qYjQgxVPTSUlufLQBwNyn7lno5eL1 SC8d4t+K8ppzyCbbBr3nJiHzXivjlynocmEsudy4f6txY+ZXrPF+m9T3cP2tj0FsxfP4 27GUOzikoFjES3KM4LZwzCORYw1D4H3PgikasglZ0SEX+pMOcNbbm9UqBGmQQue0DzF/ C0AOBYA0uuc4OlMWRt/yrXo+zO+0vjbYWSiW2V0g3duOrHa8wyKD+ea/8NgU6UDEU7ht oJXkaeDxFwBt4dLOPpbSzTRj0Rt2UBkERFVvPTgW5XQvF3o6NVNu0xrenJ002B/c0qMQ so7A== Original-Received: by 10.49.129.201 with SMTP id ny9mr33001513qeb.37.1350374070192; Tue, 16 Oct 2012 00:54:30 -0700 (PDT) Original-Received: by 10.49.61.36 with HTTP; Tue, 16 Oct 2012 00:54:30 -0700 (PDT) In-Reply-To: <507D0F18.4050002@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.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: 08IbHSupe - c61b282007bc - 20121016 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:78711 Archived-At: On Tue, Oct 16, 2012 at 9:39 AM, Hans Hagen wrote: > On 15-10-2012 23:33, Mojca Miklavec wrote: >> >> Hello, >> >> I used \externalfigure[background] in a document (and I forgot to >> compile the local file background.tex) and ended up with a pleasant >> surprise: the command included >> >> /usr/local/texlive/2012/texmf-dist/doc/latex/background/background.pdf >> instead of complaining that the file doesn't exist. Shouldn't ConTeXt >> prevent inclusion of documents from "doc"? > > > in principle it should only look for local images and if enabled for images > in the tree but then only for the context input path > > \enabletrackers[graphics.locating] > > goves some info about how is searched, so maybe that gives a clue. I only get the following: graphics > inclusion > locations: local,global graphics > inclusion > path list: . .. ../.. graphics > inclusion > strategy: unknown format, prefer quality graphics > inclusion > found: ./background.pdf -> /usr/local/texlive/2012/texmf-dist/doc/latex/background/background.pdf graphics > inclusion > format natively supported by backend: pdf >> PS: tested with ConTeXt from TeX Live (as is probably evident from the >> fact that the file from TL has been found). > > Hopefully fixed in the meantime. (I don't have tl installed currently.) I tried the beta in standalone distribution, but I wasn't able to actually run the compilation (see below). However, the following might suggest that the problem is still present. > mtxrun background.pdf /context/tex/texmf-context/doc/latex/background/background.pdf (I manually added that file into the tree.) The kpsewhich doesn't return anything. Mojca This is LuaTeX, Version beta-0.70.2-2012052309 (TeX Live 2012) \write18 enabled. (/context/tex/texmf-context/tex/context/base/cont-yes.mkiv ! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-ref.lua:1006: attempt to index field 'structure' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/strc-ref.lua:1006: in function '?' ...text/tex/texmf-context/tex/context/base/strc-ref.lua:125: in function 'initializer' ...text/tex/texmf-context/tex/context/base/core-uti.lua:200: in function 'load' ...text/tex/texmf-context/tex/context/base/core-uti.lua:66: in function 'initialize'
:1: in main chunk. system > tex > error on line 1 in file /context/tex/texmf-context/tex/context/base/cont-yes.mkiv: LuaTeX error ... 1 >> %D \module 2 %D [ file=cont-yes, 3 %D version=2012.06.01, 4 %D title=\CONTEXT\ Miscellaneous Macros, 5 %D subtitle=Startup Stub, 6 %D author=Hans Hagen, 7 %D date=\currentdate, 8 %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] 9 %C 10 %C This module is part of the \CONTEXT\ macro||package and is 11 %C therefore copyrighted by \PRAGMA. See mreadme.pdf for ...obname .tuc","\jobname .tua") } \setupcolors [\c!state =\v... \the \everyjob l.1 %D \module ? ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________