From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82128 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 19:01:03 +0200 Message-ID: References: <517AA765.8070406@wxs.nl> <517AB17E.8030104@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 1366995666 28529 80.91.229.3 (26 Apr 2013 17:01:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Apr 2013 17:01:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 26 19:01:10 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 1UVm1G-0004tx-Aw for gctc-ntg-context-518@m.gmane.org; Fri, 26 Apr 2013 19:01:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8BFD9101F5; Fri, 26 Apr 2013 19:01: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 D60ZH4FrNsC8; Fri, 26 Apr 2013 19:01:08 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E2B27101E4; Fri, 26 Apr 2013 19:01:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 28DBB101E4 for ; Fri, 26 Apr 2013 19:01:06 +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 Hvm4EXdfbh8U for ; Fri, 26 Apr 2013 19:01:05 +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 2E0FB101E0 for ; Fri, 26 Apr 2013 19:01:05 +0200 (CEST) Original-Received: from mail-we0-x234.google.com (mail-we0-x234.google.com [IPv6:2a00:1450:400c:c03::234]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3QH14o7029799 for ; Fri, 26 Apr 2013 19:01:04 +0200 Original-Received: by mail-we0-f180.google.com with SMTP id x43so3675009wey.39 for ; Fri, 26 Apr 2013 10:01:04 -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=8OGNlDfaE6K7Z6jfT73tZE0iU2lbbuQxFILUvWDZ9Iw=; b=RBuJMrTrKANwoIWrQCCE8ZkJ4nw68k195ovu7dU+48LzWsUFoviRpLiiSOSvNHsZf0 ldrbl7Q42aN2Rxiv8c3EdVwUOmG4Cbi8+CYDsLWKh85tOp4AI5eYWjNsxcXHDlSGfdvl kK475PnXwkYRobXex21flXNARZXjt733HRb1zbQL9vCDswlKyYj+ajx4eyUqNxwbwvxm 8eoOItvlfW7w3RPgPLCn+V2WYw3SIjSQaFsKyQAQoJ6wXj9cBYQBTMFEr7FriiAHFWLd Q4ylvCnFaxCuxaq8xE0qiZXk8+0KCrUiMaod/GQks4zHW/h4ENCTe0MAJQ0oSNls0mS9 W9Vw== X-Received: by 10.194.219.162 with SMTP id pp2mr4842195wjc.27.1366995663919; Fri, 26 Apr 2013 10:01:03 -0700 (PDT) Original-Received: by 10.194.109.233 with HTTP; Fri, 26 Apr 2013 10:01:03 -0700 (PDT) In-Reply-To: <517AB17E.8030104@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c03::234; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07JsF14ia - 6293739dcb1a - 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:82128 Archived-At: 2013/4/26 Hans Hagen : > On 4/26/2013 6:50 PM, Cecil Westerhof wrote: >> >> 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. > > > not possible but you can access the outputfilename at the tex and lua end What do mean with that? -- 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 ___________________________________________________________________________________