[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Bug: LaTeX export of table with caption broken
From: |
Jens Lechtenboerger |
Subject: |
[O] Bug: LaTeX export of table with caption broken |
Date: |
Sat, 19 Jan 2019 15:25:31 +0100 |
Hi there,
when exporting a table with caption to LaTeX on the master branch,
invalid code is generated.
Example Org file:
#+CAPTION: Some text
| Col1 | Col2 |
|------+------|
| foo | bar |
The resulting tex file contains this, without table environment,
which is necessary for the use of captions:
begin{center}
\caption{Some text}
\begin{tabular}{ll}
Col1 & Col2\\
\hline
foo & bar\\
\end{tabular}
\end{center}
The above happens on the current master branch, but did already
happen last month on the next branch:
Org mode version 9.2 (release_9.2-193-ge7901c @
/usr/share/emacs/24.5/site-lisp/org/)
Org mode version 9.1.14 (release_9.1.14-1178-gdd26f0 @
/usr/share/emacs/24.5/site-lisp/org/)
In contrast, Org mode version 9.1.9 (release_9.1.9-65-g5e4542)
shipping with Emacs is fine, creating the following:
\begin{table}[htbp]
\caption{Some text}
\centering
\begin{tabular}{ll}
Col1 & Col2\\
\hline
foo & bar\\
\end{tabular}
\end{table}
Best wishes
Jens
- [O] Bug: LaTeX export of table with caption broken,
Jens Lechtenboerger <=
- Re: [O] Bug: LaTeX export of table with caption broken, Nicolas Goaziou, 2019/01/19
- Re: [O] Bug: LaTeX export of table with caption broken, Jens Lechtenboerger, 2019/01/19
- Re: [O] Bug: LaTeX export of table with caption broken, Eric S Fraga, 2019/01/22
- Re: [O] Bug: LaTeX export of table with caption broken, Nicolas Goaziou, 2019/01/22
- Re: [O] Bug: LaTeX export of table with caption broken, Eric S Fraga, 2019/01/23
- Re: [O] Bug: LaTeX export of table with caption broken, Eric S Fraga, 2019/01/23
- Re: [O] Bug: LaTeX export of table with caption broken, Nicolas Goaziou, 2019/01/23
- Re: [O] Bug: LaTeX export of table with caption broken, Eric S Fraga, 2019/01/23
- Re: [O] Bug: LaTeX export of table with caption broken, Nick Dokos, 2019/01/23
- Re: [O] Bug: LaTeX export of table with caption broken, Nicolas Goaziou, 2019/01/24