emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question about links, macros + org-publish and "parametrization"


From: Martin Steffen
Subject: Re: question about links, macros + org-publish and "parametrization"
Date: Thu, 30 May 2024 13:25:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

>>>>> "Fraga," == Fraga, Eric <e.fraga@ucl.ac.uk> writes:

    Fraga,> On Thursday, 30 May 2024 at 07:03, Martin Steffen wrote:
    >> [...]  #+macro: target {{{source({{{year}}})}}}

    Fraga,> So, the problem you are running into is that you cannot
    Fraga,> evaluate a macro with arguments that require evaluating a
    Fraga,> macro.  Unless you can change the order in which you
    Fraga,> evaluate these macros, the only solution I can suggest is
    Fraga,> that you define elisp macros.  See the info manual,
    Fraga,> specifically the second example in the macro replacement
    Fraga,> section.

thanks, fair enough, I look into the elisp-option. Martin




    Fraga,> #+macro: complicated (eval ...)

    Fraga,> -- : Eric S Fraga, with org release_9.6.19-1230-g407a55 in
    Fraga,> Emacs 30.0.50




reply via email to

[Prev in Thread] Current Thread [Next in Thread]