From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Re: Beginner footnotes question Date: Wed, 13 Mar 2013 11:04:55 -0500 Message-ID: References: <87k3pbbz83.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b6741e833aaa504d7d091fb Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFoAt-000844-Nc for emacs-orgmode@gnu.org; Wed, 13 Mar 2013 12:05:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFoAj-0001uz-Ec for emacs-orgmode@gnu.org; Wed, 13 Mar 2013 12:05:07 -0400 Received: from mail-pb0-f47.google.com ([209.85.160.47]:55668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFoAj-0001ty-0O for emacs-orgmode@gnu.org; Wed, 13 Mar 2013 12:04:57 -0400 Received: by mail-pb0-f47.google.com with SMTP id rp2so1166971pbb.6 for ; Wed, 13 Mar 2013 09:04:56 -0700 (PDT) In-Reply-To: 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: Lawrence Bottorff , emacs-orgmode@gnu.org --047d7b6741e833aaa504d7d091fb Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Sorry, I'm stumbling badly here. I now realize the org-footnote-auto-label needs to be set to avoid the default (t) behavior of doing numbered footnotes ( [fn:1] ) after C-c C-x f auto-inserts. Good. But where do the in-buffer settings go? I assume they go in the .org file you're currently working in? At the top maybe? On Wed, Mar 13, 2013 at 9:56 AM, Lawrence Bottorff < galaxybeinglambda@gmail.com> wrote: > On Wed, Mar 13, 2013 at 1:17 AM, Aaron Ecay wrote: > >> Hi Lawrence, >> >> You can have footnotes be inserted automatically: >> - in their own section (by default at the bottom of the document, though >> you can move it anywhere) >> - at the end of the current section, or >> - inline with the text >> >> For the first behavior, set the variable =91org-footnote-define-inline= =92 to >> nil. For the second, set both =91org-footnote-define-inline=92 and >> =91org-footnote-section=92 to nil. And for the third, set >> =91org-footnote-define-inline=92 to something other than nil. >> >> Let's say I want the "default" behavior, i.e. the expansion of the > footnote definitions in their own section. Here's a line in my .org file: > > 1. Re-read Stephenson's "Metaphysics in the Royal Society 1715-2010" [fn:= : > Stephenson: Leibnitz], especially for the description of "monads." > > Now what do I do? The expansion/definition of this placeholder is > > "Some Remarks"; "Essays and Other Writings"; Stephenson, Neal; > HarperCollins Publishers; 978-0-06-202443-5; 2012; pp 38-57. > > Where does this expansion go? Do I do M->, hit the Enter a few times and > type it in? But then how does the placeholder above know to link to it? A= nd > the =91org-footnote-define-inline=92 etc. look like elisp variable names.= Do I > set them in my .emacs? That doesn't seem quite right since I might be > juggling many different .org files, each with a different footnote style. > > You can place footnote definitions manually wherever you choose. >> >> You can use the line >> #+INCLUDE: "file.org" >> to include one org file inside another for export purposes. I don=92t >> know off the top of my head whether this works to import footnote >> definitions from a separate file, though I don=92t see a reason why it >> shouldn=92t. Try it and see! (It almost certainly won=92t allow footno= tes >> in one file to be links to locations in another.) >> >> -- >> Aaron Ecay >> > > --047d7b6741e833aaa504d7d091fb Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Sorry, I'm stumbling badly here. I now realize the org-footnote-auto-la= bel needs to be set to avoid the default (t) behavior of doing numbered foo= tnotes ( [fn:1] ) after C-c C-x f auto-inserts. Good. But where do the in-b= uffer settings go? I assume they go in the .org file you're currently w= orking in? At the top maybe?

On Wed, Mar 13, 2013 at 9:56 AM, Lawrence Bo= ttorff <galaxybeinglambda@gmail.com> wrote:
On Wed, Mar 13, 2013 at 1:17 AM, Aaron Ecay <aaronecay= @gmail.com> wrote:
Hi Lawrence,

You can have footnotes be inserted automatically:
- in their own section (by default at the bottom of the document, though =A0 you can move it anywhere)
- at the end of the current section, or
- inline with the text

For the first behavior, set the variable =91org-footnote-define-inline=92 t= o
nil. =A0For the second, set both =91org-footnote-define-inline=92 and
=91org-footnote-section=92 to nil. =A0And for the third, set
=91org-footnote-define-inline=92 to something other than nil.

Let's say I want the "default" be= havior, i.e. the expansion of the footnote definitions in their own section= . Here's a line in my .org file:

1. Re-read St= ephenson's "Metaphysics in the Royal Society 1715-2010" [fn::= Stephenson: Leibnitz], especially for the description of "monads.&quo= t;

Now what do I do? The expansion/definition of this plac= eholder is=A0

"Some Remarks"; "Essa= ys and Other Writings"; Stephenson, Neal; HarperCollins Publishers; 97= 8-0-06-202443-5; 2012; pp 38-57.

Where does this expansion go? Do I do M->, hit the E= nter a few times and type it in? But then how does the placeholder above kn= ow to link to it? And the=A0=91org-footnote-define-inline=92 etc. look like= elisp variable names. Do I set them in my .emacs? That doesn't seem qu= ite right since I might be juggling many different .org files, each with a = different footnote style.

You can place footnote definitions manually wherever you choose.

You can use the line
#+INCLUDE: "file.org= "
to include one org file inside another for export purposes. =A0I don=92t know off the top of my head whether this works to import footnote
definitions from a separate file, though I don=92t see a reason why it
shouldn=92t. =A0Try it and see! =A0(It almost certainly won=92t allow footn= otes
in one file to be links to locations in another.)

--
Aaron Ecay


--047d7b6741e833aaa504d7d091fb--