emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vikas Rawal <vikaslists@agrarianresearch.org>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>,
	"Thomas S. Dye" <tsd@tsdye.com>
Subject: Re: Cannot insert footnote here
Date: Sun, 12 Apr 2015 06:40:10 +0530	[thread overview]
Message-ID: <5FCF9EBE-BB40-4046-B8C4-9E6D308E95ED@agrarianresearch.org> (raw)
In-Reply-To: <87fv86cnbb.fsf@nicolasgoaziou.fr>

[-- 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 --]

  parent reply	other threads:[~2015-04-12  1:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2015-04-12  5:30     ` Thomas S. Dye
2015-04-21 13:01       ` Sebastien Vauban
2015-04-21 16:57         ` Thomas S. Dye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5FCF9EBE-BB40-4046-B8C4-9E6D308E95ED@agrarianresearch.org \
    --to=vikaslists@agrarianresearch.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    --cc=tsd@tsdye.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).