From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96121 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Building a Component Date: Mon, 12 Sep 2016 14:29:40 +0200 Message-ID: <57D69FB4.8000501@gmail.com> References: <29878D50-61C3-4C51-91E2-8EB00FEBE4AB@stien.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4582748830371590402==" X-Trace: blaine.gmane.org 1473683427 11702 195.159.176.226 (12 Sep 2016 12:30:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Sep 2016 12:30:27 +0000 (UTC) User-Agent: Postbox 5.0b5 (Macintosh/20160907) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 12 14:30:22 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjQNO-000256-II for gctc-ntg-context-518@m.gmane.org; Mon, 12 Sep 2016 14:30:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BD316180AF; Mon, 12 Sep 2016 14:29:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Tb2v32N0j6Dg; Mon, 12 Sep 2016 14:29:57 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 07C97180B2; Mon, 12 Sep 2016 14:29:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BB696180B0 for ; Mon, 12 Sep 2016 14:29:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QUE0kymx_yn3 for ; Mon, 12 Sep 2016 14:29:54 +0200 (CEST) Original-Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 5D19C180AF for ; Mon, 12 Sep 2016 14:29:43 +0200 (CEST) Original-Received: by mail-wm0-f53.google.com with SMTP id b187so133270679wme.1 for ; Mon, 12 Sep 2016 05:29:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=rN9flroQPWEEfazV8v9S7fv6Dheyknmy/2zRa/N7gSw=; b=JU11iM5ohHuMxaoVKumjvEpVGQty+vIncRcPhoIgNXRr+XPjWSrqDlc+B6GK7m6A7y hgxg0d+NbSHE+j/xLArHA+lU8GDbJ8NDWu1NNJGmIqPRLdUx/Ow29qkpxM5tq5ifltO/ syPhKQYs7ViVS48ktxyae5Cn8dhv6gWcRUP/0L9ak0SIUBWQoTAlAFyHy4SB4c2WtG8c 47KDu0MFwIjjGxn2Jq0ed+G0BkodaZHFcJkoVHEJTRDGSpjfM2VBDwYNDfEJy1EyAm9D NTkYGwxRV1LnhhS7IpykvNvK8dAB62HA4zFd4zvqDMfxvSxymbWRrHc+OkK6p+hvFDvk uAoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=rN9flroQPWEEfazV8v9S7fv6Dheyknmy/2zRa/N7gSw=; b=RFVGkUjiBNt200yMj5BUP5WPgzH8DnD9qslU4qyxOooiRcvgujscCvziAXH1ZICi+K g0VYaZfGt0I4jxMgCfZMxIQ8P/Ly5U/FD/f4n60JGN0ke2jKxEJA8B4QOyWcy3ZnsDRm l+ThILs+cFy2emAdzC+DG8I14Wd1RE4nT3r5AlsNrEc2QDoY6LSEyn96N+JBf5K/pvoP 83oG74k6VZbBVLPkai4S3B/vOxXeEqRjXNzSCtdxXcPE+mlm6d3N/PVsUjV3VxaPwLrO haz8PU+gHmWLI0Lxzb4+H/UX1u+mTucQl3LB5dQ/l7uPR0TzpalZME0rT3iGCS2Eadwz V8gw== X-Gm-Message-State: AE9vXwNJeJcJhErt2RiC1FCYcMMj9MTQU8WBzjrPydAAXN090OPlphgf6OgDjhlVpkHfIA== X-Received: by 10.194.66.41 with SMTP id c9mr17557385wjt.30.1473683382948; Mon, 12 Sep 2016 05:29:42 -0700 (PDT) Original-Received: from keima.localdomain (x2f26df2.dyn.telefonica.de. [2.242.109.242]) by smtp.gmail.com with ESMTPSA id w203sm71569wmw.7.2016.09.12.05.29.42 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Sep 2016 05:29:42 -0700 (PDT) In-Reply-To: <29878D50-61C3-4C51-91E2-8EB00FEBE4AB@stien.de> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:96121 Archived-At: This is a multi-part message in MIME format. --===============4582748830371590402== Content-Type: multipart/alternative; boundary="------------060102090400070501000203" This is a multi-part message in MIME format. --------------060102090400070501000203 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > Malte Stien > 12. September 2016 um 13:03 > Hi all, > > I am just familiarising myself with projects/products/components. I > have a number of documents that all belong to a large set of Reference > Manuals and so far I have built them all separately and have relied a > lot on the simple \input... statement. I assume with > projects/products/components I might be able to do something much > smarter. Let’s see. > > I get stuck quite early on, though. I have created a minimal component > file ‘component-1.tex’ and when I build it, context runs into what > seems to be an infinite recursion. Here is the file: > > > \project test-project > \product reference-manual-1 Move the two lines after \startcomponent. > \startcomponent component-1 > \starttext You don’t need \starttext/\stoptext when you use product and component files. Wolfgang --------------060102090400070501000203 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
12. September 2016 um 13:03
Hi all,

I am just familiarising myself with projects/products/components. I have a number of documents that all belong to a large set of Reference Manuals and so far I have built them all separately and have relied a lot on the simple \input... statement. I assume with projects/products/components I might be able to do something much smarter. Let’s see.

I get stuck quite early on, though. I have created a minimal component file ‘component-1.tex’ and when I build it, context runs into what seems to be an infinite recursion. Here is the file:


\project test-project
\product reference-manual-1
Move the two lines after \startcomponent.
\startcomponent component-1
\starttext
You don’t need \starttext/\stoptext when you use product and component files.

Wolfgang
--------------060102090400070501000203-- --===============4582748830371590402== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============4582748830371590402==--