Created attachment 412070 [details, diff] Fix for latex-caption ticket #21 as implemented in r100 upstream The caption package as present in dev-texlive/latex-recommended-2015 is incompatible with the beamer class as provided by dev-tex/latex-beamer-3.36. See issue 261 [^1] in the beamer bugtracker or ticket #21 [^2] in caption's bugtracker. The latter also links to the fix, which was implemented in r100 [^3] of the caption package. I have modified it a little bit to apply to the files as shipped as part of dev-texlive/latex-recommended-2015 in Gentoo. I confirm that it works. [^1]: https://bitbucket.org/rivanvx/beamer/issues/261/beamer-and-subcaption [^2]: https://sourceforge.net/p/latex-caption/tickets/21/ [^3]: https://sourceforge.net/p/latex-caption/code/100/
commit f4747010c0787cb88e68ad3cb9ae662a23332969 Author: Alexis Ballier <aballier@gentoo.org> Date: Thu Oct 15 13:57:48 2015 +0200 dev-texlive/texlive-latexrecommended: Fix subcaption package for latest beamer. Bug #560654 by Dennis Schridde. Thanks! I've taken the liberty to remove the comment-only hunks from your patch.
(In reply to Alexis Ballier from comment #1) > I've taken the liberty to remove the comment-only hunks from your patch. Sure. I've taken the patch directly from upstream.