--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: tetex-extra: float.sty: \listof broken under amsart.cls
- From: Braun Gabor <braung@renyi.hu>
- Date: Mon, 24 Oct 2005 16:35:57 +0200
- Message-id: <20051024143557.GA22262@renyi.hu>
Package: tetex-extra
Version: 2.0.2c-8
Severity: normal
*** Please type your report below this line ***
Latex produces a mysterious "Missing }" error on the input file
below. See the attached log file.
Simply replacing "amsart" with "article" in the input file works
fine.
The following patch seems to work but is not perfect, because in the
list of floats one has dots between the name and page number, while
for table of contents, list of figures and tables amsart does not
put dots.
--- /usr/share/texmf/tex/latex/amscls/amsart.cls 2000-10-26 21:29:04.000000000 +0200
+++ amsart.cls 2005-10-24 16:15:45.622874360 +0200
@@ -1045,7 +1045,8 @@
\newswitch{lof}
\newswitch{lot}
\newcommand\contentsnamefont{\scshape}
-\def\@starttoc#1#2{\begingroup
+\newcommand\@dotsep{4.5}
+\def\ams@starttoc#1#2{\begingroup
\setTrue{#1}%
\par\removelastskip\vskip\z@skip
\@startsection{}\@M\z@{\linespacing\@plus\linespacing}%
@@ -1066,10 +1067,10 @@
\def\listfigurename{List of Figures}
\def\listtablename{List of Tables}
\def\tableofcontents{%
- \@starttoc{toc}\contentsname
+ \ams@starttoc{toc}\contentsname
}
-\def\listoffigures{\@starttoc{lof}\listfigurename}
-\def\listoftables{\@starttoc{lot}\listtablename}
+\def\listoffigures{\ams@starttoc{lof}\listfigurename}
+\def\listoftables{\ams@starttoc{lot}\listtablename}
\AtBeginDocument{%
\@for\@tempa:=-1,0,1,2,3\do{%
\@ifundefined{r@tocindent\@tempa}{%
The idea behind the patch is:
1) I guess that the major problem is that amsart.cls redefines
\@starttoc to have 2 mandatory arguments instead of 1.
Fix: use a new macro instead of \@starttoc.
(I used \ams@starttoc.)
2) float.sty and amsart.cls formats list of floats differently.
In particular float.sty seems to depend on \@dotsep being
defined. This is why I define \@dotsep.
Best wishes,
Gabor Braun
##################################
minimal input file
\documentclass[12pt,a4paper]{amsart}
\usepackage{float}
\newfloat{float}{htb}{fl}
\begin{document}
\listof{float}{List of floats}
\begin{float}
\caption{Empty float}
\label{fl:empty}
\end{float}
\end{document}
##################################
other files
log file:
This is e-TeX, Version 3.14159-2.1 (Web2C 7.4.5) (format=latex 2005.7.2) 24 OCT 2005 15:14
entering extended mode
**test
(./test.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, german, ngerman, magyar, n
ohyphenation, loaded.
(/usr/share/texmf/tex/latex/amscls/amsart.cls
Document Class: amsart 2000/10/26 v2.08
\linespacing=\dimen102
\normalparindent=\dimen103
\normaltopskip=\skip41
(/usr/share/texmf/tex/latex/amsmath/amsmath.sty
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip42
For additional information on amsmath, use the `?' option.
(/usr/share/texmf/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01
(/usr/share/texmf/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks14
\ex@=\dimen104
))
(/usr/share/texmf/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen105
)
(/usr/share/texmf/tex/latex/amsmath/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count79
LaTeX Info: Redefining \frac on input line 211.
\uproot@=\count80
\leftroot@=\count81
LaTeX Info: Redefining \overline on input line 307.
\classnum@=\count82
\DOTSCASE@=\count83
LaTeX Info: Redefining \ldots on input line 379.
LaTeX Info: Redefining \dots on input line 382.
LaTeX Info: Redefining \cdots on input line 467.
\Mathstrutbox@=\box26
\strutbox@=\box27
\big@size=\dimen106
LaTeX Font Info: Redeclaring font encoding OML on input line 567.
LaTeX Font Info: Redeclaring font encoding OMS on input line 568.
\macc@depth=\count84
\c@MaxMatrixCols=\count85
\dotsspace@=\muskip10
\c@parentequation=\count86
\dspbrk@lvl=\count87
\tag@help=\toks15
\row@=\count88
\column@=\count89
\maxfields@=\count90
\andhelp@=\toks16
\eqnshift@=\dimen107
\alignsep@=\dimen108
\tagshift@=\dimen109
\tagwidth@=\dimen110
\totwidth@=\dimen111
\lineht@=\dimen112
\@envbody=\toks17
\multlinegap=\skip43
\multlinetaggap=\skip44
\mathdisplay@stack=\toks18
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
)
LaTeX Font Info: Try loading font information for U+msa on input line 395.
(/usr/share/texmf/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2002/01/19 v2.2g AMS font definitions
)
(/usr/share/texmf/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2001/10/25 v2.2f
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold'
(Font) U/euf/m/n --> U/euf/b/n on input line 132.
)
\copyins=\insert233
\abstractbox=\box28
\listisep=\skip45
\c@part=\count91
\c@section=\count92
\c@subsection=\count93
\c@subsubsection=\count94
\c@paragraph=\count95
\c@subparagraph=\count96
\c@figure=\count97
\c@table=\count98
\abovecaptionskip=\skip46
\belowcaptionskip=\skip47
\captionindent=\dimen113
\thm@style=\toks19
\thm@bodyfont=\toks20
\thm@headfont=\toks21
\thm@notefont=\toks22
\thm@headpunct=\toks23
\thm@preskip=\skip48
\thm@postskip=\skip49
\thm@headsep=\skip50
\dth@everypar=\toks24
)
(/usr/share/texmf/tex/latex/misc/float.sty
Package: float 2001/11/08 v1.3d Float enhancements (AL)
\c@float@type=\count99
\float@exts=\toks25
\float@box=\box29
\@float@everytoks=\toks26
\@floatcapt=\box30
)
\@float@every@float=\toks27
\c@float=\count100
No file test.aux.
\openout1 = `test.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Try loading font information for U+msa on input line 4.
(/usr/share/texmf/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2002/01/19 v2.2g AMS font definitions
)
LaTeX Font Info: Try loading font information for U+msb on input line 4.
(/usr/share/texmf/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2002/01/19 v2.2g AMS font definitions
)
! Missing } inserted.
<inserted text>
}
l.5 \listof{float}{List of floats}
?
! Extra }, or forgotten \endgroup.
\@sect ...\@svsec }{\interlinepenalty \@M #8\par }
\endgroup \ifnum #2>\@m \e...
l.5 \listof{float}{List of floats}
?
No file test.fl.
\tf@fl=\write3
\openout3 = `test.fl'.
[1] (./test.aux)
LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
)
Here is how much of TeX's memory you used:
1359 strings out of 95734
14664 string characters out of 1194492
61743 words of memory out of 1000001
4240 multiletter control sequences out of 10000+50000
6237 words of font info for 25 fonts, out of 500000 for 1000
175 hyphenation exceptions out of 1000
34i,4n,33p,296b,188s stack positions out of 1500i,500n,5000p,200000b,5000s
Output written on test.dvi (1 page, 376 bytes).
######################################
List of ls-R files
-rw-r--r-- 1 gabor gabor 4939 2005-10-11 15:01 /home/gabor/texmf/ls-R
-rw-rw-r-- 1 root staff 79 2005-10-21 20:17 /usr/local/share/texmf/ls-R
-rw-rw-r-- 1 root staff 91 2005-10-21 20:17 /usr/local/lib/texmf/ls-R
-rw-rw-r-- 1 root users 975 2005-10-24 08:27 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 2005-05-29 17:45 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9.20041228
Locale: LANG=hu_HU.iso88592, LC_CTYPE=hu_HU.iso88592 (charmap=ISO-8859-2) (ignored: LC_ALL set to hu_HU.iso88592)
Versions of packages tetex-extra depends on:
ii dpkg 1.10.28 Package maintenance system for Deb
ii gsfonts 8.14+v8.11+urw-0.2 Fonts for the Ghostscript interpre
ii tetex-base 2.0.2c-8 Basic library files of teTeX
ii tetex-bin 2.0.2-30 The teTeX binary files
ii ucf 1.17 Update Configuration File: preserv
-- no debconf information
--- End Message ---
--- Begin Message ---
- To: 396322-done@bugs.debian.org, 290930-done@bugs.debian.org, 259390-done@bugs.debian.org, 220870-done@bugs.debian.org, 207810-done@bugs.debian.org, 413045-done@bugs.debian.org, 434056-done@bugs.debian.org, 373605-done@bugs.debian.org, 367261-done@bugs.debian.org, 335537-done@bugs.debian.org, 306586-done@bugs.debian.org, 232850-done@bugs.debian.org, 227301-done@bugs.debian.org, 95980-done@bugs.debian.org, 63797-done@bugs.debian.org, 259200-done@bugs.debian.org, 204357-done@bugs.debian.org, 626521-done@bugs.debian.org, 548526-done@bugs.debian.org, 512254-done@bugs.debian.org, 509037-done@bugs.debian.org, 470208-done@bugs.debian.org, 434706-done@bugs.debian.org, 406534-done@bugs.debian.org, 388592-done@bugs.debian.org, 351825-done@bugs.debian.org, 577742-done@bugs.debian.org, 499422-done@bugs.debian.org, 421574-done@bugs.debian.org, 286686-done@bugs.debian.org, 635525-done@bugs.debian.org, 493215-done@bugs.debian.org, 475746-done@bugs.debian.org, 577787-done@bugs.debian.org, 576685-done@bugs.debian.org, 569576-done@bugs.debian.org, 559887-done@bugs.debian.org, 551229-done@bugs.debian.org, 548825-done@bugs.debian.org, 466403-done@bugs.debian.org, 459438-done@bugs.debian.org, 435543-done@bugs.debian.org, 289848-done@bugs.debian.org, 469450-done@bugs.debian.org
- Cc: debian-tex-maint@lists.debian.org
- Subject: Closing old and upstream bugs
- From: Norbert Preining <preining@logic.at>
- Date: Tue, 10 Sep 2013 11:09:38 +0900
- Message-id: <20130910020938.GH30160@gamma.logic.tuwien.ac.at>
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 ---