From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77813 Path: news.gmane.org!not-for-mail From: Sietse Brouwer Newsgroups: gmane.comp.tex.context Subject: Re: \product tag Date: Wed, 8 Aug 2012 16:28:24 +0200 Message-ID: References: <20120807202917.28dad9cb@sda3.wexfordpress.net> 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: dough.gmane.org 1344436143 2430 80.91.229.3 (8 Aug 2012 14:29:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Aug 2012 14:29:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 08 16:29:03 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 1Sz7Fq-0000iV-Lt for gctc-ntg-context-518@m.gmane.org; Wed, 08 Aug 2012 16:28:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 91A8B101EF; Wed, 8 Aug 2012 16:28:57 +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 PCF6GzmuTMix; Wed, 8 Aug 2012 16:28:55 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 618B5101DF; Wed, 8 Aug 2012 16:28:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 878BC101DF for ; Wed, 8 Aug 2012 16:28:53 +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 d2duIQ33KJNA for ; Wed, 8 Aug 2012 16:28:47 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id D73B0101DD for ; Wed, 8 Aug 2012 16:28:47 +0200 (CEST) Original-Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q78ESkHE009328 for ; Wed, 8 Aug 2012 16:28:46 +0200 Original-Received: by wgbdq12 with SMTP id dq12so601272wgb.2 for ; Wed, 08 Aug 2012 07:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=tHNfmdQzxN23Tk5mkEJJxniby8AhrcD+T087GEeTx/A=; b=Rais/dNYJ5/FqQOnq4prjZrWEDOcdwN7WOP/Uf36g9hzpwAn4ZqtlXVDXaTTa5JOf0 vAz8fZS02tV/k1XBGeMglPliNVR6pcvxgqklGQi3npJcgIor4XAUyulI1UgtesVE5WXP I03htCrrtExxU/GvlGZKuRb9mrcP5vPLzN9n93ENc7k3mwdqmV1nH5fA+bvkUmKcWcJ+ /8aSLAlZbhGoOI5tZhN968fvjDCtz0n/dACS+1Kb7W/PVouCIkEtspbEZpWjNPd2vAlH hsoYXs+91HbgNVRy3L4iKb3Q3mqhezXTYi0pM6qQYokYw89dGeXYu3HMR9VDzYnAPy5U 5MhA== Original-Received: by 10.50.163.3 with SMTP id ye3mr1169264igb.24.1344436125424; Wed, 08 Aug 2012 07:28:45 -0700 (PDT) Original-Received: by 10.64.5.234 with HTTP; Wed, 8 Aug 2012 07:28:24 -0700 (PDT) In-Reply-To: <20120807202917.28dad9cb@sda3.wexfordpress.net> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; 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: 07HIesK1o - d832312ec571 - 20120808 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:77813 Archived-At: Hi John, What Wolfgang said: `\product X` should be processed once inside `\startproject` environments, and never otherwise. And you should probably have products as your build targets, not projects. @Hans: when I looked at the `processors` table in file-job.lua, I found some discrepancies between the processing commands and the reporting strings. Here is the table edited to show just the discrepancies: local processors = utilities.storage.allocate { -- [we_are_inside_startthis] = { -- [we_encounter_this] = { "string_for_message", processing_command }, -- comment -- } [v_text] = { [v_project] = { "none", context.processfileonce }, -- none [v_product] = { "none", context.processfileonce }, -- none }, [v_project] = { [v_product] = { "once", context.processfilenone }, -- once -- consistent, but strange comment [v_component] = { "none", context.processfilenone }, -- many * }, [v_product] = { [v_product] = { "none", context.processfilemany }, -- none }, } Is this all right? In general, the reporing strings are the ones consistent with the table at the bottom of http://wiki.contextgarden.net/Project_structure which is taken from page 3 of http://pragma-ade.com/general/magazines/mag-1101.pdf Cheers, Sietse On Wed, Aug 8, 2012 at 2:29 AM, john Culleton wrote: > In a MKIV file using the approved method of structuring projects, > does the \product tag do anything or is it just internal > documentation for the source file? When I process a file called > book.tex and containing the tag: > \product foobar > the result is a file called book.pdf, just as if the tag did not > exist. > > -- > John Culleton > Free list of books for self-publishers: > http://wexfordpress.net/shortlist.html > Police Procedural and Expose: "Death Wore Black" > "Create Book Covers with Scribus" > http://www.booklocker.com/books/4055.html > ___________________________________________________________________________________ > 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 ___________________________________________________________________________________