From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: org export outcomes differ from one attempt to the next Date: Mon, 21 Sep 2015 16:15:00 +0100 Message-ID: <87mvwfx0qz.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ze2o9-000685-AK for emacs-orgmode@gnu.org; Mon, 21 Sep 2015 11:15:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ze2o6-0004e1-HM for emacs-orgmode@gnu.org; Mon, 21 Sep 2015 11:15:09 -0400 Received: from mail-db3on0131.outbound.protection.outlook.com ([157.55.234.131]:62176 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ze2o5-0004Xi-Un for emacs-orgmode@gnu.org; Mon, 21 Sep 2015 11:15:06 -0400 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: emacs-orgmode@gnu.org Hello all, I'm pulling my hair out in frustration... I have a very large org file that comprises my lectures for a whole course. This org file makes extensive use of LaTeX and therefore has quite a number of latex_header directives. I have a very strange situation: if I start emacs, visit the file and export to beamer LaTeX and then export again to beamer LaTeX, the result of both exports differs. The difference is that some of the latex_header lines do not get exported in the second attempt. I have just verified this with "emacs -Q", loading in ox-latex and ob-octave, then exporting, renaming the target out of the way and exporting again. A diff shows 3 lines in the first file that are not in the second and 4 lines in the second that are not in the first. What I've noticed, and which surprised me, is that the order of the lines written out in the LaTeX preamble does not match the order of the latex_header lines in my org file. I cannot post a minimal example as any time I try to create one, the problem disappears. What I would like is some suggestion of how I can track the problem down. This problem has existed for quite some time without me realising that there was a pattern to it. Thanks, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-234-g8c85c9