Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296365 - dev-tex/latex-beamer-3.08 bump request
Summary: dev-tex/latex-beamer-3.08 bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-10 05:49 UTC by Markus Peloquin
Modified: 2010-10-03 14:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
beamer_fail.tex (beamer_fail.tex,222 bytes, text/plain)
2009-12-10 05:51 UTC, Markus Peloquin
Details
latex-beamer-3.07.ebuild (latex-beamer-3.07.ebuild,1.73 KB, text/plain)
2010-01-11 23:30 UTC, Markus Peloquin
Details
subfig-compatibility.patch (subfig-compatibility.patch,481 bytes, patch)
2010-01-11 23:31 UTC, Markus Peloquin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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