Hello, Aaron Ecay <aarone...@gmail.com> writes:
> The other application I can think of is to allow captioned images and > tables not to float. The LaTeX world is full of tutorials on how to > un-float floating images and tables, but IME the org community doesn’t > ask for this. (perhaps they implement their own solutions in latex.) > > Given that the capt-of package is just two lines of code, defines just > one new command, and doesn’t modify any existing code, I’m inclined to > the belief that adding it to the default packages list is tolerable. > If capt-of is added to the default packages, then <caption, non-float, > org-latex-listing = nil> source blocks can also be handled. I agree. Do you want to take care of this? This requires an entry in ORG-NEWS and some documentation changes too. >> Note there is also :caption attribute which is used in tables and >> special blocks, but not in source blocks, which may come handy >> here. > > I can’t tell what this is for. It looks like merely a backend-specific > alternative to specifying the caption using org syntax (#+caption:). Am > I missing something? It permits to use a different caption command (e.g., \bicaption{}{}). It is similar to using \captionof instead of \caption. But I think adding "capt-of" to default packages list is better. Regards, -- Nicolas Goaziou