From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73372 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Struggling with cld document... Date: Thu, 22 Dec 2011 23:36:57 +0100 Message-ID: <02D5AB06-17DA-4DF9-8DD3-51D7A70B8F9E@googlemail.com> References: <95CBEE22-1457-470A-98F3-1D58B0CB563B@googlemail.com> <732B304F-FBC8-4D5E-938E-9314F479672C@boede.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1324593443 25148 80.91.229.12 (22 Dec 2011 22:37:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Dec 2011 22:37:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 22 23:37:18 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RdrGI-0000By-7v for gctc-ntg-context-518@m.gmane.org; Thu, 22 Dec 2011 23:37:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8B31ECB1AE; Thu, 22 Dec 2011 23:37:17 +0100 (CET) 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 xxo8Ofe3Feza; Thu, 22 Dec 2011 23:37:13 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A51E8CB19F; Thu, 22 Dec 2011 23:37:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EFC2FCB19F for ; Thu, 22 Dec 2011 23:37:12 +0100 (CET) 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 cUow+OnR82ad for ; Thu, 22 Dec 2011 23:37:02 +0100 (CET) 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 04B8ECB19E for ; Thu, 22 Dec 2011 23:37:01 +0100 (CET) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pBMMb1ho009311 for ; Thu, 22 Dec 2011 23:37:01 +0100 Original-Received: by eekc41 with SMTP id c41so10157765eek.14 for ; Thu, 22 Dec 2011 14:37:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=8CP2kg3voYsvFvYr7J2OTSQ51nhSimjNAoWNeeZx7Rw=; b=FYoAW0+ZcBBrEuCScC+osblQnqV/kD8YE5/xWXHQ5rwRnEqFAGimZARVgiCj1VuEed ebeAoDmOYYe1FC8a6MvozwAFDDpm36GhuVYL/n7PXjFVBVpT6oypbGetoaecjmc0ALWq yD/R3XuEFKQuXDkKFmDdm8RDvrRi9q3sTRvAE= Original-Received: by 10.213.31.72 with SMTP id x8mr1462147ebc.55.1324593420871; Thu, 22 Dec 2011 14:37:00 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFB7E4.dip.t-dialin.net. [87.175.183.228]) by mx.google.com with ESMTPS id y12sm38827575eeb.11.2011.12.22.14.36.57 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Dec 2011 14:36:58 -0800 (PST) In-Reply-To: <732B304F-FBC8-4D5E-938E-9314F479672C@boede.nl> X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.41; 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: 0HGcmB1uT - 72ab3b409788 - 20111222 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:73372 Archived-At: Am 22.12.2011 um 23:23 schrieb Willi Egger: > Hi Wolfgang, > = > = > thank you very much for your reply. = > = > This works but I am still not there. I need to use this construct with co= ntext.labeltext() > So do you know how to achieve the context.setupheadertext with the contex= t.labeltext() as its argument? You need =93function() =85 end=94 around the inner content, it=92s explaine= d in the cld manual. \setuppagenumbering[location=3Dfooter] \setuplabeltext[en][willi=3DWilli Egger] \startluacode function documentdata.myheadertext(s) context.setupheadertexts{ function() context.labeltext("willi") -- context.space() context(": ") context(s) end } end = \stopluacode \ctxlua{documentdata.myheadertext("Headertext")} \starttext \input knuth \stoptext Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________