emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [RFC][ODT] Converting to pdf (or other formats) via odt
@ 2012-02-02 20:59 Jambunathan K
  2012-02-02 21:05 ` Jambunathan K
  0 siblings, 1 reply; 5+ messages in thread
From: Jambunathan K @ 2012-02-02 20:59 UTC (permalink / raw)
  To: Orgmode


Thanks to Giles[1] for introducing us to the "--convert-to" option of
soffice.exe.  The option seems to be a fairly recent development[2].

With this change, one can export to pdf (or any other popular format)
via odt by a simple

#+begin_src emacs-lisp
  (setq org-export-odt-preferred-output-format "pdf")
#+end_src

There is no need to install additional converters. It is assumed that
the user has a working and fairly recent LibreOffice installation.

Footnotes: 
[1] http://imperfectsoftware.blogspot.in/2012/01/one-of-my-less-enjoyable-tasks-is-to.html

[2] There seems to be a bunch of fairly recent bugs with this option. So
a cutting edge LibreOffice would definitely be needed.

http://www.google.co.in/search?q=headless+%22--convert-to%22+site%3Alibreoffice.org&btnG=Search&sclient=psy-ab&hl=en&site=&source=hp&gbv=1&sei=L_gqT97rIMXorAf248C6DA

Feedback welcome.
-- 

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

end of thread, other threads:[~2012-02-14 22:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-02 20:59 [RFC][ODT] Converting to pdf (or other formats) via odt Jambunathan K
2012-02-02 21:05 ` Jambunathan K
2012-02-07 14:42   ` Andreas Leha
2012-02-08 20:20     ` Jambunathan K
2012-02-14 22:25       ` Andreas Leha

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