From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82126 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: Is it possible to set the output file name in the script Date: Fri, 26 Apr 2013 18:50:46 +0200 Message-ID: References: <517AA765.8070406@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 1366995049 21526 80.91.229.3 (26 Apr 2013 16:50:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Apr 2013 16:50:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 26 18:50:53 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 1UVlrI-0000XL-3x for gctc-ntg-context-518@m.gmane.org; Fri, 26 Apr 2013 18:50:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8D9FC101FF; Fri, 26 Apr 2013 18:50:51 +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 afHZjixqlIOr; Fri, 26 Apr 2013 18:50:49 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 861E7101E4; Fri, 26 Apr 2013 18:50:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AA3B2101E4 for ; Fri, 26 Apr 2013 18:50:48 +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 Hr6+rnZVUUAO for ; Fri, 26 Apr 2013 18:50:48 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id E4EDA101E0 for ; Fri, 26 Apr 2013 18:50:47 +0200 (CEST) Original-Received: from mail-we0-x22e.google.com (mail-we0-x22e.google.com [IPv6:2a00:1450:400c:c03::22e]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3QGokZU003345 for ; Fri, 26 Apr 2013 18:50:47 +0200 Original-Received: by mail-we0-f174.google.com with SMTP id t9so3266827wey.33 for ; Fri, 26 Apr 2013 09:50:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=bK5rkG1uZg71rVKd8cZaXzG57DNYJdH9pHn/j7pvn/Q=; b=RQjuvTdovnfXN/dFzkaXveXhhNCLhmRvQvtze0lKb6hC9YLIEEuIgCdoZdLlcNkfRb oA/a/ccI2ldgeG325tJODlVklzGdiwIeNCzKpFeJMN1ZSrEbWZMhASWWXyywa56uwLSn wHwJmtczGWtvN3sGmMVmrtpW9Y7ZuGCc7yTniOlNiyUvhczPuwVjRty7MB+KrlXVdME4 AmGKn2ZC6oPHN4AVivN3NDbg8cRquOxTFXhIvjkLOyRLBle9v4kom/QVlOsOuQ3B01WF gg9r+2N+L1Dl6cA78KeoWo+V2ZpSMVRKVr+wYxYjD68dKDBplk5PGjDOFi6jxlvA+2U5 Gf4g== X-Received: by 10.180.94.196 with SMTP id de4mr5252319wib.23.1366995046789; Fri, 26 Apr 2013 09:50:46 -0700 (PDT) Original-Received: by 10.194.109.233 with HTTP; Fri, 26 Apr 2013 09:50:46 -0700 (PDT) In-Reply-To: <517AA765.8070406@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c03::22e; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RJsEOLxd - a5027ced10e6 - 20130426 (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:82126 Archived-At: 2013/4/26 Hans Hagen : > On 4/26/2013 5:34 PM, Cecil Westerhof wrote: >> >> I am using a command line parameter to change the generated output. Is >> it also possible to set the output file name depending on the >> parameter? > > > --result=somename That is on the command line. Then you need to give two parameters. Not a very big problem, but I would prefer one parameter. I like DRY. Less that can go wrong. -- Cecil Westerhof ___________________________________________________________________________________ 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 ___________________________________________________________________________________