emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: org export outcomes differ from one attempt to the next
Date: Mon, 21 Sep 2015 16:15:00 +0100	[thread overview]
Message-ID: <87mvwfx0qz.fsf@ucl.ac.uk> (raw)

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

             reply	other threads:[~2015-09-21 15:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-21 15:15 Eric S Fraga [this message]
2015-09-21 15:40 ` org export outcomes differ from one attempt to the next Eric S Fraga
2015-09-21 18:21   ` Robert Klein
2015-09-21 19:58     ` Eric S Fraga
2015-09-21 20:25       ` Nicolas Goaziou
2015-09-29  8:20         ` Robert Klein
2015-09-29 15:52           ` Nicolas Goaziou
2015-10-01  9:28         ` Eric S Fraga
2015-10-01 20:02           ` Nicolas Goaziou
2015-10-02  7:37             ` Eric S Fraga

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=87mvwfx0qz.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --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).