emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rob Stewart <robstewart57@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <CA+ZOasKiGXyV3d152DVmeVZcDqhCQ1jdJs9WWP1_ruYFj1Dmog@mail.gmail.com> (raw)
In-Reply-To: <CA+ZOasJ-FfEqDGMoo3BGxhQzpEeF+TnSUEhakanRC23to_TK0g@mail.gmail.com>

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 <robstewart57@gmail.com> wrote:
> On 28 November 2013 10:49, Nicolas Goaziou <n.goaziou@gmail.com> 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

  reply	other threads:[~2013-11-29 13:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-28  9:52 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/)] Rob Stewart
2013-11-28 10:49 ` Nicolas Goaziou
2013-11-28 11:38   ` Rob Stewart
2013-11-29 13:52     ` Rob Stewart [this message]
2013-11-29 14:22       ` Rob Stewart
2013-11-29 17:44         ` Nicolas Goaziou
2013-11-29 18:42           ` Rob Stewart
2013-11-29 19:33             ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+ZOasKiGXyV3d152DVmeVZcDqhCQ1jdJs9WWP1_ruYFj1Dmog@mail.gmail.com \
    --to=robstewart57@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).