* Load macros from other files?
@ 2010-09-15 13:58 amscopub-mail
2010-09-15 14:10 ` Stefan Vollmar
0 siblings, 1 reply; 2+ messages in thread
From: amscopub-mail @ 2010-09-15 13:58 UTC (permalink / raw)
To: emacs-orgmode
Is there a way to load macros from another file?
The "include" command doesn't seeem to work. For example, the following does *not* work.
macro.org:
#+MACRO: hello Hello world
and include.org:
#+INCLUDE: "./macro.org"
{{{hello}}}
I'm using org-mode 7.01g.
--Thanks!
Uriel Avalos
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Load macros from other files?
2010-09-15 13:58 Load macros from other files? amscopub-mail
@ 2010-09-15 14:10 ` Stefan Vollmar
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Vollmar @ 2010-09-15 14:10 UTC (permalink / raw)
To: amscopub-mail; +Cc: emacs-orgmode Mailinglist
[-- Attachment #1.1: Type: text/plain, Size: 1055 bytes --]
Dear Uriel,
it should work if you use "setupfile" instead of "include":
#+setupfile: macro.org
Warm regards,
Stefan
On 15.09.2010, at 15:58, amscopub-mail@yahoo.com wrote:
> Is there a way to load macros from another file?
>
> The "include" command doesn't seeem to work. For example, the following does *not* work.
>
> macro.org:
> #+MACRO: hello Hello world
>
> and include.org:
> #+INCLUDE: "./macro.org"
> {{{hello}}}
>
> I'm using org-mode 7.01g.
>
>
> --Thanks!
>
> Uriel Avalos
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
--
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213 FAX +49-221-4726-298
Tel.: +49-221-478-5713 Mobile: 0160-93874279
E-Mail: vollmar@nf.mpg.de http://www.nf.mpg.de
[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4409 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-15 14:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-15 13:58 Load macros from other files? amscopub-mail
2010-09-15 14:10 ` Stefan Vollmar
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).