emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [ox-latex, bug?] :caption forces environment


From: Rasmus
Subject: [O] [ox-latex, bug?] :caption forces environment
Date: Thu, 19 Feb 2015 15:52:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Hi,

Consider this example:

#+ATTR_LATEX: :environment nil :center nil :caption cap
| t |

Exporting to latex, it produces:

    \begin{table}[htb]
    cap
    \begin{tabular}{l}
    \toprule
    t\\
    \bottomrule
    \end{tabular}
    \end{table}

I'd expect:

    cap
    \begin{tabular}{l}
    \toprule
    t\\
    \bottomrule
    \end{tabular}

The real usecase is that I want to use \captionof{table}{my caption}.

I can try to fix it myself later if that's better.

—Rasmus

-- 
. . . The proofs are technical in nature and provides no real understanding





reply via email to

[Prev in Thread] Current Thread [Next in Thread]