From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: my-mini-table(something) Date: Fri, 19 Jun 2009 07:42:21 +0200 Message-ID: <3F7A03B2-2D97-4A58-A1E5-12D3E2E6BDE6@gmail.com> References: <377224.40522.qm@web28315.mail.ukl.yahoo.com> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MHY2v-00089x-Uu for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 02:57:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MHY2r-00086o-DT for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 02:57:57 -0400 Received: from [199.232.76.173] (port=56317 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHY2r-00086X-5d for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 02:57:53 -0400 Received: from mx20.gnu.org ([199.232.41.8]:12446) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MHY2q-00042g-Es for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 02:57:52 -0400 Received: from ey-out-1920.google.com ([74.125.78.147]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MHY2p-0001M5-Pv for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 02:57:51 -0400 Received: by ey-out-1920.google.com with SMTP id 3so153352eyh.24 for ; Thu, 18 Jun 2009 23:57:50 -0700 (PDT) In-Reply-To: <377224.40522.qm@web28315.mail.ukl.yahoo.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: giovanni.ridolfi@yahoo.it Cc: emacs-orgmode On Jun 18, 2009, at 3:11 PM, giovanni.ridolfi@yahoo.it wrote: > > --- Gio 18/6/09, Stefan Vollmar ha scritto: >> #+MACRO is exactly what I was looking for. >> >> (1) The release notes of 6.27 say: >>> Macro processing for export has been enhanced: >>> - You can use arguments in a macro, for example >> #+macro hello Greet the $1: Hello $1 >> which is just what I had been hoping for! This important >> change has not yet made it into org.pdf of the 6.27a >> distribution. > > ???? really ????? > > at page 106 of the pdf version, that you can download from the site, > http://orgmode.org/org.pdf > > I can read: "Macro replacement"! > >> (2) The next logical step is to collect a number of useful >> macros in one include file. However, when I use >> #+INCLUDE: "./include.org" >> which contains the MACRO, the macro expansion does not work >> (if the same MACRO statements are part of the org-file where >> I use them, they work just fine), all other org content is >> included as expected. Is this is a bug? > > I think this is a not, yet?, implemented feature ;-) > > *Macro processing* is intended *for export* (release notes) > so, I think, Carsten considered only the macros in the > current file/buffer. I guess the right thing would be in get macro definitions also from a file linked to by #+SETUPFILE. This does now (latest git) work. - Carsten