From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Klein Subject: Re: org export outcomes differ from one attempt to the next Date: Tue, 29 Sep 2015 10:20:06 +0200 Message-ID: <20150929102006.19b455bf@pckr150.mpip-mainz.mpg.de> References: <87mvwfx0qz.fsf@ucl.ac.uk> <87bncvwzkt.fsf@ucl.ac.uk> <20150921202130.5e623008@zotac> <878u7zzgrp.fsf@ucl.ac.uk> <87oagvcyf6.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zgq94-0002KJ-JP for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 04:20:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zgq90-0002I3-L4 for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 04:20:18 -0400 Received: from gate1.mpip-mainz.mpg.de ([194.95.63.248]:27630) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zgq90-0002FZ-6s for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 04:20:14 -0400 In-Reply-To: <87oagvcyf6.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Hi, Nicolas Goaziou wrote: > Hello, > > Eric S Fraga writes: > > > Actually, my settings are at the end of the whole 4000+ line file > > so I am not sure what you are suggesting I try. If I delete the > > whole settings subtree, the exports all result in the same LaTeX. > > However, that is of no use to me, obviously. I guess I can try to > > add one line at a time to see when the export breaks. I may try > > that tomorrow. > > Providing a shorter test file would be helpful, no matter how much > settings you have. > > > I guess I would like some insight into how the latex_header lines > > are parsed by org, maybe in org-element? > > They are collected in `org-export--get-inbuffer-options' which is > called by `org-export-get-environment'. > > IIRC, Robert Klein's problem was due to an explicit call to > `org-export-get-environment' at Babel evaluation time, before the > buffer was correctly prepared for export. If you call > `org-export-get-environment' within your settings, it may be related. is there another way to get property values during export (i use them in #+LaTeX_Header: lines). Thanks and best regards Robert