emacs-orgmode
[Top][All Lists]
Advanced

[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:28:42 +0100

Rasmus <address@hidden> writes:

> Nicolas Goaziou <address@hidden> writes:
>
>> This is a feature. A caption implies, at least, a "table" environment.
>
> Except when it doesn't¹ ...

That's your problem since Org didn't request the minipage in the first
place. You don't want a caption but still provide one.

> And in this case I told Org that it doesn't by specifying :environment
> nil. :environment should be stronger than :caption.

This is really a matter of taste. I don't mind either way.

> There no explicit interface for \captonof, and reading the manual of
> capt-of, I don't want to, as the author says care should be taken in
> documents where floats are also used.

Again, this is the user's problem. But it could be reasonable to use
"captionof" when no environment is explicitly required. IOW "ox-latex"
could fall-back to caption of when a caption is specified and there's no
environment to hold it.


Regards,



reply via email to

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