Package: abntex
Version: 0.8.2-2
Severity: important

Hi!

Today while using abntex with the float package, I saw one problem.
After doing a "pdflatex test.tex" (test.tex attached) I've got:

(...)
Writing index file test.idx
(./test.aux) (./test.toc) [1{/var/lib/texmf/dvips/config/pdftex.map}]
! TeX capacity exceeded, sorry [parameter stack size=5000].
[EMAIL PROTECTED] #1#2->
               \ifthenelse {\boolean {ABNTNextOutOfTOC}} {\markboth {\ABNTne...
l.17 \listof{code}{List of Codes}
                                 
!  ==> Fatal error occurred, the output PDF file is not finished!
Transcript written on test.log.

test.log is also attached.

Changing the line:
\documentclass[a4paper,12pt]{abnt}
to
\documentclass[a4paper,12pt]{report}
the PDF is generated perfectly (so the problem is not on report category
or on the float package, but on abntex).

At first time I thought that it was an internal error on Latex (I have
changed the stack size, but the error still happens).
It looks some kind of incompatibility with the float package.

The problem happens using tetex-base version 2.0.2c-7 and tetex-bin
version 2.0.2-28, also with versions 3.0-10 and 3.0-10.1.

Sorry but I don't understand the internals of abntex and tetex, so I
can't help more.

Thank you very much!

Nelson

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.13-rc5-mm1
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored: LC_ALL set to 
pt_BR)

Versions of packages abntex depends on:
ii  tetex-bin                     3.0-10.1   The teTeX binary files
ii  tetex-extra                   3.0-10     Additional library files of teTeX

abntex recommends no packages.

-- no debconf information
\documentclass[a4paper,12pt]{abnt}
\usepackage[brazil]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fancyvrb}
\usepackage{float}

\floatstyle{plain}
\newfloat{code}{tbp}{lop}[section]
\floatname{code}{Code}

\makeindex

\begin{document}

\tableofcontents
\listof{code}{List of Codes}
\chapter{Test}

Example.

\begin{code}[H]
\begin{Verbatim}[frame=single]
  int test();
\end{Verbatim}
\caption{An example.}
\end{code}

\end{document}
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=pdflatex 2005.11.9)  23 NOV 2005 02:13
entering extended mode
**test.tex
(./test.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, catalan, croatian, czech, danish, dutch, finnish, greek, iceland
ic, irish, italian, latin, magyar, norsk, norsk, portuges, romanian, russian, s
lovak, slovene, spanish, swedish, turkish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/abntex/abnt.cls
(/usr/share/texmf/tex/latex/abntex/cvs-id.def)
Document Class: abnt 2004/11/02 v1.27.2.1 Classe abnt (NBR6024, NBR6027, NBR602
8, NBR14724)
(/usr/share/texmf/tex/latex/base/ifthen.sty
Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
)
(/usr/share/texmf/tex/latex/tools/calc.sty
Package: calc 1998/07/07 v4.1b Infix arithmetic (KKT,FJ)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
LaTeX Info: Redefining \setlength on input line 59.
LaTeX Info: Redefining \addtolength on input line 60.
[EMAIL PROTECTED]
)
(/usr/share/texmf/tex/latex/tools/multicol.sty
Package: multicol 2000/07/10 v1.5z multicolumn formatting (FMi)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\multicoltolerance=\count86
\multicolpretolerance=\count87
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\premulticols=\dimen107
\postmulticols=\dimen108
\multicolsep=\skip43
\multicolbaselineskip=\skip44
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\multicolovershoot=\dimen110
\multicolundershoot=\dimen111
[EMAIL PROTECTED]@firstbox=\box50
[EMAIL PROTECTED]
)
(/usr/share/texmf/tex/latex/base/report.cls
Document Class: report 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size12.clo
File: size12.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\abovecaptionskip=\skip45
\belowcaptionskip=\skip46
\bibindent=\dimen112
)
(/usr/share/texmf/tex/latex/misc/setspace.sty
Package: setspace 2000/12/01 6.7 Contributed and Supported LaTeX2e package

Package: `setspace' 6.7 <2000/12/01>
)
\ABNTanapindent=\skip47
\ABNTsignwidth=\skip48
\ABNTsignthickness=\skip49
\ABNTsignskip=\skip50
 (/usr/share/texmf/tex/latex/tools/indentfirst.sty
Package: indentfirst 1995/11/23 v1.03 Indent first paragraph (DPC)
))
(/usr/share/texmf/tex/generic/babel/babel.sty
Package: babel 2001/03/01 v3.7h The Babel package

(/usr/share/texmf/tex/generic/babel/portuges.ldf
Language: portuges 2001/02/16 v1.2o Portuguese support from the babel system

(/usr/share/texmf/tex/generic/babel/babel.def
File: babel.def 2001/03/01 v3.7h Babel common definitions
[EMAIL PROTECTED]
[EMAIL PROTECTED]
)
[EMAIL PROTECTED] = a dialect from [EMAIL PROTECTED] 
Package babel Info: Making " an active character on input line 126.
))
(/usr/share/texmf/tex/latex/base/inputenc.sty
Package: inputenc 2001/07/10 v0.99a Input encoding file 

(/usr/share/texmf/tex/latex/base/latin1.def
File: latin1.def 2001/07/10 v0.99a Input encoding file 
))
(/usr/share/texmf/tex/latex/base/fontenc.sty
Package: fontenc 2001/06/05 v1.94 Standard LaTeX package

(/usr/share/texmf/tex/latex/base/t1enc.def
File: t1enc.def 2001/06/05 v1.94 Standard LaTeX file
LaTeX Font Info:    Redeclaring font encoding T1 on input line 38.
))
(/usr/share/texmf/tex/latex/fancyvrb/fancyvrb.sty
Package: fancyvrb 2000/03/21

Style option: `fancyvrb' v2.7, with DG/SPQR fixes <2000/03/21> (tvz)
(/usr/share/texmf/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
[EMAIL PROTECTED]@=\toks14
)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
)
(/usr/share/texmf/tex/latex/misc/float.sty
Package: float 2001/11/08 v1.3d Float enhancements (AL)
[EMAIL PROTECTED]@type=\count103
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]@everytoks=\toks16
[EMAIL PROTECTED]
)
[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\openout4 = `test.idx'.


Writing index file test.idx
(./test.aux)
\openout1 = `test.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <12> on input line 16.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <8> on input line 16.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <6> on input line 16.
 (./test.toc)
[EMAIL PROTECTED]
\openout5 = `test.toc'.

 [1


{/var/lib/texmf/dvips/config/pdftex.map}]
! TeX capacity exceeded, sorry [parameter stack size=5000].
[EMAIL PROTECTED] #1#2->
               \ifthenelse {\boolean {ABNTNextOutOfTOC}} {\markboth {\ABNTne...
l.17 \listof{code}{List of Codes}
                                 
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.

 
Here is how much of TeX's memory you used:
 1727 strings out of 94960
 21692 string characters out of 1182470
 400448 words of memory out of 1000001
 4860 multiletter control sequences out of 10000+50000
 9387 words of font info for 27 fonts, out of 500000 for 1000
 198 hyphenation exceptions out of 1000
 3005i,4n,5002p,186b,110s stack positions out of 30000i,500n,5000p,200000b,5000s
 5 PDF objects out of 300000
 0 named destinations out of 131072
 0 words of extra memory for PDF output out of 65536
!  ==> Fatal error occurred, the output PDF file is not finished!

Reply via email to