[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DISCUSSION] Allowing footnote-references inside parsed keywords (#+
From: |
Ihor Radchenko |
Subject: |
Re: [DISCUSSION] Allowing footnote-references inside parsed keywords (#+AUTHOR, #+TITLE, etc) |
Date: |
Fri, 02 Feb 2024 17:00:13 +0000 |
Juan Manuel Macías <maciaschain@posteo.net> writes:
>> #+AUTHOR: John Doe[fn::935 Pennsylvania Avenue, NW Washington, D.C.
>> 20535-0001]
>> it is probably not exported as expected anyway.
>
> How about using dedicated keywords? Something like:
>
> #+FN_AUTHOR: footnote text
> #+FN_TITLE: footnote text
What if you have multiple authors?
If you mean
#+AUTHOR: author1
#+FN_AUTHOR: footnote for author 1
#+AUTHOR: author2
#+FN_AUTHOR: footnote for author 2
, it is actually problematic because the code concatenates the values of
#+AUTHOR keywords before processing, and it is hard to know which author
corresponds to which footnote.
If we really need something safe, pre-processing values in ox.el and
producing backward-compatible :author value and addition
:author-w-footnotes value in the export INFO plist would be more
reasonable and less ugly. Still ugly though.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- [DISCUSSION] Allowing footnote-references inside parsed keywords (#+AUTHOR, #+TITLE, etc) (was: [BUG] Footnotes in section titles), Ihor Radchenko, 2024/02/01
- Re: [DISCUSSION] Allowing footnote-references inside parsed keywords (#+AUTHOR, #+TITLE, etc), Juan Manuel Macías, 2024/02/01
- Re: [DISCUSSION] Allowing footnote-references inside parsed keywords (#+AUTHOR, #+TITLE, etc), Marvin Gülker, 2024/02/01
- Re: [DISCUSSION] Allowing footnote-references inside parsed keywords (#+AUTHOR, #+TITLE, etc),
Ihor Radchenko <=
- Re: [DISCUSSION] Allowing footnote-references inside parsed keywords (#+AUTHOR, #+TITLE, etc), Juan Manuel Macías, 2024/02/02
- Exporting multiple #+AUTHOR keywords (was: [DISCUSSION] Allowing footnote-references inside parsed keywords (#+AUTHOR, #+TITLE, etc)), Ihor Radchenko, 2024/02/02
- Re: Exporting multiple #+AUTHOR keywords, Juan Manuel Macías, 2024/02/02
- Re: Exporting multiple #+AUTHOR keywords, Ihor Radchenko, 2024/02/04
- Re: Exporting multiple #+AUTHOR keywords, Max Nikulin, 2024/02/04
- Re: Exporting multiple #+AUTHOR keywords, Juan Manuel Macías, 2024/02/04
- Re: Exporting multiple #+AUTHOR keywords, Ihor Radchenko, 2024/02/05