emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: giovanni.ridolfi@yahoo.it
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: my-mini-table(something)
Date: Fri, 19 Jun 2009 07:42:21 +0200	[thread overview]
Message-ID: <3F7A03B2-2D97-4A58-A1E5-12D3E2E6BDE6@gmail.com> (raw)
In-Reply-To: <377224.40522.qm@web28315.mail.ukl.yahoo.com>


On Jun 18, 2009, at 3:11 PM, giovanni.ridolfi@yahoo.it wrote:

>
> --- Gio 18/6/09, Stefan Vollmar <vollmar@nf.mpg.de> 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

  reply	other threads:[~2009-06-19  6:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-18 13:11 Re: my-mini-table(something) giovanni.ridolfi
2009-06-19  5:42 ` Carsten Dominik [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-06-18 10:14 my-mini-table(something) Giovanni Ridolfi
2009-06-18 11:40 ` my-mini-table(something) Stefan Vollmar
2009-06-18 14:00   ` my-mini-table(something) Sebastian Rose
2009-06-18  9:56 my-mini-table(something) Stefan Vollmar
2009-06-18 12:25 ` my-mini-table(something) Matthew Lundin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F7A03B2-2D97-4A58-A1E5-12D3E2E6BDE6@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=giovanni.ridolfi@yahoo.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).