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

Bug#670163: marked as done (texlive-science: [algorithm2e] \KwFrom is documented but not implemented)



Your message dated Tue, 10 Sep 2013 11:34:51 +0900
with message-id <20130910023451.GL30160@gamma.logic.tuwien.ac.at>
and subject line Closing old and upstream bugs
has caused the Debian Bug report #670163,
regarding texlive-science: [algorithm2e] \KwFrom is documented but not implemented
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
670163: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670163
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: texlive-science
Version: 2011.20120322-1
Severity: normal

Hi,

The latest version of the algorithm2e package's documentation mentions
the keyword \KwFrom (page 10, section 6, in the onelanguage option
description), but it doesn't seem to be implemented. When used,
compilation fails with the following error:

! Undefined control sequence.
<argument> i \KwFrom 
                     0 \KwTo 42
l.13 }

The \KwFrom keyword would actually be very useful to declare \For loops
(please see the attached example file), so I suggest implementing it and
documenting it in the section 9 of the documentation (“The predefined
language keywords”).

Cheers,
  Matteo


##################################
minimal input file
kwfrom.tex


##################################
attached log files:
kwfrom.log
kwfrom.fls


######################################
 List of ls-R files

-rw-r--r-- 1 root root 1739 Apr 18 12:04 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Apr 14 01:43 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 Apr 10 10:09 /usr/share/texlive/texmf/ls-R -> /var/lib/texmf/ls-R-TEXLIVEMAIN
-rw-rw-r-- 1 root staff 80 Jan  3 11:10 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 31 Apr 10 10:09 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Apr 10 10:09 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Apr 10 10:09 /usr/share/texlive/texmf/ls-R -> /var/lib/texmf/ls-R-TEXLIVEMAIN
######################################
 Config files
-rw-r--r-- 1 root root 838 Apr 18 12:03 /etc/texmf/web2c/texmf.cnf
-rw-r--r-- 1 root root 5874 Apr 18 12:04 /var/lib/texmf/web2c/fmtutil.cnf
lrwxrwxrwx 1 root root 32 Apr 10 10:09 /usr/share/texmf/web2c/updmap.cfg -> /var/lib/texmf/updmap.cfg-DEBIAN
-rw-r--r-- 1 root root 3731 Apr 18 12:04 /var/lib/texmf/tex/generic/config/language.dat
######################################
 Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root 283 Nov 10  2008 mktex.cnf
-rw-r--r-- 1 root root 838 Apr 18 12:03 texmf.cnf
######################################
 md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c  /etc/texmf/texmf.d/00debian.cnf
1df66bc319cec731e202eaf39f5d85e1  /etc/texmf/texmf.d/96JadeTeX.cnf

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages texlive-science depends on:
ii  dpkg                1.16.2
ii  tex-common          3.8
ii  texlive-binaries    2011.20120410-1
ii  texlive-common      2011.20120410-1
ii  texlive-latex-base  2011.20120410-1

Versions of packages texlive-science recommends:
ii  texlive-science-doc  2011.20120322-1

texlive-science suggests no packages.

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]  1.5.42
ii  dpkg                   1.16.2
ii  ucf                    3.0025+nmu3

Versions of packages tex-common suggests:
ii  debhelper  9.20120419

Versions of packages texlive-science is related to:
ii  tex-common        3.8
ii  texlive-binaries  2011.20120410-1

-- debconf information:
  tex-common/check_texmf_wrong:
  tex-common/check_texmf_missing:
\documentclass{article}

\usepackage{algorithm2e}
% This is needed:
%\SetKw{KwFrom}{from}

\begin{document}
\section{This is a test}

\begin{algorithm}[htbp]
\For {i \KwFrom 0 \KwTo 42} {
	do something \;
}
\caption{Test algorithm}
\end{algorithm}

