emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Footnotes-per-element?
@ 2017-10-27 12:11 Tory S. Anderson
  2017-10-27 12:16 ` Footnotes-per-element? Kaushal Modi
  0 siblings, 1 reply; 4+ messages in thread
From: Tory S. Anderson @ 2017-10-27 12:11 UTC (permalink / raw)
  To: orgmode list

I have a single org file that represents a collection of articles; 
each article starts with a first-level heading and includes its 
own footnotes, always restarting from 0. I have a ** Footnotes 
section in each article with the appropriate footnotes, but it 
isn't respected when I follow one of the footnote references; 
following [fn:3] in the any article, for example, will take me to 
[fn:3] of the first article's footnotes. What's the best way 
around this, so that each article will use its own footnotes 
section?

Thanks in advance,
- Tory

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

* Re: Footnotes-per-element?
  2017-10-27 12:11 Footnotes-per-element? Tory S. Anderson
@ 2017-10-27 12:16 ` Kaushal Modi
  2017-11-01 15:04   ` Footnotes-per-element? Tory S. Anderson
  0 siblings, 1 reply; 4+ messages in thread
From: Kaushal Modi @ 2017-10-27 12:16 UTC (permalink / raw)
  To: Tory S. Anderson; +Cc: orgmode list

[-- Attachment #1: Type: text/plain, Size: 1025 bytes --]

On Fri, Oct 27, 2017 at 8:12 AM Tory S. Anderson <torys.anderson@gmail.com>
wrote:

> I have a single org file that represents a collection of articles;
> each article starts with a first-level heading and includes its
> own footnotes, always restarting from 0. I have a ** Footnotes
> section in each article with the appropriate footnotes, but it
> isn't respected when I follow one of the footnote references;
> following [fn:3] in the any article, for example, will take me to
> [fn:3] of the first article's footnotes. What's the best way
> around this, so that each article will use its own footnotes
> section?
>

I just increment the footnotes across all the articles. So, for example, if
article 1 has footnotes 1 and 2, article 2 will continue from footnote
number 3. The beauty is that if you export article 2, it will auto-reset
the footnote reference to number 1.

The key is to not manually number the footnotes and let C-c C-x f (bound to
org-footnote-action) do its thing.

Hope that helps.
-- 

Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 1487 bytes --]

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

* Re: Footnotes-per-element?
  2017-10-27 12:16 ` Footnotes-per-element? Kaushal Modi
@ 2017-11-01 15:04   ` Tory S. Anderson
  2017-11-02 10:24     ` Footnotes-per-element? Rasmus
  0 siblings, 1 reply; 4+ messages in thread
From: Tory S. Anderson @ 2017-11-01 15:04 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: orgmode list, Tory S. Anderson

THanks for this; it may be a workable solution. The trick is, I 
didn't generate the footnotes myself -- I have concatenated a 
bunch of html -> orgmode pandoc outputs. Still an elisp 
find-and-replace might do what I need. I was just hoping for a 
quick switch to flip for localized footnotes.

Thanks!
- Tory

Kaushal Modi <kaushal.modi@gmail.com> writes:

> On Fri, Oct 27, 2017 at 8:12 AM Tory S. Anderson <
> torys.anderson@gmail.com> wrote:
>
>     I have a single org file that represents a collection of
>     articles;
>     each article starts with a first-level heading and includes 
>     its
>     own footnotes, always restarting from 0. I have a ** 
>     Footnotes
>     section in each article with the appropriate footnotes, but 
>     it
>     isn't respected when I follow one of the footnote 
>     references;
>     following [fn:3] in the any article, for example, will take 
>     me to
>     [fn:3] of the first article's footnotes. What's the best way
>     around this, so that each article will use its own footnotes
>     section?
>
>
> I just increment the footnotes across all the articles. So, for
> example, if article 1 has footnotes 1 and 2, article 2 will 
> continue
> from footnote number 3. The beauty is that if you export article 
> 2,
> it will auto-reset the footnote reference to number 1.
>
> The key is to not manually number the footnotes and let C-c C-x 
> f
> (bound to org-footnote-action) do its thing.
>
> Hope that helps. 
> --
>
> Kaushal Modi

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

* Re: Footnotes-per-element?
  2017-11-01 15:04   ` Footnotes-per-element? Tory S. Anderson
@ 2017-11-02 10:24     ` Rasmus
  0 siblings, 0 replies; 4+ messages in thread
From: Rasmus @ 2017-11-02 10:24 UTC (permalink / raw)
  To: emacs-orgmode

torys.anderson@gmail.com (Tory S. Anderson) writes:

> THanks for this; it may be a workable solution. The trick is, I didn't
> generate the footnotes myself -- I have concatenated a bunch of
> html -> orgmode pandoc outputs. Still an elisp find-and-replace might
> do what I need. I was just hoping for a quick switch to flip for
> localized footnotes.

You could try to #+include them and export via ox-org.

Rasmus

-- 
Need more coffee. . .

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

end of thread, other threads:[~2017-11-02 10:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-27 12:11 Footnotes-per-element? Tory S. Anderson
2017-10-27 12:16 ` Footnotes-per-element? Kaushal Modi
2017-11-01 15:04   ` Footnotes-per-element? Tory S. Anderson
2017-11-02 10:24     ` Footnotes-per-element? Rasmus

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).