Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 296365

Summary: dev-tex/latex-beamer-3.08 bump request
Product: Gentoo Linux Reporter: Markus Peloquin <markus>
Component: Current packagesAssignee: TeX project <tex>
Status: RESOLVED FIXED    
Severity: normal CC: asolokha
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: beamer_fail.tex
latex-beamer-3.07.ebuild
subfig-compatibility.patch

Description Markus Peloquin 2009-12-10 05:49:22 UTC
This has been a known issue with a workaround for years (see URL).  The workaround is this patch, and the fix is texlive-2009 (more precisely, a newer version of the 'caption' package).  There's a note about the real fix in the Debian mailing list.

Index: latex-beamer-3.07/base/beamerbasecompatibility.sty
===================================================================
--- latex-beamer-3.07.orig/base/beamerbasecompatibility.sty	2008-07-18 04:30:30.144652041 +0800
+++ latex-beamer-3.07/base/beamerbasecompatibility.sty	2008-07-18 04:31:18.850651546 +0800
@@ -146,6 +146,11 @@
 \providecommand\l@part{}
 \providecommand\l@chapter{}
 
+%
+% Fix for subfig
+%
+\providecommand\ext@table{}
+\providecommand\ext@figure{}
 
 
 
=========3 blank lines above==========

Reproducible: Always

Steps to Reproduce:
I'll attach a file that causes failure with an unpatched latex-beamer.
Comment 1 Markus Peloquin 2009-12-10 05:51:51 UTC
Created attachment 212590 [details]
beamer_fail.tex

Running the test:

$ pdflatex beamer_fail

You'll need to have a file 'img.png' in the current directory.
Comment 2 Markus Peloquin 2010-01-11 23:30:54 UTC
Created attachment 216143 [details]
latex-beamer-3.07.ebuild

So I updated to TeXLive 2009 finally, and I am sad to say that the newer version of 'caption' does not fix anything.  I'm attaching an ebuild and later the patch to hopefully move things along a bit quicker.
Comment 3 Markus Peloquin 2010-01-11 23:31:53 UTC
Created attachment 216144 [details, diff]
subfig-compatibility.patch

What was promised.
Comment 4 Arseny Solokha 2010-06-09 15:32:46 UTC
This patch has been incorporated to beamer 3.08.
Unfortunately I failed to modify latex-beamer-3.07.ebuild for beamer 3.08 (new beamer maintainer renamed root directory in a tarball, and I suppose that some eclass function should be overriden in the ebuild to handle this correctly, but I haven't got my arms around it yet).
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2010-10-03 13:57:02 UTC
So let's make this a bump request to fix the problem once and for all.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2010-10-03 14:33:32 UTC
Bumped to 3.10 - this should solve the problem