all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to make footnotes be fnlocal by default?
@ 2015-06-15 22:40 William Denton
  2015-06-15 22:56 ` Kyle Meyer
  2015-06-15 22:57 ` Rasmus
  0 siblings, 2 replies; 5+ messages in thread
From: William Denton @ 2015-06-15 22:40 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1377 bytes --]

I'm writing something with a bunch of footnotes and instead of doing them by hand I'm using C-c C-x f, which in the usual Emacs/Org way strikes me as a more difficult at first but then turns into magic.

By default, adding a footnote puts it at the bottom of the document.  This is 
because of org-footnote-define-inline:

'Non-nil means define footnotes inline, at reference location. When nil, 
footnotes will be defined in a special section near the end of the document. 
When t, the [fn:label:definition] notation will be used to define the footnote 
at the reference position."

However, there are three (not two) possible options available in STARTUP 
options:

> fninline    define footnotes inline
> fnnoinline  define footnotes in separate section
> fnlocal     define footnotes near first reference, but not inline

I found I like fnlocal, which puts the footnotes at the bottom of the paragraph 
or section, where they are nearby and easy to see.

I'd like to make this the default in all Org files by setting 
org-footnote-define-inline, but it seems I can't---all I can definte that way 
are the fninline and fnnoinline options.  Am I correct?  Is there some way 
around this, or perhaps a (setq org-footnote-define-inline 'fnlocal) setting 
could be added?

Bill
-- 
William Denton ↔  Toronto, Canada ↔  https://www.miskatonic.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to make footnotes be fnlocal by default?
  2015-06-15 22:40 How to make footnotes be fnlocal by default? William Denton
@ 2015-06-15 22:56 ` Kyle Meyer
  2015-06-15 22:57 ` Rasmus
  1 sibling, 0 replies; 5+ messages in thread
From: Kyle Meyer @ 2015-06-15 22:56 UTC (permalink / raw)
  To: William Denton; +Cc: emacs-orgmode

William Denton <wtd@pobox.com> wrote:
[...]
> However, there are three (not two) possible options available in
> STARTUP options:
>
>> fninline    define footnotes inline
>> fnnoinline  define footnotes in separate section
>> fnlocal     define footnotes near first reference, but not inline
>
> I found I like fnlocal, which puts the footnotes at the bottom of the
> paragraph or section, where they are nearby and easy to see.
>
> I'd like to make this the default in all Org files by setting
> org-footnote-define-inline, but it seems I can't---all I can definte
> that way are the fninline and fnnoinline options.  Am I correct?  Is
> there some way around this, or perhaps a (setq
> org-footnote-define-inline 'fnlocal) setting could be added?

I think you can get this by setting org-footnote-section to nil.  (I
haven't tried this but am guessing based off of org-startup-options.)

-- 
Kyle

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to make footnotes be fnlocal by default?
  2015-06-15 22:40 How to make footnotes be fnlocal by default? William Denton
  2015-06-15 22:56 ` Kyle Meyer
@ 2015-06-15 22:57 ` Rasmus
  2015-06-16  1:22   ` William Denton
  1 sibling, 1 reply; 5+ messages in thread
From: Rasmus @ 2015-06-15 22:57 UTC (permalink / raw)
  To: emacs-orgmode

William Denton <wtd@pobox.com> writes:

> I'm writing something with a bunch of footnotes and instead of doing
> them by hand I'm using C-c C-x f, which in the usual Emacs/Org way
> strikes me as a more difficult at first but then turns into magic.
>
> By default, adding a footnote puts it at the bottom of the document.
> This is because of org-footnote-define-inline:
>
> 'Non-nil means define footnotes inline, at reference location. When
> nil, footnotes will be defined in a special section near the end of
> the document. When t, the [fn:label:definition] notation will be used
> to define the footnote at the reference position."
>
> However, there are three (not two) possible options available in
> STARTUP options:
>
>> fninline    define footnotes inline
>> fnnoinline  define footnotes in separate section
>> fnlocal     define footnotes near first reference, but not inline
>
> I found I like fnlocal, which puts the footnotes at the bottom of the
> paragraph or section, where they are nearby and easy to see.
>
> I'd like to make this the default in all Org files by setting
> org-footnote-define-inline, but it seems I can't---all I can definte
> that way are the fninline and fnnoinline options.  Am I correct?  Is
> there some way around this, or perhaps a (setq
> org-footnote-define-inline 'fnlocal) setting could be added?

How about:
    (setq org-footnote-section nil) 

Rasmus

-- 
Send from my Emacs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to make footnotes be fnlocal by default?
  2015-06-15 22:57 ` Rasmus
@ 2015-06-16  1:22   ` William Denton
  2015-06-16 11:49     ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: William Denton @ 2015-06-16  1:22 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1750 bytes --]

Thanks, Kyle and Rasmus.

Attached is a tiny patch to add mention of this variable in the section of the 
docs where all those options are listed.

Bill


On 16 June 2015, Rasmus wrote:

> William Denton <wtd@pobox.com> writes:
>
>> I'm writing something with a bunch of footnotes and instead of doing
>> them by hand I'm using C-c C-x f, which in the usual Emacs/Org way
>> strikes me as a more difficult at first but then turns into magic.
>>
>> By default, adding a footnote puts it at the bottom of the document.
>> This is because of org-footnote-define-inline:
>>
>> 'Non-nil means define footnotes inline, at reference location. When
>> nil, footnotes will be defined in a special section near the end of
>> the document. When t, the [fn:label:definition] notation will be used
>> to define the footnote at the reference position."
>>
>> However, there are three (not two) possible options available in
>> STARTUP options:
>>
>>> fninline    define footnotes inline
>>> fnnoinline  define footnotes in separate section
>>> fnlocal     define footnotes near first reference, but not inline
>>
>> I found I like fnlocal, which puts the footnotes at the bottom of the
>> paragraph or section, where they are nearby and easy to see.
>>
>> I'd like to make this the default in all Org files by setting
>> org-footnote-define-inline, but it seems I can't---all I can definte
>> that way are the fninline and fnnoinline options.  Am I correct?  Is
>> there some way around this, or perhaps a (setq
>> org-footnote-define-inline 'fnlocal) setting could be added?
>
> How about:
>    (setq org-footnote-section nil)
>
> Rasmus
>
>

-- 
William Denton ↔  Toronto, Canada ↔  https://www.miskatonic.org/

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: TEXT/x-diff; name=footnote.patch, Size: 947 bytes --]

*** org.texi	2015-05-31 13:00:44.415430490 -0400
--- org.texi.new	2015-06-15 21:17:30.771751673 -0400
***************
*** 17155,17161 ****
  @vindex org-footnote-auto-adjust
  To influence footnote settings, use the following keywords.  The
  corresponding variables are @code{org-footnote-define-inline},
! @code{org-footnote-auto-label}, and @code{org-footnote-auto-adjust}.
  @cindex @code{fninline}, STARTUP keyword
  @cindex @code{nofninline}, STARTUP keyword
  @cindex @code{fnlocal}, STARTUP keyword
--- 17155,17162 ----
  @vindex org-footnote-auto-adjust
  To influence footnote settings, use the following keywords.  The
  corresponding variables are @code{org-footnote-define-inline},
! @code{org-footnote-auto-label}, @code{org-footnote-auto-adjust},
! and @code{org-footnote-section}.
  @cindex @code{fninline}, STARTUP keyword
  @cindex @code{nofninline}, STARTUP keyword
  @cindex @code{fnlocal}, STARTUP keyword

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to make footnotes be fnlocal by default?
  2015-06-16  1:22   ` William Denton
@ 2015-06-16 11:49     ` Nicolas Goaziou
  0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Goaziou @ 2015-06-16 11:49 UTC (permalink / raw)
  To: William Denton; +Cc: emacs-orgmode

Hello,

William Denton <wtd@pobox.com> writes:

> Attached is a tiny patch to add mention of this variable in the
> section of the docs where all those options are listed.

Thank you. Would you mind using git format-patch for it and add a proper
commit message?

Also, wouldn't it make sense to use @vindex org-footnote-section in the
paragraph above?

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-16 11:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-15 22:40 How to make footnotes be fnlocal by default? William Denton
2015-06-15 22:56 ` Kyle Meyer
2015-06-15 22:57 ` Rasmus
2015-06-16  1:22   ` William Denton
2015-06-16 11:49     ` Nicolas Goaziou

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.