emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug in publishing to LaTeX
@ 2012-11-19 19:45 Harri Kiiskinen
  2012-11-20  9:05 ` Giovanni Ridolfi
  0 siblings, 1 reply; 5+ messages in thread
From: Harri Kiiskinen @ 2012-11-19 19:45 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug in publishing to LaTeX
  2012-11-19 19:45 Bug in publishing to LaTeX Harri Kiiskinen
@ 2012-11-20  9:05 ` Giovanni Ridolfi
  2012-11-20 17:05   ` Achim Gratz
  2012-12-20 18:06   ` Bastien
  0 siblings, 2 replies; 5+ messages in thread
From: Giovanni Ridolfi @ 2012-11-20  9:05 UTC (permalink / raw)
  To: Harri Kiiskinen, emacs-orgmode@gnu.org

Da: Harri Kiiskinen <harkiisk@gmail.com>
Inviato: Lunedì 19 Novembre 2012 20:45


Hi, Harri,

> it seems that there is a bug in publishing to LaTeX:
> org-publish-org-to calls org-export-as -functions with six arguments:
> but org-export-as-latex accepts only five:

thanks for catching, however

org-export-as-latex is an interactive autoloaded Lisp function in
`org-latex.el'.

This export engine will be dropped and replaced by the new exporter,
so I don't think it will be fixed.

cheers,
Giovanni

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug in publishing to LaTeX
  2012-11-20  9:05 ` Giovanni Ridolfi
@ 2012-11-20 17:05   ` Achim Gratz
  2012-12-20 18:07     ` Bastien
  2012-12-20 18:06   ` Bastien
  1 sibling, 1 reply; 5+ messages in thread
From: Achim Gratz @ 2012-11-20 17:05 UTC (permalink / raw)
  To: emacs-orgmode

Giovanni Ridolfi writes:
> org-export-as-latex is an interactive autoloaded Lisp function in
> `org-latex.el'.
>
> This export engine will be dropped and replaced by the new exporter,
> so I don't think it will be fixed.

Still, reverting 7a9d3457073 should solve that problem.  The alternative
would be to remove that argument in all other org-export-as-<backend>
functions.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug in publishing to LaTeX
  2012-11-20  9:05 ` Giovanni Ridolfi
  2012-11-20 17:05   ` Achim Gratz
@ 2012-12-20 18:06   ` Bastien
  1 sibling, 0 replies; 5+ messages in thread
From: Bastien @ 2012-12-20 18:06 UTC (permalink / raw)
  To: Giovanni Ridolfi; +Cc: emacs-orgmode@gnu.org

Hi all,

Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> writes:

> thanks for catching, however
>
> org-export-as-latex is an interactive autoloaded Lisp function in
> `org-latex.el'.
>
> This export engine will be dropped and replaced by the new exporter,
> so I don't think it will be fixed.

I fixed this -- we still don't know when the new exporter will be
available for others than just the Happy Few... so I'd rather not
leave dirty stuff like this in the wild.

Thanks for reporting this.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug in publishing to LaTeX
  2012-11-20 17:05   ` Achim Gratz
@ 2012-12-20 18:07     ` Bastien
  0 siblings, 0 replies; 5+ messages in thread
From: Bastien @ 2012-12-20 18:07 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode

Achim Gratz <Stromeko@nexgo.de> writes:

> Still, reverting 7a9d3457073 should solve that problem.  The alternative
> would be to remove that argument in all other org-export-as-<backend>
> functions.

PS: that's what I did, except for the DocBook exporter, which I will
certainly move to contrib/ for 8.0 anyway.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-12-20 18:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-19 19:45 Bug in publishing to LaTeX Harri Kiiskinen
2012-11-20  9:05 ` Giovanni Ridolfi
2012-11-20 17:05   ` Achim Gratz
2012-12-20 18:07     ` Bastien
2012-12-20 18:06   ` Bastien

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).