[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#670161: texlive-science: [algorithm2e] dotocloa option does not work any more



On Mo, 23 Apr 2012, Matteo Cypriani wrote:
> Since the last upgrade of texlive-science, the dotocloa option of the
> algorithm2e package doesn't work any more. There is no need to have any

Indeed:
--- /usr/share/texlive/texmf-dist/tex/latex/algorithm2e/algorithm2e.sty	2009-12-16 09:53:28.000000000 +0900
+++ algorithm2e.sty	2012-04-24 07:38:12.959135700 +0900
@@ -998,7 +998,7 @@
   \ifx\@tocextra\undefined%
   \RequirePackage{tocbibind}%
   \fi%
-}%
+}{}%
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%% Main Part %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %

Missing else branch in ifthenelse, with this patch at least you can
compile, BUT you have to add
	algo2e
to the options.

It seems that algorithm2e is heavily broken. Your test document fails
even with this fix with 
	\listofalgorithmes undefined
Arggggg.

I am not sure if this will be ever fixed, I took a look at the 
-discussion mailing list archives and it seems there is no activity
from the author whatsoever.

Best is probably to send him an email directly and ask him about
inclusion of a fix and how to fix the second problem.

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
which will engulf the
Galaxy in fire and destruction, and possibly bring the
Universe to a premature doom. I mean it,' he added.
with luck I'll be
drunk enough not to notice.'
                 --- Ford ensuring everyone knew where his priorities lay.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy



Reply to: