[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org export outcomes differ from one attempt to the next
From: |
Nicolas Goaziou |
Subject: |
Re: [O] org export outcomes differ from one attempt to the next |
Date: |
Mon, 21 Sep 2015 22:25:33 +0200 |
Hello,
Eric S Fraga <address@hidden> 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.
Regards,
--
Nicolas Goaziou