\end{document}
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2012/dev/Debian) (format=pdflatex 2012.4.18)  23 APR 2012 17:18
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**kwfrom.tex
(./kwfrom.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, fr
ench, basque, loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texlive/texmf-dist/tex/latex/algorithm2e/algorithm2e.sty
Package: algorithm2e 2008/00/00 v3.10 algorithms environments
\c@AlgoLine=\count87

(/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty
Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
)
(/usr/share/texlive/texmf-dist/tex/latex/tools/xspace.sty
Package: xspace 2009/10/20 v1.13 Space after command names (DPC,MH)
)
(/usr/share/texlive/texmf-dist/tex/latex/relsize/relsize.sty
Package: relsize 2011/09/21 ver 4.0

Examine \normalsize starts \@setfontsize size may be \@xpt. 
Examine \small starts \@setfontsize size may be \@ixpt. 
Examine \footnotesize starts \@setfontsize size may be \@viiipt. 
Examine \large starts \@setfontsize size may be \@xiipt. 
Examine \Large starts \@setfontsize size may be \@xivpt. 
Examine \LARGE starts \@setfontsize size may be \@xviipt. 
Examine \scriptsize starts \@setfontsize size may be \@viipt. 
Examine \tiny starts \@setfontsize size may be \@vpt. 
Examine \huge starts \@setfontsize size may be \@xxpt. 
Examine \Huge starts \@setfontsize size may be \@xxvpt. )
********************************************************
Package `algorithm2e' Release 4.01 -- december 14 2009 --
- algorithm2e-announce@lirmm.fr mailing list for announcement about releases
- algorithm2e-discussion@lirmm.fr mailing list for discussion about package
subscribe by emailing sympa@lirmm.fr with 'subscribe <list> <firstname name>'
- Author: Christophe Fiorio (fiorio@lirmm.fr)
********************************************************
\skiptotal=\skip43
\skiplinenumber=\skip44
\skiprule=\skip45
\skiphlne=\skip46
\skiptext=\skip47
\skiplength=\skip48
\algomargin=\skip49
\skipalgocfslide=\skip50
\algowidth=\dimen103
\inoutsize=\dimen104
\inoutline=\dimen105
\interspacetitleruled=\dimen106
\interspacealgoruled=\dimen107
\interspacetitleboxruled=\dimen108
\algocf@inoutbox=\box26
\algocf@inputbox=\box27
\AlCapSkip=\skip51
\AlCapHSkip=\skip52
\algocf@nlbox=\box28
\algocf@hangingbox=\box29
\algocf@capbox=\box30
\algoheightruledefault=\skip53
\algoheightrule=\skip54
\algotitleheightruledefault=\skip55
\algotitleheightrule=\skip56
\c@algocfline=\count88
\c@algocfproc=\count89
\c@algocf=\count90
\algocf@algoframe=\box31
\algocf@algobox=\box32
)
No file kwfrom.aux.
\openout1 = `kwfrom.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
! Undefined control sequence.
<argument> i \KwFrom 
                     0 \KwTo 42
l.13 }
      
? q
OK, entering \batchmode...
 [1

{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./kwfrom.aux) ) 
Here is how much of TeX's memory you used:
 1366 strings out of 495032
 17478 string characters out of 3180803
 81729 words of memory out of 3000000
 4625 multiletter control sequences out of 15000+200000
 4899 words of font info for 18 fonts, out of 3000000 for 9000
 14 hyphenation exceptions out of 8191
 23i,8n,23p,184b,361s stack positions out of 5000i,500n,10000p,200000b,50000s
</usr/shar
e/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb></usr/share/texl
ive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/share/texlive/te
xmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texlive/texmf-dis
t/fonts/type1/public/amsfonts/cm/cmti10.pfb>
Output written on kwfrom.pdf (1 page, 42371 bytes).
PDF statistics:
 24 PDF objects out of 1000 (max. 8388607)
 16 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 500000)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)

PWD /home/mc/tmp/test_algorithm2e
INPUT /etc/texmf/web2c/texmf.cnf
INPUT /usr/share/texlive/texmf/web2c/texmf.cnf
INPUT /var/lib/texmf/web2c/pdftex/pdflatex.fmt
INPUT kwfrom.tex
OUTPUT kwfrom.log
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
INPUT /usr/share/texlive/texmf-dist/tex/latex/algorithm2e/algorithm2e.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/algorithm2e/algorithm2e.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/tools/xspace.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/tools/xspace.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/relsize/relsize.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/relsize/relsize.sty
OUTPUT kwfrom.aux
INPUT /usr/share/texlive/texmf-dist/fonts/map/fontname/texfonts.map
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr12.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx10.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmti10.tfm
OUTPUT kwfrom.pdf
INPUT /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map
INPUT kwfrom.aux
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb

--- End Message ---
--- Begin Message ---
Dear bug submitter,

the bug you have submitted against one of the TeX packages concerns
not the Debian packaging of TeX Live, nor the upstream TeX Live 
distribution itself, but Up-upstream, the original author of
the respective package.

TeX Live only collects what authors provide.

Thus, neither we, the Debian TeX Team, nor the Upstream TeX Live team
can fix anything regarding this bug.

Furthermore, the bug you have reported is rather old.

We suggest you to do the following:
* verify that the bug is still present with current TeX Live (2013)
  installation on Debian
* if yes, please report the bug to the *original* author of the TeX
  package, and *not* to upstream TeX Live nor Debian

Other ways to deal with these bugs are requesting help from TeX experts,
your local TeX consultant, or local TeX User Groups. One good place to
ask questions is the newsgroup comp.text.tex, or the StackExchange
website http://tex.stackexchange.com


Thanks a lot for your understanding

Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------

--- End Message ---

Reply to: