Hello, Rasmus <ras...@gmx.us> 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. > Of course ox-html could also check out ATTR_LATEX but this > would lead to a spurious solution since LaTeX ≠ HTML IMO. I agree. > Nicholas, if you want I can look into this. Certainly. Thank you. Regards, -- Nicolas Goaziou