emacs-orgmode
[Top][All Lists]

## [O] Bug in LaTeX export with short captions

 From: Suvayu Ali Subject: [O] Bug in LaTeX export with short captions Date: Thu, 10 Sep 2015 15:36:57 +0200 User-agent: Mutt/1.5.23.1 (2014-03-12)

Hi,

When I export the following table to latex,

#+name: tab:foo
#+caption[/s/-weights]: /s/-weights.
|     A |     B |     C |    D |
|-------+-------+-------+------|
| 70347 | 10885 | 68502 | 4021 |
| 68458 | 20310 | 66683 | 5853 |
| 69418 | 22329 | 67617 | 6431 |
| 71336 | 28674 | 69479 | 8160 |

I get the following:

\begin{table}[htb]
\caption[\emph{s}-weights]{\label{tab:foo}
weights]: \emph{s}-weights.}
\centering
\begin{tabular}{rrrr}
A & B & C & D\\
\hline
70347 & 10885 & 68502 & 4021\\
68458 & 20310 & 66683 & 5853\\
69418 & 22329 & 67617 & 6431\\
71336 & 28674 & 69479 & 8160\\
\end{tabular}
\end{table}

Note the extra "weights]:" in the long caption.  This happens whenever
there is some kind of emphasis in the short caption: /s/, *s*, etc.

Cheers,

--
Suvayu

Open source is the future. It sets us free.