[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Question about the math mode table exporting for latex and html
From: |
Rick Frankel |
Subject: |
Re: [O] Question about the math mode table exporting for latex and html |
Date: |
Tue, 7 Jan 2014 16:17:16 -0500 |
User-agent: |
Mutt/1.5.22 (2013-10-16) |
On Tue, Jan 07, 2014 at 05:39:06PM +0100, Nicolas Goaziou wrote:
> Rasmus <address@hidden> writes:
>
> > AFAIK, mathjax supports amsmath matrices, e.g. the third example here¹ .
> > Thus, we'd really just want to insert the output of org-latex-table in
> > the html-file.
> >
> > Perhaps something like the following would be OK? Nicholas?
> >
> > #+ATTR_HTML: :mode latex
> > #+ATTR_LATEX: :mode math :environment pmatrix :math-prefix \mathbf{H}=
> > | \vdots | 0 | \vdots |
> > | \vdots | H | \vdots |
> > | \vdots | 0 | \vdots |
> >
> > This would tell ox-html.el to transcode the table via ox-latex-tabel
> > and feed the string via org-html-format-latex (assuming latex-frag is
> > a string).
>
> FWIW, I think it's worth trying. I'm Cc'ing Rick Frankel for his
> opinion.
>
I have no opinion on this one. Nicolas, if you think this is the
correct approach syntactically, then it works for me.
rick
[O] puzzling org-mime-htmlize, Joseph Vidal-Rosset, 2014/01/07