From: Jambunathan K <kjambunathan@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [ANN] OpenDocumentText/OpenOffice Exporter - 0.6 Release
Date: Sun, 13 Feb 2011 14:36:15 +0530 [thread overview]
Message-ID: <814o88joc8.fsf@gmail.com> (raw)
In-Reply-To: <AANLkTikuVDkGc65xaaU-0VorpY+qzcaoMcWRNG4L10b1@mail.gmail.com> (Gary Oberbrunner's message of "Fri, 11 Feb 2011 13:10:50 -0500")
Gary
Thanks for trying out org-odt and sharing your feedback.
> I just joined the list recently and am very excited to try direct odt
> export! I checked out Jambunathan's git repo. I'm already running
> org-mode from its git master; is your repo a fork of the master, or
> is it its own thing? It seems like it contains everything, so I
> should use it instead of the main one?
It's a fork of the master. It may lag behind the master depending on my
whims and fancies.
>
> Once I enabled png images in my Windows emacs (by copying the
> appropriate DLLs), the following worked fine for me in my .emacs:
>
> #+begin_example
> ;; Org-mode ODT (Open Document) export, EXPERIMENTAL:
> (custom-set-variables
> '(org-export-latex-default-packages-alist (quote (("AUTO" "inputenc"
> t))))
> '(org-export-with-LaTeX-fragments (quote dvipng))
> )
> (setq org-odt-base-dir "c:/Program Files (x86)/emacs/site-lisp/
> org-jambu") ; only used for odt export
> (load-file (expand-file-name "contrib/odt/setup.el"
> org-odt-base-dir))
> #+end_example
>
LaTeX related lines are required only if there are LaTeX fragments (like
equations) which need to be embedded in to the resulting odt file. I
have included these lines only because the test.org file that I use for
testing has embedded LaTeX fragments.
As you noted above, setup.el changes the load-path and has pointers to
default styles file used for export.
> I suppose one addition would be to allow for customized ODT character
> and paragraph styles, e.g. customizing the styles.xml that gets
> included into the doc.
FYI, many of the user-defined styles used by the exporter have `org'
prefix.
Updating styles file either from a sample .odt file or .ott files is
something in my list. Till such time as I add support for this feature
one can use the following workaround:
1. customize the different styles in exported file and save it.
2. unzip the resulting odt file (Note: odt files are just .zip files)
and extract styles.xml file from the same.
3. Customize the variable org-export-odt-styles-file to point to the
above styles file.
The above procedure should work though I haven't tried this myself.
For the sake of record, many folks using `older version of emacs' have
reported `delete-directory' related crashes while trying my exporter. I
have pushed a fix for this a few minutes ago.
Jambunathan K.
next prev parent reply other threads:[~2011-02-13 9:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201102102334.57286.martin@weigele.de>
2011-02-10 23:51 ` [ANN] OpenDocumentText/OpenOffice Exporter - 0.6 Release Jambunathan K
2011-02-11 18:10 ` Gary Oberbrunner
2011-02-13 9:06 ` Jambunathan K [this message]
2011-02-13 9:30 ` Bastien
2011-01-28 21:46 Jambunathan K
2011-01-31 11:00 ` Christian Moe
2011-02-13 9:24 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=814o88joc8.fsf@gmail.com \
--to=kjambunathan@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.