From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81790 Path: news.gmane.org!not-for-mail From: "d.henman" Newsgroups: gmane.comp.tex.context Subject: Re: Using Product-component Date: Tue, 16 Apr 2013 21:40:09 +0900 Message-ID: <20130416214009.2444@binki> References: 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 1366116010 12236 80.91.229.3 (16 Apr 2013 12:40:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Apr 2013 12:40:10 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 16 14:40:14 2013 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 1US5BF-0004nl-Pu for gctc-ntg-context-518@m.gmane.org; Tue, 16 Apr 2013 14:40:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1049E101E3; Tue, 16 Apr 2013 14:40:13 +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 hmi4JMvtnDQR; Tue, 16 Apr 2013 14:40:11 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id EA95D101EB; Tue, 16 Apr 2013 14:40:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 68283101EB for ; Tue, 16 Apr 2013 14:40:09 +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 JiLuI8xPhuwg for ; Tue, 16 Apr 2013 14:40:07 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id D8825101E3 for ; Tue, 16 Apr 2013 14:40:07 +0200 (CEST) Original-Received: from mail1.asahi-net.or.jp (mail1.asahi-net.or.jp [202.224.39.197]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3GCe4Op014392 for ; Tue, 16 Apr 2013 14:40:05 +0200 Original-Received: from binki (i231150.dynamic.ppp.asahi-net.or.jp [61.125.231.150]) by mail1.asahi-net.or.jp (Postfix) with ESMTP id A7A7D170C9 for ; Tue, 16 Apr 2013 21:40:02 +0900 (JST) In-reply-to: Your message of Tue, 16 Apr 2013 03:32:58 -0400 (EDT) X-Mailer: MH-E 8.3.1; GNU Mailutils 2.99.98; GNU Emacs 24.3.1 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=202.224.39.197; country=JP; latitude=36.0000; longitude=138.0000; http://maps.google.com/maps?q=36.0000,138.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06JoAE5My - e3d57ceed2aa - 20130416 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:81790 Archived-At: As far as I know nothing in the project-component framework has a directive such as you have in the line below: "Testing \testing " That could be the problem. Aditya Mahajan wrote: > Has something changed recently on how product-component structure is supposed to > be used? I have three files: > > 1. prd.tex > > \environment env > > \startproduct prd > > \component cmp > > \stopproduct > > 2. env.tex > > > \startenvironment env > > \define\testing{This is a test} > > \stopenvironment > > 3. cmp.tex > > > \product prd > > \startcomponent cmp > > Testing \testing > > \stopcomponent > > When I compile cmp.tex, I get: > > %--------------------------%<----------------------------- > mtx-context | run 1: luatex --fmt="/home/adityam/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --jobname="cmp" --lua="/home/adityam/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./cmp" --c:input="./cmp" --c:kindofrun=1 --c:maxnofruns=8 "cont-yes.mkiv" > This is LuaTeX, Version beta-0.76.0-2013040516 (rev 4627) > \write18 enabled. > (/home/adityam/media/opt/context-minimals/texmf-context/tex/context/base/cont-yes.mkiv > > ConTeXt ver: 2013.04.14 16:51 MKIV beta fmt: 2013.4.14 int: english/english > > system > 'cont-new.mkiv' loaded > (/home/adityam/media/opt/context-minimals/texmf-context/tex/context/base/cont-new.mkiv) > system > files > jobname 'cmp', input 'cmp', result 'cmp' > fonts > latin modern fonts are not preloaded > languages > language 'en' is active > (cmp.tex{/home/adityam/media/opt/context-minimals/texmf-fonts/fonts/map/pdftex/context/mkiv-base.map} > fonts > preloading latin modern fonts (second stage) > fonts > typescripts > unknown library 'loc' > {/home/adityam/media/opt/context-minimals/texmf-fonts/fonts/map/dvips/lm/lm-math.map}{/home/adityam/media/opt/context-minimals/texmf-fonts/fonts/map/dvips/lm/lm-rm.map} > fonts > 'fallback modern rm 12pt' is loaded > (prd.tex (env.tex) (cmp.tex (prd.tex (cmp.tex (prd.tex (cmp.tex (prd.tex (cmp.tex (prd.tex (cmp.tex (prd.tex (cmp.tex (prd.tex (cmp.tex (prd.tex (cmp.tex (prd.tex (cmp.tex (prd.tex (cmp.tex (prd.tex (cmp.tex (prd.tex (cmp.tex (prd.tex (cmp.tex (prd.tex (cmp.tex (prd.tex (cmp.tex (prd.tex (cmp.tex (prd.tex (cmp.tex (prd.tex (cmp.tex (prd.tex (cmp.tex (prd.tex (cmp.tex (prd.tex > ! TeX capacity exceeded, sorry [text input levels=127]. > > system > tex > error on line 5 in file prd.tex: TeX capacity exceeded, sorry [ ... > > 1 \environment env > 2 3 \startproduct prd > 4 5 >> \component cmp > 6 7 \stopproduct > 8 > > > \ctxcommand #1^^@-\directlua {commands.#1} > > l.5 } > > \ctxcommand #1^^@-\directlua {commands.#1} > > l.5 \component cmp > > ! ==> Fatal error occurred, no output PDF file produced! > mtx-context | fatal error: return code: 1% > %--------------------------%<----------------------------- > > Shouldn't the product file not load the component file (or anything else inside > \startproduct .. \stopproduct) when compiling a component? > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________