emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* latex fragments compilation error when exporting to html
@ 2020-08-31 20:24 Jeremie Juste
  2020-08-31 21:57 ` Nick Dokos
  2020-09-01  9:06 ` Eric S Fraga
  0 siblings, 2 replies; 10+ messages in thread
From: Jeremie Juste @ 2020-08-31 20:24 UTC (permalink / raw)
  To: emacs-orgmode

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 remove the star from the tabular environment ?
How can I can I find the culprit?
- I was hoping to provide a patch by finding the culprit but I got lost.
  - I tried to debug-on-entry org-format-latex.
  

Best regards,
Jeremie
   
> test.org 
#+OPTIONS:   H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t tex:imagemagick title:nil author:nil date:nil
#+LATEX_HEADER: \usepackage{booktabs}

     \begin{tabular}{lll}
     \toprule
      1 & 2 & 3 \\
      5 & 6 & 8 \\
     \bottomrule
     \end{tabular}
  
> tmpfile.tex

...

{\color{fg}
\begin{tabular*}{lll}
\toprule
 1 & 2 & 3 \\
 5 & 6 & 8 \\
\hline
\end{tabular*}
%
}


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-09-02  7:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-31 20:24 latex fragments compilation error when exporting to html Jeremie Juste
2020-08-31 21:57 ` Nick Dokos
2020-09-01  5:15   ` Jeremie Juste
2020-09-01  9:06 ` Eric S Fraga
2020-09-01  9:36   ` Jeremie Juste
2020-09-01 10:48     ` Colin Baxter
2020-09-01 10:07   ` Jeremie Juste
2020-09-01 20:15   ` Jeremie Juste
2020-09-02  6:12     ` Jeremie Juste
2020-09-02  7:40       ` Thibault Marin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).