Re: latex fragments compilation error when exporting to html

2020-09-02 Thread Thibault Marin
Hi, I can't comment on the rest of the discussion but I think I added this org-html--unlabel-latex-environment line. It was part of a change allowing links to equations in HTML export (https://lists.gnu.org/archive/html/emacs-orgmode/2018-01/msg00120.html). When removing the call to

Re: latex fragments compilation error when exporting to html

2020-09-02 Thread Jeremie Juste
Hello, I have found the culprit in the end. It was the function org-html--unlabel-latex-environment, int he ox-html.el file. I'm not sure this function is useful as I think it is better to give the user control on his environment (labelled or unlabelled) directly in his org file. I'm I missing

Re: latex fragments compilation error when exporting to html

2020-09-01 Thread Jeremie Juste
Hello, Some follow up on this problem I thought that I messed up the org-mode update because I had some org files open during the updates. I reinstall emacs and org-mode to the latest but I still get the problem. Performing M-x org-html-export-to-html on the file below ends up in an error

Re: latex fragments compilation error when exporting to html

2020-09-01 Thread Colin Baxter
> Jeremie Juste writes: > Hello, > Many thanks for your concerns. Everything goes well with emacs > -Q. Sorry for the noise. The culprit is definitely in my init > file. I'll keep the emacs -Q options in mind before sending issues > next time. >> Out of curiosity,

Re: latex fragments compilation error when exporting to html

2020-09-01 Thread Jeremie Juste
Some news about the investigation. The org-mode version of the emacs -Q is Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ /usr/local/share/emacs/26.3/lisp/org/). It's pretty old but the latex compilation works fine. When I change to Org mode version 9.3.7 (9.3.7-24-g7b657c-elpa @

Re: latex fragments compilation error when exporting to html

2020-09-01 Thread Jeremie Juste
Hello, Many thanks for your concerns. Everything goes well with emacs -Q. Sorry for the noise. The culprit is definitely in my init file. I'll keep the emacs -Q options in mind before sending issues next time. > Out of curiosity, what happens if you wrap the LaTeX in > #+begin_export latex ...

Re: latex fragments compilation error when exporting to html

2020-09-01 Thread Eric S Fraga
On Monday, 31 Aug 2020 at 22:24, Jeremie Juste wrote: > When I export test.org to html, the latex fragment fail to compile. > The reason is a star get added to the tabular environment. {tabular*} > (see tmpfile.tex). Doesn't happen to me. Out of curiosity, what happens if you wrap the LaTeX in

Re: latex fragments compilation error when exporting to html

2020-08-31 Thread Jeremie Juste
Hello, Nick Dokos writes: > Jeremie Juste writes: > >> Hello >> >> When I export test.org to html, the latex fragment fail to compile. >> The reason is a star get added to the tabular environment. {tabular*} >> (see tmpfile.tex). >> >> I don't know why the function insists in using the

Re: latex fragments compilation error when exporting to html

2020-08-31 Thread Nick Dokos
Jeremie Juste writes: > Hello > > When I export test.org to html, the latex fragment fail to compile. > The reason is a star get added to the tabular environment. {tabular*} > (see tmpfile.tex). > > I don't know why the function insists in using the tabular* environment. > > From this point I

latex fragments compilation error when exporting to html

2020-08-31 Thread Jeremie Juste
Hello When I export test.org to html, the latex fragment fail to compile. The reason is a star get added to the tabular environment. {tabular*} (see tmpfile.tex). I don't know why the function insists in using the tabular* environment. >From this point I would have two questions: How can I