Bug 25032 - caption latex package prevents compilation of latex document when used
Summary: caption latex package prevents compilation of latex document when used
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: https://tex.stackexchange.com/questio...
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Reported: 2019-07-03 07:54 CEST by Cyril Levet
Modified: 2019-11-08 00:38 CET (History)
7 users (show)

See Also:
Source RPM: texlive-texmf-20180414-5.mga7.src.rpm
Status comment:

Beginner's attempt at a LaTeX file using Beamer (478 bytes, text/x-tex)
2019-10-25 18:24 CEST, Len Lawrence

Description Cyril Levet 2019-07-03 07:54:52 CEST
Description of problem:

Trying to compile a latex presentation with \usepackage{caption} or packages based on it (like \usepackage{subcaption}) is impossible because of a conflict between latex base and this package (see https://tex.stackexchange.com/questions/426088/texlive-pretest-2018-beamer-and-subfig-collide/426090#426090). A fix has been applied upstream in the caption package (https://gitlab.com/axelsommerfeldt/caption/commit/e03e61eb7c5987644cb1d8ed336dbb5e8ee2f96f) but the one provided in Mageia 7 texlive-collection-basic is outdated.
An update to the latest version is required.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create a new beamer document
2. Add \usepackage{subcaption} in the preamble 
3. Try to compile with pdflatex or latexmk
Comment 1 Marja Van Waes 2019-07-08 07:50:42 CEST
Assigning to our registered texlive-texmf maintainer.

Assignee: bugsquad => mageia
CC: (none) => marja11

Comment 2 Marc Krämer 2019-07-10 16:04:51 CEST
bad news on that package. Since it is a big one and I wanted to split it, but I haven't done it so far. An update to this package will cause many people to redownload a big package.
Comment 3 papoteur 2019-09-18 07:35:11 CEST
(In reply to Marc Krämer from comment #2)
> bad news on that package. Since it is a big one and I wanted to split it,
> but I haven't done it so far. An update to this package will cause many
> people to redownload a big package.

Perhaps, but as a feature is broken, the update has to be done.

CC: (none) => yves.brungard_mageia

Comment 4 Sébastien Morin 2019-09-18 13:46:56 CEST
The current TexLive version is texlive-20190410 so I would consider it is worth updating anyway. LaTeX users know about the size of texlive and I'm sure they won't mind if this helps fixing a broken LaTeX installation ;)

CC: (none) => sebsweb

Comment 5 Marc Krämer 2019-10-23 22:25:30 CEST
Updated texlive packages fix failure in caption package:
Some definitions used in caption package (subcaption) did not compile with our shipped latex compiler.

Updated packages in core/updates_testing:

Marc Krämer 2019-10-23 22:56:45 CEST

Assignee: mageia => qa-bugs

Comment 6 Len Lawrence 2019-10-25 18:22:58 CEST
Mageia 7, x86_64

My LaTeX days are long-gone, 30 years at least, but help is available at https://www.overleaf.com/learn/latex/

$ rpm -qa | grep texlive

Installed the release packages, not without errors.  texlive-context, {texlive-texmf,texlive-dist} and texlive-fontsextra were followed by
"yes: standard output: Broken pipe
yes: standard output: Broken pipe" messages.  Some kind of packaging error?
$ rpm -qa | grep texlive

$ pdflatex neophyte.tex
produced a stream of output with various warnings and a viable output document.
$ ls
 neophyte.aux           neophyte.log   neophyte.pdf   neophyte.toc
 neophyte.fdb_latexmk   neophyte.nav   neophyte.snm  '#preupdate#'
 neophyte.fls           neophyte.out   neophyte.tex   preupdate
$ xpdf neophyte.pdf
This showed the expected output starting with the title
"My Presentation
Using Beamer"

Holding back on the update for some comment on the novice file I used to test this.  We might need Sébastien's input.

CC: (none) => tarazed25

Comment 7 Len Lawrence 2019-10-25 18:24:53 CEST
Created attachment 11334 [details]
Beginner's attempt at a LaTeX file using Beamer
Len Lawrence 2019-10-26 11:12:58 CEST

Keywords: (none) => feedback

Comment 8 Cyril Levet 2019-11-04 10:30:05 CET
I testes the new version of texlive with my problematic file and it works for me. The bug is fixed. Thank you.
Comment 9 Len Lawrence 2019-11-04 10:45:51 CET
Thanks Cyril.  Letting this go now.

Whiteboard: (none) => MGA7-64-OK
Keywords: feedback => (none)

Comment 10 Thomas Andrews 2019-11-07 16:32:52 CET
OK, then. Validating. Advisory in Comment 5.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Thomas Backlund 2019-11-07 22:42:36 CET

Keywords: (none) => advisory
CC: (none) => tmb

Comment 11 Mageia Robot 2019-11-08 00:38:16 CET
An update for this issue has been pushed to the Mageia Updates repository.


Resolution: (none) => FIXED

Note You need to log in before you can comment on or make changes to this bug.