[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [ox-latex, bug?] :caption forces environment
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [ox-latex, bug?] :caption forces environment |
Date: |
Thu, 19 Feb 2015 16:13:26 +0100 |
Hello,
Rasmus <address@hidden> 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
- [O] [ox-latex, bug?] :caption forces environment, Rasmus, 2015/02/19
- Re: [O] [ox-latex, bug?] :caption forces environment,
Nicolas Goaziou <=
- Re: [O] [ox-latex, bug?] :caption forces environment, Rasmus, 2015/02/19
- Re: [O] [ox-latex, bug?] :caption forces environment, Nicolas Goaziou, 2015/02/19
- Re: [O] [ox-latex, bug?] :caption forces environment, Rasmus, 2015/02/19
- Re: [O] [ox-latex, bug?] :caption forces environment, Nicolas Goaziou, 2015/02/19
- Re: [O] [ox-latex, bug?] :caption forces environment, Rasmus, 2015/02/19
- Re: [O] [ox-latex, bug?] :caption forces environment, Rasmus, 2015/02/19
- Re: [O] [ox-latex, bug?] :caption forces environment, Nicolas Goaziou, 2015/02/24
- Re: [O] [ox-latex, bug?] :caption forces environment, Rasmus, 2015/02/24