From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76979 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: setupinteraction and macroexpansion Date: Tue, 19 Jun 2012 10:42:15 +0200 Message-ID: <8ADC6791-A24A-4EBB-8A87-0A0CF86B4559@googlemail.com> References: <275798233.20120619103939@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1340095350 20391 80.91.229.3 (19 Jun 2012 08:42:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Jun 2012 08:42:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 19 10:42:30 2012 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 1Sgu12-0002sC-Qs for gctc-ntg-context-518@m.gmane.org; Tue, 19 Jun 2012 10:42:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A812C101FD; Tue, 19 Jun 2012 10:42: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 SukdBgL7JScf; Tue, 19 Jun 2012 10:42:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E482F101F0; Tue, 19 Jun 2012 10:42:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BCC7C101F0 for ; Tue, 19 Jun 2012 10:42:20 +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 6Q9OWwOrEc1O for ; Tue, 19 Jun 2012 10:42:19 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id C7183101EB for ; Tue, 19 Jun 2012 10:42:19 +0200 (CEST) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q5J8gI11020315 for ; Tue, 19 Jun 2012 10:42:19 +0200 Original-Received: by bkcjm19 with SMTP id jm19so6237296bkc.14 for ; Tue, 19 Jun 2012 01:42:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=subject:mime-version:content-type:from:x-priority:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=6Kl6mGTv0DNm0d861nK4KAP2I49Wc3clshq6GshQwVU=; b=MUjpG88TuofX2ZB6GDKPe2eYSPa0EpsW2p4cCHwAXTDgrzG9cJLlooX4V6JiUnvx3u 7T/0bzG7WlCPheAdP7HKPLKVqFfpL0bA9YMjMI/kJtnQwZifyIoXnPD+8vpaSTyWF+a4 FiFjkFHRWq7NI/bTuMMUG4U25hIBpPWObiB4jZ0q1ZKkEVnnLfkuTN+o1QBP361fUchR CJ2do36OVsdUEyAZ1nIXgu3Mz9BQygKy/0Bx5Ruir1ykL5Mk2TcPdSpyFEbD0Zbzr3mv YLFvRnlZ//+Y6Kd0SLdWlG/dgFI7jAL62dfcXDxyefDqcYxRci++312rgGj5IoyfBfri 1W6A== Original-Received: by 10.205.129.8 with SMTP id hg8mr7717196bkc.25.1340095338438; Tue, 19 Jun 2012 01:42:18 -0700 (PDT) Original-Received: from [192.168.2.36] (p54BAF3AB.dip.t-dialin.net. [84.186.243.171]) by mx.google.com with ESMTPS id u8sm22043940bks.0.2012.06.19.01.42.16 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Jun 2012 01:42:17 -0700 (PDT) X-Priority: 3 (Normal) In-Reply-To: <275798233.20120619103939@gmx.de> X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.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: 0THo8Gi6m - 04bea291d559 - 20120619 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 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:76979 Archived-At: Am 19.06.2012 um 10:39 schrieb Andreas Schneider: > Hello, > = > I'm a bit lost with macro expansion here. I try to use some macros to > set the title (and subject) of the PDF document. The attached minimal > example shows what I want to achieve. > = > I tried def, edef, gdef, define, explicit expand, expandoneafter, etc. > etc. without any success. Whatever I do, the title field in the PDF > metadata always contains the raw "\date..." command instead of the > formatted date. > = > Any suggestions? You can=92t use \date (or any other unexpandable command) in an expandable = context. 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 ___________________________________________________________________________= ________