emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sharon Kimble <boudiccas@skimble.plus.com>
To: Adam Porter <adam@alphapapa.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to reorder a footnote list?
Date: Thu, 28 Apr 2016 12:09:20 +0100	[thread overview]
Message-ID: <87h9emyopr.fsf@skimble.plus.com> (raw)
In-Reply-To: <874mam8z0d.fsf@alphapapa.net> (Adam Porter's message of "Wed, 27 Apr 2016 17:31:30 -0500")

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

Adam Porter <adam@alphapapa.net> writes:

> I don't understand: you want the footnotes to be in reverse order?  I
> know very little about latex, so I'm sorry if this is just noise.

Thanks Adam. Org-mode likes to set the footnotes in its 'reference'
section in reverse order, i.e. [fn:60] [fn:59] etc. But in my case it
was going [fn:1] [fn:2] etc. So I manually reordered them but I still
wasn't able to export my file, so I looked at the footnote references
*in* the document and found that they were all [1] [2] etc. Somehow it
had lost 'fn:*' before each reference number, so I went through the
document just reinstating the missing 'fn:' and now it all works again.

>
> BTW, this won't help now, and is not meant to be snarky, but keeping
> your org files in a git repo would help with a situation like this,
> because you could find the commit where the change happened and get the
> old text back.  I use a combination of real-auto-save-mode, a cron job,
> and a "raise-or-run" script that automatically commits my org file
> changes to git either every 15 minutes or every time I hide Emacs with
> the script.  It has saved me a few times when I accidentally deleted
> subtrees without realizing it until days later (probably had a region
> marked by accident and then typed over it or something like that).

I do have git set up to auto-commit in certain working files to every 4
hours, so I did look at the git log but wasn't able to find when the
error had occurred, so I sorted it all out manually. But I have now set
the cron job to work every 15 minutes between 0600 and 2200, I don't see
the sense of doing it when I'm in bed! But thanks for the idea.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.4, fluxbox 1.3.7, emacs 25.0.93

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

  reply	other threads:[~2016-04-28 11:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-27 20:05 How to reorder a footnote list? Sharon Kimble
2016-04-27 22:31 ` Adam Porter
2016-04-28 11:09   ` Sharon Kimble [this message]
2016-04-28 11:23     ` Stig Brautaset
2016-04-28 12:32       ` Sharon Kimble
2016-04-28 15:06     ` Adam Porter
2016-04-28 17:27       ` Sharon Kimble
2016-04-29  0:10         ` Adam Porter
2016-04-28 19:27     ` Nick Dokos

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=87h9emyopr.fsf@skimble.plus.com \
    --to=boudiccas@skimble.plus.com \
    --cc=adam@alphapapa.net \
    --cc=emacs-orgmode@gnu.org \
    /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).