* Re: export to odt, eqnarray and align are not supported
2018-06-15 9:18 ` Eric S Fraga
@ 2018-06-15 9:29 ` Uwe Brauer
2018-06-15 9:55 ` [Sort of Solved:culprit] (was: export to odt, eqnarray and align are not supported) Uwe Brauer
2018-06-15 17:27 ` [SOLVED, really] (was: export to odt, eqnarray and align are not supported) Uwe Brauer
2 siblings, 0 replies; 7+ messages in thread
From: Uwe Brauer @ 2018-06-15 9:29 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]
>>> "Eric" == Eric S Fraga <esflists@gmail.com> writes:
> On Friday, 15 Jun 2018 at 10:52, Uwe Brauer wrote:
>> Both a set to nil, but even if I try dvipng via
>>
>> #+OPTIONS: tex:dvipng
>>
>> Or #+OPTIONS: tex:imagemagick
> Data point:
> Both work for me. The dvipng output looks better, however. The mathml
> doesn't work (for me) for the second case with the align environment.
Thanks, I got meanwhile the mathml to work, but the result is not
appealing.
>> The math, even equations are inserted verbatim, that is really odd.
>> The minibuffer tells me that the png are generated and indeed there are,
>> but they are not inserted in the odt file using as org-export-dispatch
>> and then chosing odt.
> Strange. Cannot help. Sorry.
Ok I started emacs -q and then it worked.
So it must be something in my setting. Sigh. I have to debug this which
can take a while, anybody an idea which variable I set incorrectly?
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5025 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Sort of Solved:culprit] (was: export to odt, eqnarray and align are not supported)
2018-06-15 9:18 ` Eric S Fraga
2018-06-15 9:29 ` Uwe Brauer
@ 2018-06-15 9:55 ` Uwe Brauer
2018-06-15 11:04 ` [equations: conversions] (was: [Sort of Solved:culprit]) Uwe Brauer
2018-06-15 17:27 ` [SOLVED, really] (was: export to odt, eqnarray and align are not supported) Uwe Brauer
2 siblings, 1 reply; 7+ messages in thread
From: Uwe Brauer @ 2018-06-15 9:55 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1450 bytes --]
>>> "Eric" == Eric S Fraga <esflists@gmail.com> writes:
> On Friday, 15 Jun 2018 at 10:52, Uwe Brauer wrote:
>> Both a set to nil, but even if I try dvipng via
>>
>> #+OPTIONS: tex:dvipng
>>
>> Or #+OPTIONS: tex:imagemagick
> Data point:
> Both work for me. The dvipng output looks better, however. The mathml
> doesn't work (for me) for the second case with the align environment.
>> The math, even equations are inserted verbatim, that is really odd.
>> The minibuffer tells me that the png are generated and indeed there are,
>> but they are not inserted in the odt file using as org-export-dispatch
>> and then chosing odt.
> Strange. Cannot help. Sorry.
Ok I found the culprit: it is the org version. I am using master git
from July of last year, because
1. It contains Nick's cool hide very wide columns in tables
2. But it does not contain the new template system, which breaks
backwards compatibility. :'(
However when converting to odt with dvipng, inline symbols are correctly
generated but not equations or eqnarryas etc. That must be a bug in this
particular master version, sigh
I thinks as soon as possible I have to acquaint myself with the new
template system and convert the bunch of templates I have to the new system.
However right now I still with the version and will use vanilla org for
the conversion.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5025 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [SOLVED, really] (was: export to odt, eqnarray and align are not supported)
2018-06-15 9:18 ` Eric S Fraga
2018-06-15 9:29 ` Uwe Brauer
2018-06-15 9:55 ` [Sort of Solved:culprit] (was: export to odt, eqnarray and align are not supported) Uwe Brauer
@ 2018-06-15 17:27 ` Uwe Brauer
2 siblings, 0 replies; 7+ messages in thread
From: Uwe Brauer @ 2018-06-15 17:27 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1156 bytes --]
>>> "Eric" == Eric S Fraga <esflists@gmail.com> writes:
> On Friday, 15 Jun 2018 at 10:52, Uwe Brauer wrote:
>> Both a set to nil, but even if I try dvipng via
>>
>> #+OPTIONS: tex:dvipng
>>
>> Or #+OPTIONS: tex:imagemagick
> Data point:
> Both work for me. The dvipng output looks better, however. The mathml
> doesn't work (for me) for the second case with the align environment.
>> The math, even equations are inserted verbatim, that is really odd.
>> The minibuffer tells me that the png are generated and indeed there are,
>> but they are not inserted in the odt file using as org-export-dispatch
>> and then chosing odt.
> Strange. Cannot help. Sorry.
Ok I found the culprit, I debugged ox-odt.el
it is the following function
(defun org-odt-format-headline-default-function
(let* ((style (format "OrgPriority-%s" priority))
^^^^^ this is the problem.
The new code has
(let* ((style (format "OrgPriority-%c" priority))
And this solves the eqnarray problem. Good, uff relived. Now I can go
home ;-)
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5025 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread