* Cannot insert footnote here
@ 2015-04-11 21:16 Thomas S. Dye
2015-04-11 22:28 ` Nicolas Goaziou
0 siblings, 1 reply; 7+ messages in thread
From: Thomas S. Dye @ 2015-04-11 21:16 UTC (permalink / raw)
To: Org-mode
Aloha all,
The function org-footnote--allow-reference-p seems to be restrictive.
Does it need to be so restrictive?
1) Why not allow a footnote at the beginning of a line?
(unless (bolp) ...
2) Why not allow a footnote at the end of a headline?
((memq type org-element-all-elements) nil)
All the best,
Tom
--
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Cannot insert footnote here
2015-04-11 21:16 Cannot insert footnote here Thomas S. Dye
@ 2015-04-11 22:28 ` Nicolas Goaziou
2015-04-12 0:10 ` Thomas S. Dye
2015-04-12 1:10 ` Vikas Rawal
0 siblings, 2 replies; 7+ messages in thread
From: Nicolas Goaziou @ 2015-04-11 22:28 UTC (permalink / raw)
To: Thomas S. Dye; +Cc: Org-mode
Hello,
tsd@tsdye.com (Thomas S. Dye) writes:
> The function org-footnote--allow-reference-p seems to be restrictive.
> Does it need to be so restrictive?
>
> 1) Why not allow a footnote at the beginning of a line?
> (unless (bolp) ...
It would be a footnote definition, not a footnote reference
> 2) Why not allow a footnote at the end of a headline?
> ((memq type org-element-all-elements) nil)
It was a bug, fixed in 7584200bb88b7995b87f065320886b0813de22dd. Thank
you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Cannot insert footnote here
2015-04-11 22:28 ` Nicolas Goaziou
@ 2015-04-12 0:10 ` Thomas S. Dye
2015-04-12 1:10 ` Vikas Rawal
1 sibling, 0 replies; 7+ messages in thread
From: Thomas S. Dye @ 2015-04-12 0:10 UTC (permalink / raw)
To: Org-mode
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Hello,
>
> tsd@tsdye.com (Thomas S. Dye) writes:
>
>> The function org-footnote--allow-reference-p seems to be restrictive.
>> Does it need to be so restrictive?
>>
>> 1) Why not allow a footnote at the beginning of a line?
>> (unless (bolp) ...
>
> It would be a footnote definition, not a footnote reference
OK
>
>> 2) Why not allow a footnote at the end of a headline?
>> ((memq type org-element-all-elements) nil)
>
> It was a bug, fixed in 7584200bb88b7995b87f065320886b0813de22dd. Thank
> you.
Fix confirmed. Thanks!
All the best,
Tom
--
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Cannot insert footnote here
2015-04-11 22:28 ` Nicolas Goaziou
2015-04-12 0:10 ` Thomas S. Dye
@ 2015-04-12 1:10 ` Vikas Rawal
2015-04-12 5:30 ` Thomas S. Dye
1 sibling, 1 reply; 7+ messages in thread
From: Vikas Rawal @ 2015-04-12 1:10 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: org-mode mailing list, Thomas S. Dye
[-- Attachment #1: Type: text/plain, Size: 887 bytes --]
>
>> The function org-footnote--allow-reference-p seems to be restrictive.
>> Does it need to be so restrictive?
>>
>> 1) Why not allow a footnote at the beginning of a line?
>> (unless (bolp) ...
>
> It would be a footnote definition, not a footnote reference
>
>> 2) Why not allow a footnote at the end of a headline?
>> ((memq type org-element-all-elements) nil)
>
> It was a bug, fixed in 7584200bb88b7995b87f065320886b0813de22dd. Thank
> you.
>
But a footnote at the end of a headline breaks LaTeX export. LaTeX needs an optional title as follows, to be able to include footnote in headline.
http://tex.stackexchange.com/questions/47380/how-can-i-have-a-footnote-with-an-url-in-a-section-title <http://tex.stackexchange.com/questions/47380/how-can-i-have-a-footnote-with-an-url-in-a-section-title>
How does one get that in Org?
Vikas
[-- Attachment #2: Type: text/html, Size: 1695 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-04-21 16:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-11 21:16 Cannot insert footnote here Thomas S. Dye
2015-04-11 22:28 ` Nicolas Goaziou
2015-04-12 0:10 ` Thomas S. Dye
2015-04-12 1:10 ` Vikas Rawal
2015-04-12 5:30 ` Thomas S. Dye
2015-04-21 13:01 ` Sebastien Vauban
2015-04-21 16:57 ` Thomas S. Dye
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).