emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Rainer@krugs.de
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: new exporter - LaTeX export setting org-export-latex-packages-alist and BUG empty source block export
Date: Thu, 07 Feb 2013 14:37:57 +0100	[thread overview]
Message-ID: <87d2wckzwq.fsf@gmail.com> (raw)
In-Reply-To: <51137EA8.5020603@gmail.com> (Rainer M. Krug's message of "Thu, 07 Feb 2013 11:15:04 +0100")

Hello,

Rainer M Krug <r.m.krug@gmail.com> writes:

> Hi
>
> I had the following in my emacs.org:
>
> #+begin_src emacs-lisp
>   (require 'org-latex)
>   (setq org-export-latex-listings t)
>   (add-to-list 'org-export-latex-packages-alist '("" "listings"))
>   (add-to-list 'org-export-latex-packages-alist '("" "color"))
> #+end_src
>
> After upgrade of org this morning using git, the new exporter is there and I get the following
> error message:
>
> (void-variable org-export-latex-packages-alist)

It should be `org-latex-packages-alist', `org-latex-listings'. You also
don't need (and shouldn't) require 'org-latex. Please see:

  http://permalink.gmane.org/gmane.emacs.orgmode/65574

> In addition, there seems to be a BUG:
>
> when exporting an empty source block to LaTeX, I get the following error message:
>
> org-babel-exp processing... [69 times]
> apply: Wrong number of arguments: max, 0
>
> I can easily replicate this with a document only containing:
>
> * org-mode
> #+begin_src emacs-lisp
>
> #+end_src
>
> which exports fine to html, but not LaTeX.

Indeed. It should be fixed now. Thank you for reporting it.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2013-02-07 13:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-07 10:15 new exporter - LaTeX export setting org-export-latex-packages-alist and BUG empty source block export Rainer M Krug
2013-02-07 13:37 ` Nicolas Goaziou [this message]
2013-02-07 14:01   ` Rainer M Krug
2013-02-07 14:26     ` 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=87d2wckzwq.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=Rainer@krugs.de \
    --cc=emacs-orgmode@gnu.org \
    /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).