From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: edgar@openmail.cc
Cc: emacs-orgmode@gnu.org
Subject: Re: How to export LaTeX amsmath align bmatrix to ODT?
Date: Wed, 14 Jun 2017 16:10:21 +0200 [thread overview]
Message-ID: <87poe6irsi.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <d42f201d72a49175483925d5f626f348@openmail.cc> (edgar@openmail.cc's message of "Mon, 12 Jun 2017 21:36:09 +0000")
Hello,
edgar@openmail.cc writes:
> On 2017-06-10 05:13, edgar@openmail.cc wrote:
>> On 2017-06-10 04:54, edgar@openmail.cc wrote:
>>> Hello,
>>>
>>> I have been making progress with my export procedure to ODT. I would
>>> like to know if someone knows how to export the following LaTeX block
>>> to ODT correctly:
>>>
>>> \[\begin{align} \begin{bmatrix} a = 1 & b=2 \\ c=3 & d = 4
>>> \end{bmatrix} \end{align}\]
>>> https://www.vfemail.net/roundcube/?_task=mail&_action=compose&_id=289067995593b7fd683a1f#
>>> \[\begin{align} a = & 1 + 2 + 3 + 4 \\ c = & 4 \end{bmatrix}
>>> \end{align}\]
I'm a bit lost here. In particular, I'm able to export the example above
out-of-the-box, provided I add "#+options: tex:dvipng" or some such in
the document.
> For the record, I had modified org-preview-latex-process-alist to get
> custom symbols, and this got in the way of the LaTeX bmatrix
> environment (I don't know how; I was loading a file with
> with :latex-header as "\\input{preamble.tex}").
>
> My partial answer (it is partial, because the \tensor preview renders
> in a different color than the rest of symbols): Instead of modifying
> org-preview-latex-process-alist, the answer I modified
> org-format-tex-header. I added the following at the end of M-x
> customize-variable org-format-tex-header (I leave it here for
> posterity; I added some symbols: tensor, derivative, vector, Roman
> numeral, etc.)
I don't think you need to modify `org-format-latex-header' at all. There
is `org-latex-packages-alist' for that.
So, is there a bug in the ODT export back-end? If so, could you post an
ECM? Loads of LaTeX code doesn't help understanding the issue.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2017-06-14 14:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-10 4:54 How to export LaTeX amsmath align bmatrix to ODT? edgar
2017-06-10 5:13 ` edgar
2017-06-12 21:36 ` edgar
2017-06-14 14:10 ` Nicolas Goaziou [this message]
[not found] ` <3c4faaee17eb7e7fdd5aea5136742bd5@openmail.cc>
2017-06-25 0:35 ` Fwd: " edgar
2017-06-25 21:11 ` Nicolas Goaziou
2017-06-26 14:31 ` edgar
[not found] ` <449a60f5bed6445984cc8ccc8f3c3a63@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-06-16 8:18 ` Eric S Fraga
[not found] <mailman.87.1497628817.13493.emacs-orgmode@gnu.org>
2017-06-17 2:34 ` edgar
[not found] ` <540c9e41077e41ed940a64e1caaebb3f@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-06-17 15:56 ` Eric S Fraga
[not found] <mailman.96.1497715218.27257.emacs-orgmode@gnu.org>
2017-06-17 23:13 ` edgar
[not found] ` <23d18e02ed46416eb1a931a373b0765e@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-06-18 8:43 ` Eric S Fraga
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=87poe6irsi.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=edgar@openmail.cc \
--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.