From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62704 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Stefan_M=FCller?= Newsgroups: gmane.comp.tex.context Subject: Re: Trouble with ConTeXt's project structure Date: Mon, 18 Oct 2010 12:00:46 +0200 Message-ID: <4CBC1ACE.10304@gmx.de> References: <201010172143.11583.warrence.stm@gmx.de> <69DADB50-F26C-4EB3-B5E0-8F67E29F37DF@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1287396080 17703 80.91.229.12 (18 Oct 2010 10:01:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Oct 2010 10:01:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 18 12:01:18 2010 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 1P7mWr-0006yV-Lp for gctc-ntg-context-518@m.gmane.org; Mon, 18 Oct 2010 12:01:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D03F8CA773; Mon, 18 Oct 2010 12:01:16 +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 8VsY0QtUF2kf; Mon, 18 Oct 2010 12:01:14 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E5D15CA762; Mon, 18 Oct 2010 12:01:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1C701CA762 for ; Mon, 18 Oct 2010 12:01:12 +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 hYjg8JIIlXwq for ; Mon, 18 Oct 2010 12:01:09 +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 71799CA71C for ; Mon, 18 Oct 2010 12:01:09 +0200 (CEST) Original-Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id o9IA18mQ014774 for ; Mon, 18 Oct 2010 12:01:08 +0200 Original-Received: (qmail invoked by alias); 18 Oct 2010 10:01:07 -0000 Original-Received: from 77-64-196-235.dynamic.primacom.net (EHLO [192.168.100.108]) [77.64.196.235] by mail.gmx.net (mp070) with SMTP; 18 Oct 2010 12:01:07 +0200 X-Authenticated: #11064435 X-Provags-ID: V01U2FsdGVkX1+YVKstXt6YrASahl0Js4vrjMb0or2coUyamI4eNv KR8O4X1kJv5C7c User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 In-Reply-To: <69DADB50-F26C-4EB3-B5E0-8F67E29F37DF@fiee.net> X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.22; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06Dka18a8 - af265153d651 - 20101018 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:62704 Archived-At: On 18.10.2010 01:29, Henning Hraban Ramm wrote: > Am 2010-10-17 um 21:43 schrieb Stefan M=FCller: > >> I tried to set up a project of mine using the project structure >> propagated in >> the wiki [1]. Because I ran into some trouble I made the following small >> example (using MkIV, minimals 2010.10.14 13:14). > ... >> All this seems very strange to me, especially since a friend told me >> project >> structure works pretty well in his projects. I tested on two different >> machines >> (Windows Vista and Linux). Am I doing something wrong? Is this a bug or a >> feature? > > Consider it a feature that actual code in your project file is always > executed. > Consider the table of content call in the wiki a bad example. Mea culpa. > Change it. > > Greetlings from Lake Constance! > Hraban > --- > http://www.fiee.net/texnique/ > http://wiki.contextgarden.net > https://www.cacert.org (I'm an assurer) Okay, so the \completecontent should be put inside another component, right? >> Another case, same problem. If I drop the "product", i.e. I only >> have a project file including several components, the individual >> component files and an environment file, kind of the same problems >> appear. Translating the project file works well. Translating the >> component file c_editorial.tex results in a PDF with 4 pages >> (instead of one with "Editorial"): "Editorial", "First Article", >> "Contents", "Editorial". Context puts the whole project in the PDF >> and appends the component c_editorial... For me the trouble lies more in my second example "Another case, same = problem" because the "\component c_something" calls are also considered = as "actual code", not only the \completecontent. Using a (fake) product = in this case seems to me like a workaround. Thank you very much so far, Stefan. ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________