From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Re: Cannot insert footnote here Date: Sun, 12 Apr 2015 06:40:10 +0530 Message-ID: <5FCF9EBE-BB40-4046-B8C4-9E6D308E95ED@agrarianresearch.org> References: <87fv86cnbb.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_AD3C6166-C84D-408D-AE1E-1C42C95DC8CF" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh6Pk-0001gc-3J for emacs-orgmode@gnu.org; Sat, 11 Apr 2015 21:10:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yh6Pg-0002rz-SG for emacs-orgmode@gnu.org; Sat, 11 Apr 2015 21:10:20 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:34253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh6Pg-0002rV-Lw for emacs-orgmode@gnu.org; Sat, 11 Apr 2015 21:10:16 -0400 Received: by pdbqa5 with SMTP id qa5so65214605pdb.1 for ; Sat, 11 Apr 2015 18:10:16 -0700 (PDT) In-Reply-To: <87fv86cnbb.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: org-mode mailing list , "Thomas S. Dye" --Apple-Mail=_AD3C6166-C84D-408D-AE1E-1C42C95DC8CF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii >=20 >> The function org-footnote--allow-reference-p seems to be restrictive. >> Does it need to be so restrictive? >>=20 >> 1) Why not allow a footnote at the beginning of a line? >> (unless (bolp) ... >=20 > It would be a footnote definition, not a footnote reference >=20 >> 2) Why not allow a footnote at the end of a headline? >> ((memq type org-element-all-elements) nil) >=20 > It was a bug, fixed in 7584200bb88b7995b87f065320886b0813de22dd. Thank > you. >=20 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.=20 = http://tex.stackexchange.com/questions/47380/how-can-i-have-a-footnote-wit= h-an-url-in-a-section-title = How does one get that in Org? Vikas --Apple-Mail=_AD3C6166-C84D-408D-AE1E-1C42C95DC8CF Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

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. 


How does one get that in Org?

Vikas

= --Apple-Mail=_AD3C6166-C84D-408D-AE1E-1C42C95DC8CF--