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: Max Nikulin
Subject: Re: question about links, macros + org-publish and "parametrization"
Date: Thu, 30 May 2024 23:28:08 +0700
User-agent: Mozilla Thunderbird

On 30/05/2024 12:03, Martin Steffen wrote:
#+macro: year 24
#+macro: source [[file:./$1/t.org][for the year $1]]
#+macro: target {{{source({{{year}}})}}}

Custom link type might be more convenient

(info "(org) Adding Hyperlink Types")
https://orgmode.org/manual/Adding-Hyperlink-Types.html

I can not figure out if it is possible with some trick to expand {{{year}}} before file:... is parsed.




reply via email to

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