emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Harri Kiiskinen <harkiisk@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug in publishing to LaTeX
Date: Mon, 19 Nov 2012 21:45:16 +0200 (EET)	[thread overview]
Message-ID: <20121119.214516.526453316.harkiisk@gmail.com> (raw)

Hi,

it seems that there is a bug in publishing to LaTeX:

org-publish-org-to calls org-export-as -functions with six arguments:

(funcall (intern (concat "org-export-as-" format))
                       (plist-get plist :headline-levels)
                       nil plist nil
                       (plist-get plist :body-only)
                       pub-dir)

but org-export-as-latex accepts only five:

(org-export-as-latex ARG &optional EXT-PLIST TO-BUFFER BODY-ONLY
PUB-DIR)

as compared to org-export-as-html, for example, which takes six:

(org-export-as-html ARG &optional HIDDEN EXT-PLIST TO-BUFFER BODY-ONLY
PUB-DIR)

This in: Org-mode version 7.9.2 (release_7.9.2-603-gf8a69a @ /usr/local/share/emacs/site-lisp/org/)

I do not know the export code so well as to suggest a patch of my own.

All the best,

Harri Kiiskinen

             reply	other threads:[~2012-11-19 19:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-19 19:45 Harri Kiiskinen [this message]
2012-11-20  9:05 ` Bug in publishing to LaTeX Giovanni Ridolfi
2012-11-20 17:05   ` Achim Gratz
2012-12-20 18:07     ` Bastien
2012-12-20 18:06   ` Bastien

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=20121119.214516.526453316.harkiisk@gmail.com \
    --to=harkiisk@gmail.com \
    --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).