* Org Export to ODT Problem Files
@ 2014-01-08 20:44 Aric
2014-01-08 23:40 ` Bastien
0 siblings, 1 reply; 17+ messages in thread
From: Aric @ 2014-01-08 20:44 UTC (permalink / raw)
To: emacs-orgmode
Hello,
I need to get a file into doc or docx format and can export from org into
ODT. However, the odt file cannot be opened by LibreOffice to convert. I can
open the file and it displays very well in both Calligra and Nisus Writer (on
mac). The problem is that Calligra cannot save in doc format and the file
crashes Nisus whenever I try to save it, whether I am trying to save in odt
or doc. I have figures and long tables in the document.
Is this an issue others have had or is it perhaps something within this file
that is causing the problem?
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Org Export to ODT Problem Files
2014-01-08 20:44 Org Export to ODT Problem Files Aric
@ 2014-01-08 23:40 ` Bastien
2014-01-09 0:02 ` Aric Gregson
0 siblings, 1 reply; 17+ messages in thread
From: Bastien @ 2014-01-08 23:40 UTC (permalink / raw)
To: Aric; +Cc: emacs-orgmode
Hello,
Aric <aorchid@mac.com> writes:
> Is this an issue others have had or is it perhaps something within this file
> that is causing the problem?
What version of Org and Emacs are you using?
M-x org-version RET
M-x emacs-version RET
Thanks,
--
Bastien
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Org Export to ODT Problem Files
2014-01-08 23:40 ` Bastien
@ 2014-01-09 0:02 ` Aric Gregson
2014-01-09 0:10 ` Bastien
0 siblings, 1 reply; 17+ messages in thread
From: Aric Gregson @ 2014-01-09 0:02 UTC (permalink / raw)
To: Bastien; +Cc: emacs-orgmode
Bastien <bzg@gnu.org> writes:
> What version of Org and Emacs are you using?
> M-x org-version RET
8.2.1-dist
> M-x emacs-version RET
24.3.1 freebsd-amd64
Thanks, Aric
--
~O
/\_,
###-\ |_
(*) / (*)
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Org Export to ODT Problem Files
2014-01-09 0:02 ` Aric Gregson
@ 2014-01-09 0:10 ` Bastien
2014-01-09 0:13 ` Aric
` (2 more replies)
0 siblings, 3 replies; 17+ messages in thread
From: Bastien @ 2014-01-09 0:10 UTC (permalink / raw)
To: Aric Gregson; +Cc: emacs-orgmode
Aric Gregson <aorchid@mac.com> writes:
> Bastien <bzg@gnu.org> writes:
>
>> What version of Org and Emacs are you using?
>> M-x org-version RET
>
> 8.2.1-dist
Please try with Org 8.2.5 or later, an issue with multiple figures
not showing up in LibreOffice 4.1.x has been fixed.
--
Bastien
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Org Export to ODT Problem Files
2014-01-09 0:10 ` Bastien
@ 2014-01-09 0:13 ` Aric
2014-01-09 2:02 ` Aric
2014-01-11 4:14 ` Jambunathan K
2 siblings, 0 replies; 17+ messages in thread
From: Aric @ 2014-01-09 0:13 UTC (permalink / raw)
To: emacs-orgmode
Bastien <bzg <at> gnu.org> writes:
> Please try with Org 8.2.5 or later, an issue with multiple figures
> not showing up in LibreOffice 4.1.x has been fixed.
Thank you, I will give this a try.
aric
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Org Export to ODT Problem Files
2014-01-09 0:10 ` Bastien
2014-01-09 0:13 ` Aric
@ 2014-01-09 2:02 ` Aric
2014-01-09 10:05 ` Bastien
` (2 more replies)
2014-01-11 4:14 ` Jambunathan K
2 siblings, 3 replies; 17+ messages in thread
From: Aric @ 2014-01-09 2:02 UTC (permalink / raw)
To: emacs-orgmode
Thank you very much for the upgrade notice. The export to ODT from org-mode
works very well now. There are pluses and minuses it seems between pandoc and
org export.
Org export ->
1. Includes figures and tables
2. Includes pretty code mark-up
3. Lacks latex code export
4. Figure and table references are by section, sort of like old fashioned
latex.
5. Author list and title are in appropriate places
Pandoc html (from org) to odt ->
1. Includes tables
2. Does not include figures
3. Does not include pretty code mark-up
4. Has latex code properly exported (i.e., $\geq$ is >= sign)
5. Figure and table references are as 'expected', first table is 1, then 2,
etc.
6. author list is at end of file
I can cut and paste the heavy math latex portions from a pandoc export, but
is there a setting that I am missing about latex code being interpreted on
export to odt?
Thanks very much, Aric
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Org Export to ODT Problem Files
2014-01-09 2:02 ` Aric
@ 2014-01-09 10:05 ` Bastien
2014-01-10 21:03 ` Org Export to ODT Problem Files - Latex Equations Work Aric
2014-01-11 4:04 ` Org Export to ODT Problem Files Jambunathan K
2 siblings, 0 replies; 17+ messages in thread
From: Bastien @ 2014-01-09 10:05 UTC (permalink / raw)
To: Aric; +Cc: emacs-orgmode
Hi Aric,
Aric <aorchid@mac.com> writes:
> There are pluses and minuses it seems between pandoc and
> org export.
(Better to list possible improvements to org->odt separately,
one improvement per thread, so that people can keep this in
their TODO lists.)
> I can cut and paste the heavy math latex portions from a pandoc export, but
> is there a setting that I am missing about latex code being interpreted on
> export to odt?
No, I don't think you miss anything here, sorry.
--
Bastien
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Org Export to ODT Problem Files - Latex Equations Work
2014-01-09 2:02 ` Aric
2014-01-09 10:05 ` Bastien
@ 2014-01-10 21:03 ` Aric
2014-01-11 9:14 ` Bastien
2014-01-11 4:04 ` Org Export to ODT Problem Files Jambunathan K
2 siblings, 1 reply; 17+ messages in thread
From: Aric @ 2014-01-10 21:03 UTC (permalink / raw)
To: emacs-orgmode
I just wanted to update that I am able to export latex equations from Org
mode files directly to ODT files via the MathtoWeb program. Works very well.
Removes one hurdle to using ORG and ODT instead of markdown.
thanks,
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Org Export to ODT Problem Files
2014-01-09 2:02 ` Aric
2014-01-09 10:05 ` Bastien
2014-01-10 21:03 ` Org Export to ODT Problem Files - Latex Equations Work Aric
@ 2014-01-11 4:04 ` Jambunathan K
2014-01-14 0:25 ` Aric Gregson
2 siblings, 1 reply; 17+ messages in thread
From: Jambunathan K @ 2014-01-11 4:04 UTC (permalink / raw)
To: emacs-orgmode
Comparison is nice. Using pandoc to do org->odt is definitely
substandard.
Aric <aorchid@mac.com> writes:
> Thank you very much for the upgrade notice. The export to ODT from org-mode
> works very well now. There are pluses and minuses it seems between pandoc and
> org export.
>
> Org export ->
> 1. Includes figures and tables
> 2. Includes pretty code mark-up
You can suppress fontification with this variable.
C-h v org-odt-fontify-srcblocks
> 3. Lacks latex code export
Use dvipng or mathtoweb.
1. Dvipng
Pro: Less problematic
Con: Uses png images of the formulae.
2. MathToWeb
Pro: Uses MathML
Con: MathToWeb is new kid on the block. May prove to be problematic
with more complex formulae.
If ltx->mathml conversion is problematic for some equations, you can
create "ODF files" (OpenDocumentFormula files created with
LibreOffice Math) by hand and insert an Org link to them.
> 4. Figure and table references are by section, sort of like old
> fashioned latex.
But tell me what you yourself want here.
I have some ideas on how xrefs can be improved for the section
titles. See http://lists.gnu.org/archive/html/emacs-orgmode/2013-12/msg00585.html
I would like to hear what things you desire for xrefs to tables, figures
and equations.
You were making some remarks about position of captions...
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Org Export to ODT Problem Files
2014-01-09 0:10 ` Bastien
2014-01-09 0:13 ` Aric
2014-01-09 2:02 ` Aric
@ 2014-01-11 4:14 ` Jambunathan K
2014-01-11 9:30 ` Bastien
2 siblings, 1 reply; 17+ messages in thread
From: Jambunathan K @ 2014-01-11 4:14 UTC (permalink / raw)
Cc: emacs-orgmode, Aric Gregson
Bastien <bzg@gnu.org> writes:
> Please try with Org 8.2.5 or later, an issue with multiple figures
> not showing up in LibreOffice 4.1.x has been fixed.
Cool.
While you are at it, you can take care of export issues with non-utf-8
(spanish encoded) Org files as well.
http://lists.gnu.org/archive/html/emacs-orgmode/2013-10/msg00873.html
Jambunathan K.
Git Repo: http://repo.or.cz/w/org-mode/org-kjn.git
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Org Export to ODT Problem Files - Latex Equations Work
2014-01-10 21:03 ` Org Export to ODT Problem Files - Latex Equations Work Aric
@ 2014-01-11 9:14 ` Bastien
2014-01-14 0:28 ` Aric Gregson
0 siblings, 1 reply; 17+ messages in thread
From: Bastien @ 2014-01-11 9:14 UTC (permalink / raw)
To: Aric; +Cc: emacs-orgmode
Hi Aric,
Aric <aorchid@mac.com> writes:
> I just wanted to update that I am able to export latex equations from Org
> mode files directly to ODT files via the MathtoWeb program. Works
> very well.
can you give more details about your setup?
This could well deserve a link to worg/org-hacks.org!
Thanks in advance,
--
Bastien
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Org Export to ODT Problem Files
2014-01-11 4:14 ` Jambunathan K
@ 2014-01-11 9:30 ` Bastien
2014-01-11 12:56 ` Jambunathan K
0 siblings, 1 reply; 17+ messages in thread
From: Bastien @ 2014-01-11 9:30 UTC (permalink / raw)
To: Jambunathan K; +Cc: emacs-orgmode, Aric Gregson
Jambunathan K <kjambunathan@gmail.com> writes:
> While you are at it, you can take care of export issues with non-utf-8
> (spanish encoded) Org files as well.
>
> http://lists.gnu.org/archive/html/emacs-orgmode/2013-10/msg00873.html
Thanks for the heads up. I'm slow at learning the machinery
behind Open Document Format, but I'll put this on my todo list.
--
Bastien
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Org Export to ODT Problem Files
2014-01-11 9:30 ` Bastien
@ 2014-01-11 12:56 ` Jambunathan K
0 siblings, 0 replies; 17+ messages in thread
From: Jambunathan K @ 2014-01-11 12:56 UTC (permalink / raw)
Cc: emacs-orgmode, Aric Gregson
> I'm slow at learning the machinery behind Open Document Format
Oh, OK. If you say so.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Org Export to ODT Problem Files
2014-01-11 4:04 ` Org Export to ODT Problem Files Jambunathan K
@ 2014-01-14 0:25 ` Aric Gregson
2014-01-14 9:20 ` Jambunathan K
0 siblings, 1 reply; 17+ messages in thread
From: Aric Gregson @ 2014-01-14 0:25 UTC (permalink / raw)
To: emacs-orgmode
Jambunathan K <kjambunathan@gmail.com> writes:
> 2. MathToWeb
>
> Pro: Uses MathML
>
> Con: MathToWeb is new kid on the block. May prove to be problematic
> with more complex formulae.
>
> If ltx->mathml conversion is problematic for some equations, you can
> create "ODF files" (OpenDocumentFormula files created with
> LibreOffice Math) by hand and insert an Org link to them.
Yes, this works very well for me. There is an issue with export of
$\geq$ that the author is looking into.
>> 4. Figure and table references are by section, sort of like old
>> fashioned latex.
For me, I am not writing a book or anything very long, just
manuscripts. Thus, I would prefer just to label each figure in order and
each table in order. I would therefore get Figure 1, Figure 2, etc and
Table 1, Table 2, etc in the order of appearance in the text. There is
no reference to section that way.
Maybe this is something that can be set in my odt reference file for
exporting? I have not yet investigated that.
Thanks, Aric
--
~O
/\_,
###-\ |_
(*) / (*)
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Org Export to ODT Problem Files - Latex Equations Work
2014-01-11 9:14 ` Bastien
@ 2014-01-14 0:28 ` Aric Gregson
0 siblings, 0 replies; 17+ messages in thread
From: Aric Gregson @ 2014-01-14 0:28 UTC (permalink / raw)
To: emacs-orgmode
Bastien <bzg@gnu.org> writes:
> can you give more details about your setup?
I am using the mathtoweb function and so far so good. Here is what I
have and what I understand of it, but I could be wrong about why it is
working.
The file has this header:
#+OPTIONS: LaTeX:t
I have this in my .emacs file:
;; to convert latex equations to mathml for ODT export
; uses mattoweb (http://www.mathtoweb.com/cgi-bin/mathtoweb_home.pl)
(setq org-latex-to-mathml-convert-command
"java -jar %j -unicode -force -df %o %I"
org-latex-to-mathml-jar-file
"~/.emacs.d/mathtoweb.jar")
Now it just works after updating to Java 7.
> This could well deserve a link to worg/org-hacks.org!
Yes, some of those files are outdated and it has been somewhat
challenging to find all the needed info in one place.
Thanks, Aric
--
~O
/\_,
###-\ |_
(*) / (*)
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Org Export to ODT Problem Files
2014-01-14 0:25 ` Aric Gregson
@ 2014-01-14 9:20 ` Jambunathan K
2014-01-14 19:14 ` Aric Gregson
0 siblings, 1 reply; 17+ messages in thread
From: Jambunathan K @ 2014-01-14 9:20 UTC (permalink / raw)
Cc: emacs-orgmode
Aric Gregson <aorchid@mac.com> writes:
>>> 4. Figure and table references are by section, sort of like old
>>> fashioned latex.
>
> For me, I am not writing a book or anything very long, just
> manuscripts. Thus, I would prefer just to label each figure in order and
> each table in order. I would therefore get Figure 1, Figure 2, etc and
> Table 1, Table 2, etc in the order of appearance in the text. There is
> no reference to section that way.
You are looking for this
(custom-set-variables
'(org-odt-display-outline-level 0))
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Org Export to ODT Problem Files
2014-01-14 9:20 ` Jambunathan K
@ 2014-01-14 19:14 ` Aric Gregson
0 siblings, 0 replies; 17+ messages in thread
From: Aric Gregson @ 2014-01-14 19:14 UTC (permalink / raw)
To: Jambunathan K; +Cc: emacs-orgmode
Jambunathan K <kjambunathan@gmail.com> writes:
> You are looking for this
>
> (custom-set-variables
> '(org-odt-display-outline-level 0))
Thanks, Aric
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2014-01-14 19:14 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-08 20:44 Org Export to ODT Problem Files Aric
2014-01-08 23:40 ` Bastien
2014-01-09 0:02 ` Aric Gregson
2014-01-09 0:10 ` Bastien
2014-01-09 0:13 ` Aric
2014-01-09 2:02 ` Aric
2014-01-09 10:05 ` Bastien
2014-01-10 21:03 ` Org Export to ODT Problem Files - Latex Equations Work Aric
2014-01-11 9:14 ` Bastien
2014-01-14 0:28 ` Aric Gregson
2014-01-11 4:04 ` Org Export to ODT Problem Files Jambunathan K
2014-01-14 0:25 ` Aric Gregson
2014-01-14 9:20 ` Jambunathan K
2014-01-14 19:14 ` Aric Gregson
2014-01-11 4:14 ` Jambunathan K
2014-01-11 9:30 ` Bastien
2014-01-11 12:56 ` Jambunathan K
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).