[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: latex fragments compilation error when exporting to html
From: |
Nick Dokos |
Subject: |
Re: latex fragments compilation error when exporting to html |
Date: |
Mon, 31 Aug 2020 17:57:56 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Jeremie Juste <jeremiejuste@gmail.com> 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 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*}
> %
> }
>
>
I cannot reproduce it with Org mode version 9.3.7 (release_9.3.7-705-gea9463 @
/home/nick/src/emacs/org/org-mode/lisp/).
What version are you using?
--
Nick
"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler