From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76983 Path: news.gmane.org!not-for-mail From: Andreas Schneider Newsgroups: gmane.comp.tex.context Subject: Re: setupinteraction and macroexpansion Date: Tue, 19 Jun 2012 10:59:34 +0200 Message-ID: <11410450325.20120619105929@gmx.de> References: <275798233.20120619103939@gmx.de> <8ADC6791-A24A-4EBB-8A87-0A0CF86B4559@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1460604573==" X-Trace: dough.gmane.org 1340096372 28135 80.91.229.3 (19 Jun 2012 08:59:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Jun 2012 08:59:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 19 10:59: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 1SguHZ-0008WA-7u for gctc-ntg-context-518@m.gmane.org; Tue, 19 Jun 2012 10:59:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7FBBB10217; Tue, 19 Jun 2012 10:59: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 9Bgz1x1zFsiJ; Tue, 19 Jun 2012 10:59:29 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9489910204; Tue, 19 Jun 2012 10:59:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 06AAB10204 for ; Tue, 19 Jun 2012 10:59:27 +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 j7tqxWJQFGgw for ; Tue, 19 Jun 2012 10:59:22 +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 723E3101EE for ; Tue, 19 Jun 2012 10:59:22 +0200 (CEST) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with SMTP id q5J8wTAw006787 for ; Tue, 19 Jun 2012 10:58:29 +0200 Original-Received: (qmail invoked by alias); 19 Jun 2012 08:59:20 -0000 Original-Received: from unknown (EHLO lcm.deutschepost.de) [194.25.90.66] by mail.gmx.net (mp030) with SMTP; 19 Jun 2012 10:59:20 +0200 X-Authenticated: #2825193 X-Provags-ID: V01U2FsdGVkX1/pKMMDZ1zpxPlgbVvfkUklftvQhURdKdJASbM81L 15QdbxrXHR7dIi X-Priority: 3 (Normal) In-Reply-To: <8ADC6791-A24A-4EBB-8A87-0A0CF86B4559@googlemail.com> X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.22; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WHo8WtzO - 031fb2908384 - 20120619 (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.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:76983 Archived-At: --===============1460604573== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha256"; boundary="----------0760CC0B92FCE908E" ------------0760CC0B92FCE908E Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On Tuesday, June 19, 2012, at 10:42 Wolfgang Schuster wrote: > Am 19.06.2012 um 10:39 schrieb Andreas Schneider: >> Hello, >>=20 >> 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. >>=20 >> 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. >>=20 >> Any suggestions? > You can=92t use \date (or any other unexpandable command) in an expandabl= e context. > Wolfgang Hmm I see, so \date is simply not possible for that case. Ok, thanks for explaining that I wasn't aware (until now) that commands can be unexpandable. Thanks again! :-) --=20 Best Regards, Andreas ------------0760CC0B92FCE908E Content-Type: application/pgp-signature -----BEGIN PGP MESSAGE----- Version: GnuPG v2.0.17 (MingW32) iF4EAREIAAYFAk/gP3UACgkQIxziJkiYZxGAfwD8CCvC+2MSRUjjDdEo93C4ftHY mNGKpwzi6g5A/SNwdT4A/0cytA61Zi1SUxAwqn8Gvu1zFvTEYIUHdTexxDSMlATe =Gw4N -----END PGP MESSAGE----- ------------0760CC0B92FCE908E-- --===============1460604573== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1460604573==--