From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82117 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: Heading in setuplayout from a variable Date: Fri, 26 Apr 2013 15:15:20 +0200 Message-ID: References: <517A678A.80709@wxs.nl> <517A78A1.3050104@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 1366982131 32442 80.91.229.3 (26 Apr 2013 13:15:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Apr 2013 13:15:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 26 15:15:35 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 1UViUr-0000H5-J8 for gctc-ntg-context-518@m.gmane.org; Fri, 26 Apr 2013 15:15:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 13B98101EB; Fri, 26 Apr 2013 15:15:29 +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 E7owqt+Y6-hc; Fri, 26 Apr 2013 15:15:26 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B6601101E5; Fri, 26 Apr 2013 15:15:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B0FD7101E5 for ; Fri, 26 Apr 2013 15:15:24 +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 tzuobSemu2DE for ; Fri, 26 Apr 2013 15:15:21 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 1FF6C101E4 for ; Fri, 26 Apr 2013 15:15:20 +0200 (CEST) Original-Received: from mail-we0-x22f.google.com (mail-we0-x22f.google.com [IPv6:2a00:1450:400c:c03::22f]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3QDFKwN030617 for ; Fri, 26 Apr 2013 15:15:20 +0200 Original-Received: by mail-we0-f175.google.com with SMTP id i48so447829wef.20 for ; Fri, 26 Apr 2013 06:15:20 -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=t0OEs/pUZQIo0ZUlGzvaU5161eZtDmLCNdQ3UzCr2Ng=; b=NgJ6/JRhJfiOjPQwFFUOreLZBpxVDcKFK4lnavfaebEz9G/6rIaG2Y2VDmk6NOl755 CLOJlqbFbUVqmrFteZWHOq6J+jNLd94Acz0yb+6eLYOOVJC8YazPvYe+fW6zqUle8kTa SDfLGeRqUmCmBw/BCH8Mnmnz04leD+KqvufUYvVMboOSWgvJNwphOx27v3B3nEeuHEQw BhB/T21xrTAlIqsZfivuZiDJGeCtbU2viDy60r1HyUriD9XYNp8bNoOgXdQjYG5HkEDt 4XWAfywZncy7XJjA4ZdV+OGXkgBeXaxr25flCYoFU03EeOCrtU2USitwTeH/y6tHW/r5 FrCQ== X-Received: by 10.180.108.176 with SMTP id hl16mr3932687wib.25.1366982120163; Fri, 26 Apr 2013 06:15:20 -0700 (PDT) Original-Received: by 10.194.109.233 with HTTP; Fri, 26 Apr 2013 06:15:20 -0700 (PDT) In-Reply-To: <517A78A1.3050104@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c03::22f; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WJsBfktL - c2c22cb2ae33 - 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:82117 Archived-At: 2013/4/26 Hans Hagen : > On 4/26/2013 2:35 PM, Cecil Westerhof wrote: >> >> 2013/4/26 Cecil Westerhof : >>>>> >>>>> I have the following code: >>>>> \setvariables[meta][type=cecil] >> >> >> This variable is hard coded. Is it possible to set it with a value I >> send as a command line parameter? > > > \getdocumentargument{myargument} My first try did not work, but now it does. Properly made a silly mistake somewhere. > of use modes (often more natural) In this case it is not something to use, but it is certainly something to look into. -- 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 ___________________________________________________________________________________