From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Stewart Subject: Re: 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/)] Date: Fri, 29 Nov 2013 13:52:19 +0000 Message-ID: References: <87pppku7h2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VmOUw-00016V-EF for emacs-orgmode@gnu.org; Fri, 29 Nov 2013 08:52:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VmOUr-0001Lm-DZ for emacs-orgmode@gnu.org; Fri, 29 Nov 2013 08:52:46 -0500 Received: from mail-pb0-x230.google.com ([2607:f8b0:400e:c01::230]:47941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VmOUr-0001Lg-5V for emacs-orgmode@gnu.org; Fri, 29 Nov 2013 08:52:41 -0500 Received: by mail-pb0-f48.google.com with SMTP id md12so14461802pbc.21 for ; Fri, 29 Nov 2013 05:52:39 -0800 (PST) In-Reply-To: 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 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://orgmode.org/org-mode.git and... $ grep org-export-as-latex * $ grep org-latex-export-as-latex * org-loaddefs.el:;;;;;; org-latex-export-as-latex) "ox-latex" "ox-latex.el" (21111 org-loaddefs.el:(autoload 'org-latex-export-as-latex "ox-latex" "\ org-loaddefs.el: (defun org-latex-export-as-latex ox.el: \(defun org-latex-export-as-latex Binary file ox.elc matches ox-latex.el: ((?L "As LaTeX buffer" org-latex-export-as-latex) ox-latex.el:(defun org-latex-export-as-latex Which command *should* I expect to be using? -- Rob On 28 November 2013 11:38, Rob Stewart wrote: > 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-g228ea6 @ /home/rob/sw/org-mode/lisp/) > > list-load-path-shadows > https://gist.github.com/robstewart57/7690515 > > Interestingly, org-export-as-latex does not work: > org-export-as-latex: Symbol's value as variable is void: > org-export-latex-default-packages-alist > > But org-latex-export-to-latex does work, generating the unexpected > latex output. So there may be a problem with using an old exporter. > But both the output of org-version and list-load-path-shadows would > have me believe that my org-mode installation at ~/sw/org-mode is the > presiding org-mode setup. This directory tracks HEAD, and is up to > date. > > Regards, > > -- > Rob