Hi
Now I have updated to head - It works, but I was a bit confused that the Mac
macro didn't expand ... forgot to read my old post :)
BUT I have an (theoretical) issue: macros defined in included files
(In this case the macro Mac that is defined in sub.org don't work in
sub.org. ... This is
Hi Benny,
Benny Simonsen be...@slbs.dk writes:
I have a patch that will expand macros in included files.
Inclusion is performed before macro expansion
Thanks for this patch, it looks good to me.
Can someone test it and report any problems?
Thanks!
--
Bastien
Applied, thanks.
- Carsten
On Mar 14, 2011, at 11:01 PM, Benny Simonsen wrote:
Hi
Some time ago I was posting about a problem with macros in included
files - they will not expand.
Example with two files top.org and sub.org: macro in the included file
sub.org isn't expanded during
Hi
Some time ago I was posting about a problem with macros in included
files - they will not expand.
Example with two files top.org and sub.org: macro in the included file
sub.org isn't expanded during export.
See the content of the example files below.
The patch fixes this so that the macro is
2011/3/2 Benny Simonsen be...@slbs.dk:
Hi
I would like to use macros in files that I include in another file.
The problem is that the macros don't expand in included files. Is
there something I have missed or?
Example with two files, main.org and sub.org
= main.org START
Hi Benny,
Benny Simonsen wrote:
2011/3/2 Benny Simonsen be...@slbs.dk:
I would like to use macros in files that I include in another file.
The problem is that the macros don't expand in included files. Is
there something I have missed or?
Example with two files, main.org and sub.org
=
2011/3/5 Sébastien Vauban wxhgmqzgw...@spammotel.com:
Hi Benny,
Benny Simonsen wrote:
2011/3/2 Benny Simonsen be...@slbs.dk:
I would like to use macros in files that I include in another file.
The problem is that the macros don't expand in included files. Is
there something I have missed
Hi Benny,
Benny Simonsen wrote:
The result is {{{MacM(Main)}}} is expanded as expected but the
{{{Mac*(Sub)}}} isn't expanded.
What's Mac*?
In your example, you just have MacM and Mac...
Best regards,
Seb
--
Sébastien Vauban
--
Emacs-orgmode mailing list
Please use `Reply All' to send
2011/3/3 Sébastien Vauban wxhgmqzgw...@spammotel.com:
Hi Benny,
Benny Simonsen wrote:
The result is {{{MacM(Main)}}} is expanded as expected but the
{{{Mac*(Sub)}}} isn't expanded.
What's Mac*?
In your example, you just have MacM and Mac...
MacM is the macro defined in main.org:
#+MACRO:
Hi
I would like to use macros in files that I include in another file.
The problem is that the macros don't expand in included files. Is
there something I have missed or?
Example with two files, main.org and sub.org
= main.org START
#+TITLE: Mainpage
#+MACRO: MacM @strong$1@/strong
Hi
I would like to use macros in files that I include in another file.
The problem is that the macros don't expand in included files. Is
there something I have missed or?
Example
main.org:
= main.org START
#+TITLE: Mainpage
#+MACRO: MacM @strong$1@/strong
{{{MacM(Main)}}}
#+INCLUDE:
11 matches
Mail list logo