Hello,

Rasmus <ras...@gmx.us> writes:


> 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}

This is a feature. A caption implies, at least, a "table" environment.

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

This feature existed before support for "captionof". Of course, it is
now possible to make use of this macro and alter `org-latex--org-table'
accordingly.


Regards,

-- 
Nicolas Goaziou

Reply via email to