From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [bug] Text macros don't get replaced Date: Wed, 20 Jun 2012 12:34:46 +0200 Message-ID: <87a9zyp8zd.fsf@gmail.com> References: <80bokefg88.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShIIt-0000QM-IA for emacs-orgmode@gnu.org; Wed, 20 Jun 2012 06:38:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ShIIn-0002tL-Cg for emacs-orgmode@gnu.org; Wed, 20 Jun 2012 06:38:27 -0400 Received: from plane.gmane.org ([80.91.229.3]:41059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShIIn-0002t1-2f for emacs-orgmode@gnu.org; Wed, 20 Jun 2012 06:38:21 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ShIIe-0005vu-Bv for emacs-orgmode@gnu.org; Wed, 20 Jun 2012 12:38:12 +0200 In-Reply-To: <80bokefg88.fsf@somewhere.org> (Sebastien Vauban's message of "Wed, 20 Jun 2012 12:08:23 +0200") 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: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Hello, "Sebastien Vauban" writes: > 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: > > #+MACRO: thesoft ABC > #+MACRO: thedate November 2011 > > #+TITLE: Data Sheet: {{{thesoft}}} > #+AUTHOR: {{{thesoft}}} > #+DATE: Copyright (c) {{{thedate}}} > > With the new LaTeX exporter, it does work for TITLE and AUTHOR, but not for > DATE. It should be fixed in master. Thank you. Regards, -- Nicolas Goaziou