Re: [O] Bug: LaTeX block above first heading ignored by latex exporter [8.2.3c (release_8.2.3c-308-gc811bb @ /home/rob/sw/org-mode/lisp/)]

2013-11-29 Thread Nicolas Goaziou
Rob Stewart writes: > On 29 November 2013 17:44, Nicolas Goaziou wrote: >> >> Now I remember. This is a feature. >> >> When headlines are selectively exported, i.e. when you use :export: tag >> or equivalent, text before the first headline is ignored. >> >> This was a request from François Pinar

Re: [O] Bug: LaTeX block above first heading ignored by latex exporter [8.2.3c (release_8.2.3c-308-gc811bb @ /home/rob/sw/org-mode/lisp/)]

2013-11-29 Thread Rob Stewart
On 29 November 2013 17:44, Nicolas Goaziou wrote: > > Now I remember. This is a feature. > > When headlines are selectively exported, i.e. when you use :export: tag > or equivalent, text before the first headline is ignored. > > This was a request from François Pinard, a few months ago, on the ML.

Re: [O] Bug: LaTeX block above first heading ignored by latex exporter [8.2.3c (release_8.2.3c-308-gc811bb @ /home/rob/sw/org-mode/lisp/)]

2013-11-29 Thread Nicolas Goaziou
Hello, Rob Stewart writes: > This test.tex file omits (incorrectly) the following block: > > \begin{abstract} > This is my abstract. > \end{abstract} > > Before `\section{Introduction}`. Now I remember. This is a feature. When headlines are selectively exported, i.e. when you use :export: tag

Re: [O] Bug: LaTeX block above first heading ignored by latex exporter [8.2.3c (release_8.2.3c-308-gc811bb @ /home/rob/sw/org-mode/lisp/)]

2013-11-29 Thread Rob Stewart
More.. I now realise that the command to use is `org-latex-export-to-latex`. However, my problem persists. This time, I use batch mode, to make clear that the org-mode repository at /home/rob/sw/org-mode/ is being used. This reflects HEAD from the git repo. $ emacs -batch -L ~/sw/org-mode/lisp --

Re: [O] Bug: LaTeX block above first heading ignored by latex exporter [8.2.3c (release_8.2.3c-308-gc811bb @ /home/rob/sw/org-mode/lisp/)]

2013-11-29 Thread Rob Stewart
Just to be clear, what is the command I am supposed to be using to export to latex? I.e., which command is called with combination `C-c C-e l l` ? I thought it was `org-export-as-latex` , and that `org-latex-export-as-latex` was deprecated? However, I have just pulled HEAD in my git clone of git:/

Re: [O] Bug: LaTeX block above first heading ignored by latex exporter [8.2.3c (release_8.2.3c-308-gc811bb @ /home/rob/sw/org-mode/lisp/)]

2013-11-28 Thread Rob Stewart
On 28 November 2013 10:49, Nicolas Goaziou wrote: > Unfortunately, I'm unable to reproduce the problem. Anyway, it sounds > like you're using somehow the old export framework. I'm not entirely sure how I do this. But here's a shot at it: org-version Org-mode version 8.2.1 (release_8.2.1-190-g22

Re: [O] Bug: LaTeX block above first heading ignored by latex exporter [8.2.3c (release_8.2.3c-308-gc811bb @ /home/rob/sw/org-mode/lisp/)]

2013-11-28 Thread Nicolas Goaziou
Hello, Rob Stewart writes: > I have a simple orgmode document that has a #+BEGIN_LATEX .. #+END_LATEX > block before the first heading "Introduction". When this heading is not > exported, i.e. there are no headings, then the LaTeX block is properly > exported. When this heading is exported, the