From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82140 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 22:40:06 +0200 Message-ID: References: <517AA765.8070406@wxs.nl> <517AB17E.8030104@wxs.nl> <517AB56C.6070907@wxs.nl> <87fvydujkg.fsf@micropit.couberia.selfip.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1367008815 6394 80.91.229.3 (26 Apr 2013 20:40:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Apr 2013 20:40:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 26 22:40:20 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 1UVpRI-0006UU-P5 for gctc-ntg-context-518@m.gmane.org; Fri, 26 Apr 2013 22:40:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CA600101E0; Fri, 26 Apr 2013 22:40:15 +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 E4otFqjV8jvd; Fri, 26 Apr 2013 22:40:14 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 47E34101E9; Fri, 26 Apr 2013 22:40:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 84367101E9 for ; Fri, 26 Apr 2013 22:40: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 gmg8fUP4xK27 for ; Fri, 26 Apr 2013 22:40:07 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id B0F54101E0 for ; Fri, 26 Apr 2013 22:40:07 +0200 (CEST) Original-Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3QL2UVL020042 for ; Fri, 26 Apr 2013 23:02:30 +0200 Original-Received: by mail-wi0-f175.google.com with SMTP id h11so1040406wiv.8 for ; Fri, 26 Apr 2013 13:40:06 -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:content-transfer-encoding; bh=pvqaI7VZ94pG1hhgaOLz4eHMF27oVd2zT9/TbUYOyfc=; b=S3iaW1ZRJhW1upQ9YLbCu+t+OqCpi0qOCgm0WhNBm72VJH656HVKZ/RG3DPXfQBECl Z4LyECi9NfsMoeRAeWbf/Hs/GZLImdZuQwQ72BRbn1DgOW9CRxyG1xbvs6ByYhDlQQ9X nsk1NPTOBp8RGcMRF4/JMLhwXg1K/bGNAB8GS+Sl+XKJ4YTwzOGpuxF+oqKygSXDa4uU 8v0mNt5cEKLJWQcCyajX750rFXZXegxTDjdUU3a2i0Sqjm3grPfepSC1K4m8gc4Oo6CU qg82bUmTTcw789eN0l0A4tZvaulOuD4RPCUHhXHL0AAOYvFMIVEa9Ij1OvgPD0hqxfmB 8zog== X-Received: by 10.194.62.18 with SMTP id u18mr36192178wjr.53.1367008806857; Fri, 26 Apr 2013 13:40:06 -0700 (PDT) Original-Received: by 10.194.109.233 with HTTP; Fri, 26 Apr 2013 13:40:06 -0700 (PDT) In-Reply-To: <87fvydujkg.fsf@micropit.couberia.selfip.net> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22f; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01JsJ2u62 - 8c891f93a670 - 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:82140 Archived-At: 2013/4/26 Peter M=FCnster : > On Fri, Apr 26 2013, Cecil Westerhof wrote: > >> The following script does what I want: > > Or shorter: > > --8<---------------cut here---------------start------------->8--- > #!/usr/bin/env bash > context --result=3Dcv-${1:-cecil} CV-Cecil-Westerhof > --8<---------------cut here---------------end--------------->8--- Nope, when the parameter is cecil, I want to add nothing. Also I am a little paranoid, so I want the script to not execute when there are to many parameters. >> There is only one problem. If I first generate the default one and >> after that a specific one, the default one does not exist anymore. > > A known bug: http://www.ntg.nl/pipermail/ntg-context/2008/035125.html > > You could add it to the tracker: http://tracker.luatex.org/ I already went around it. But it would not hurt to report it. -- = Cecil Westerhof ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________