emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [ox-latex, bug?] :caption forces environment
@ 2015-02-19 14:52 Rasmus
  2015-02-19 15:13 ` Nicolas Goaziou
  0 siblings, 1 reply; 10+ messages in thread
From: Rasmus @ 2015-02-19 14:52 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-02-24 22:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-19 14:52 [ox-latex, bug?] :caption forces environment Rasmus
2015-02-19 15:13 ` Nicolas Goaziou
2015-02-19 15:19   ` Rasmus
2015-02-19 15:28     ` Nicolas Goaziou
2015-02-19 15:50       ` Rasmus
2015-02-19 16:12         ` Nicolas Goaziou
2015-02-19 16:43           ` Rasmus
2015-02-19 16:49           ` Rasmus
2015-02-24 20:06             ` Nicolas Goaziou
2015-02-24 22:49               ` Rasmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).