I am writing a research paper using orgmode. The org file contains the text of the paper and R source code for generating a graph and some tables. The paper is still incomplete.
When I try to export the file to pdf via latex, I face a strange problem. When I export the file first time after opening it, the graph does not appear. When I do it again, the graph appears fine but Section numbers are messed up. The main sections are now numbered 0.1, 0.2 etc while the sub-sections are not numbered at all. In my header, I have: #+OPTIONS: H:3 toc:nil I have changed the value of H but it has no effect. Can somebody please explain what might be wrong. I am using org-version 7.9.1. Vikas