* 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
* Re: Cannot insert footnote here
2015-04-12 1:10 ` Vikas Rawal
@ 2015-04-12 5:30 ` Thomas S. Dye
2015-04-21 13:01 ` Sebastien Vauban
0 siblings, 1 reply; 7+ messages in thread
From: Thomas S. Dye @ 2015-04-12 5:30 UTC (permalink / raw
To: Vikas Rawal; +Cc: org-mode mailing list, Nicolas Goaziou
Aloha Vikas,
Vikas Rawal <vikaslists@agrarianresearch.org> writes:
> 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?
I don't know how to get \section[short]{long} with Org mode.
However, the footnote at the end of a headline is only a problem for
LaTeX export to LaTeX classes that use section titles in page headers or
a table of contents.
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Cannot insert footnote here
2015-04-12 5:30 ` Thomas S. Dye
@ 2015-04-21 13:01 ` Sebastien Vauban
2015-04-21 16:57 ` Thomas S. Dye
0 siblings, 1 reply; 7+ messages in thread
From: Sebastien Vauban @ 2015-04-21 13:01 UTC (permalink / raw
To: emacs-orgmode-mXXj517/zsQ
Thomas S. Dye wrote:
> Vikas Rawal <vikaslists-gY6uWiqvZ+vta4EC/59zMGD2FQJk+8+b@public.gmane.org> writes:
>
>> 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?
>
> I don't know how to get \section[short]{long} with Org mode.
There is the ALT_TITLE property, which allows to set an alternate
(shorter, for example) title for a given headline.
Best regards,
Seb
--
Sebastien Vauban
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Cannot insert footnote here
2015-04-21 13:01 ` Sebastien Vauban
@ 2015-04-21 16:57 ` Thomas S. Dye
0 siblings, 0 replies; 7+ messages in thread
From: Thomas S. Dye @ 2015-04-21 16:57 UTC (permalink / raw
To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ
Aloha Seb,
Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
writes:
> Thomas S. Dye wrote:
>> Vikas Rawal <vikaslists-gY6uWiqvZ+vta4EC/59zMGD2FQJk+8+b@public.gmane.org> writes:
>>
>>> 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?
>>
>> I don't know how to get \section[short]{long} with Org mode.
>
> There is the ALT_TITLE property, which allows to set an alternate
> (shorter, for example) title for a given headline.
Thanks for this useful pointer.
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
^ 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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.