From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McLean Subject: Re: [bug] Text macros don't get replaced Date: Wed, 20 Jun 2012 22:57:10 -0400 Message-ID: <411797A4-D820-400C-A489-134DE6153AA9@pobox.com> References: <80bokefg88.fsf@somewhere.org> <87a9zyp8zd.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1She7K-0005gy-JO for emacs-orgmode@gnu.org; Thu, 21 Jun 2012 05:56:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1She7E-0005cI-7G for emacs-orgmode@gnu.org; Thu, 21 Jun 2012 05:55:58 -0400 Received: from plane.gmane.org ([80.91.229.3]:54006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1She7D-0005c9-Ji for emacs-orgmode@gnu.org; Thu, 21 Jun 2012 05:55:51 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1She75-0005wR-QC for emacs-orgmode@gnu.org; Thu, 21 Jun 2012 11:55:43 +0200 In-Reply-To: <87a9zyp8zd.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org, Sebastien Vauban On Jun 20, 2012, at 6:34 AM, Nicolas Goaziou wrote: > Hello, >=20 > "Sebastien Vauban" > writes: >=20 >> I'm using text macros, and want them to be replaced both in the text = body, but >> as well in the title or date of the document: >>=20 >> #+MACRO: thesoft ABC >> #+MACRO: thedate November 2011 >>=20 >> #+TITLE: Data Sheet: {{{thesoft}}} >> #+AUTHOR: {{{thesoft}}} >> #+DATE: Copyright (c) {{{thedate}}} >>=20 >> With the new LaTeX exporter, it does work for TITLE and AUTHOR, but = not for >> DATE. >=20 > It should be fixed in master. Thank you. Any chance of getting them to work in Clocktable and/or Dynamic Block = lines? Example: #+MACRO: when lastweek #+TITLE: Summary Report for {{{when}}} * Clock Report for {{{when}}} #+BEGIN: clocktable :block {{{when}}}