Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623568 - dev-texlive/texlive-mathscience unbalanced brace in algorithm2e
Summary: dev-texlive/texlive-mathscience unbalanced brace in algorithm2e
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-02 17:49 UTC by Marc Vinyals
Modified: 2019-11-15 12:02 UTC (History)
2 users (show)

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


Attachments
Minimal example that triggers a warning (mwe.tex,83 bytes, text/x-tex)
2017-07-03 17:03 UTC, Marc Vinyals
Details
test.pdf (test.pdf,9.50 KB, application/pdf)
2017-07-03 17:43 UTC, Jonas Stein
Details
test.log (test.log,4.15 KB, text/x-log)
2017-07-03 17:44 UTC, Jonas Stein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Vinyals 2017-07-02 17:49:08 UTC
As reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=814317, compiling a LaTeX document that includes package algorithm2e gives the following warning:

(\end occurred inside a group at level 1)
### simple group (level 1) entered at line 1061 ({)
### bottom level

This is caused by a mismatched brace in line 1061 of algorithm2e.sty. See https://listes.lirmm.fr/sympa/arc/algorithm2e-discussion/2015-12/msg00000.html for the upstream report (the corresponding link in the Debian bug is dead) and fix, namely to remove the brace before \setboolean.
Comment 1 Jonas Stein gentoo-dev 2017-07-02 18:35:55 UTC
this is very old, I can not believe that it is not fixed in the latest texlive.
Can you please add the exact version number of the gentoo package and double check the upstream package? 
If our texlive-2017 still has the bug, but upstream fixed it, we just need a bump.

Please attach also a minimal working example for verification. Thank you.
Comment 2 Marc Vinyals 2017-07-03 17:03:39 UTC
Created attachment 480112 [details]
Minimal example that triggers a warning
Comment 3 Marc Vinyals 2017-07-03 17:12:36 UTC
Both app-text/texlive and dev-texlive/texlive-mathscience are version 2017. It seems that the algorithm2e version in the tree is 5.1, which is also the latest in ctan. If you can replicate the bug, then I could ping the upstream mailing list.
Comment 4 Jonas Stein gentoo-dev 2017-07-03 17:43:38 UTC
Created attachment 480566 [details]
test.pdf

works fine here
Comment 5 Jonas Stein gentoo-dev 2017-07-03 17:44:18 UTC
Created attachment 480568 [details]
test.log
Comment 6 Marc Vinyals 2017-07-03 18:23:33 UTC
Looks like you are getting the warning too, lines 101--104 of test.log.
Comment 7 Jonas Stein gentoo-dev 2017-07-03 19:08:11 UTC
I suggest you to discuss this on tex.sx and upstream, to get the best possible support and report your results here. We will see then, if we can fix anything.
Comment 8 Marc Vinyals 2017-08-01 18:23:09 UTC
Upstream fixed this in version 5.2 so all that is needed now is a bump.
Comment 9 Marc Vinyals 2019-06-12 04:53:22 UTC
Just confirming that this is fixed in texlive-2019.
Comment 10 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-11-15 12:02:13 UTC
(In reply to Marc Vinyals from comment #9)
> Just confirming that this is fixed in texlive-2019.

I think so.