From: Jeremie Juste <jeremiejuste@gmail.com>
To: emacs-orgmode@gnu.org
Subject: latex fragments compilation error when exporting to html
Date: Mon, 31 Aug 2020 22:24:47 +0200 [thread overview]
Message-ID: <87h7si4l80.fsf@gmail.com> (raw)
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*}
%
}
next reply other threads:[~2020-08-31 20:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-31 20:24 Jeremie Juste [this message]
2020-08-31 21:57 ` latex fragments compilation error when exporting to html 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h7si4l80.fsf@gmail.com \
--to=jeremiejuste@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).