From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: Re: How to reorder a footnote list? Date: Thu, 28 Apr 2016 12:09:20 +0100 Message-ID: <87h9emyopr.fsf@skimble.plus.com> References: <87k2ji4y2c.fsf@skimble.plus.com> <874mam8z0d.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avjp2-0000b9-1g for emacs-orgmode@gnu.org; Thu, 28 Apr 2016 07:09:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avjox-00075Y-Uz for emacs-orgmode@gnu.org; Thu, 28 Apr 2016 07:09:27 -0400 Received: from avasout01.plus.net ([84.93.230.227]:48076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avjox-00075E-Ob for emacs-orgmode@gnu.org; Thu, 28 Apr 2016 07:09:23 -0400 In-Reply-To: <874mam8z0d.fsf@alphapapa.net> (Adam Porter's message of "Wed, 27 Apr 2016 17:31:30 -0500") 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" To: Adam Porter Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Adam Porter 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. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk Debian 8.4, fluxbox 1.3.7, emacs 25.0.93 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJXIe9gAAoJEDaBgBkK+INbpXIP/0DzoJ9qfhOW87HY+kf3j/CY bN76jtseKydOjgylfdM0L96cCy9JRZP+HG31Kgn2SiL+B3RXlXirP4YWK4l7e9qk 7rrhSgi4sZt69GxIGND8nkxvIDxq1ROWkrtvStBN7mBogJVurFIAj30YbwQzz55/ e4+h3oNoPboNrCoevtXJ7CMfvyQv+MgBq9tsfTDD+XahbsDD7lRqekXFAvWioUw8 6j718GKAjhbBDvCM9BiskQHu8HelUHaDM2VXoa7YGWPGvbOZKDtv60wMwxqYpf+J WyhnsEo0ebFp9vSpuRc8EYJcvE5xHX3vVM4LNN0D4MpvENuMQB8F6iTISdyDbkz5 U5SfXUAxpK35Bi88xTK6duJl8erQRqj8T/U6Eaw2tDtDbNC058r0F95PzP5PsohP E9j6qwbHJd/fwKi+Yoxk+Zd3W5UTseFWfaLSdlfOhthUiJyH/aEzdHgkclphIfLc UTniZWujak2EROxYhaoD3xFp8WoO38RgefNyx3Q2PQdZuLA2l8A17EJ1SFjfH1Rh kwJnyfXLRQAcJMVa8CVwviLVl3hqp2Hcmh5G3uH6ANAtqQAb7wvWXodH8Z+esEPc 0iTaPF1s17/YTc9+y+17xLBYmwLYTmBgkmtOHBdrkUVd3iRwxHJJMNAryLwYsWh1 FOI0yhX6MvNMbYussajr =Dv8i -----END PGP SIGNATURE----- --=-=-=--