I've been long having problems when trying to use Harvard dcu style in my dissertation. I've never took the time to analyze it, as plain style works fine, so I've been leaving this for the last steps.
Today I paid some attention to the issue, and haven't been able to resolve it.
Haven't found anything directly related searching the forum or the web, and tweaking the stack values in the conf file didn't improve the outcome.
Therefore, I decided to post here to see if people more savvy than me could help me out with my problem.
Take the following test tex file as input, for instance:
Code: Select all
\documentclass[10pt,a4paper,pdftex]{book}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage[dcucite]{harvard}
\begin{document}
\section{TEST}
Just a bunch of references:
\cite{Mellor2004}
\cite{Mellor2004}
\cite{Hessellund2009,Kelly2008,Mellor2004}
Let me put some text around here.
\cite{Brown2005}
\cite{Mellor2004}
\cite{Kelly2008}
\cite{Mellor2004}.
Some more text.
\cite{Kleppe2003}
\cite{Mellor2004}
\cite{Miller2003}
\cite{Kleppe2003}
\cite{Mellor2004}
\cite{Kleppe2003}
\cite{Ameller2009}
%------------------------ Back matter ------------------------
\backmatter
\bibliographystyle{dcu}
%\bibliographystyle{plain}
\bibliography{Test_Biblio}
%\bibliography{Biblio_Capitulo_MD}
\end{document}
If I count correctly, that's 7 different references, some of them repeated multiple times.
Running PDFLaTeX on this file causes a:
Code: Select all
! TeX capacity exceeded, sorry [input stack size=30000].
The plain style works fine even on the whole dissertation (350+ refs), the Harvard style is not working with this few.
Here's what I did already, to no avail:
-Multiplied by ten the value of the stacks (stack_size, ocp_stack_size) in /usr/share/texmf/web2c/texmf.cnf, couldn't find any variable with the stated limit (30000).
-Reinstalled texlive-bibtex-extra.
-Remade the bib file.
Any ideas on what can be the cause of the problem?.
I'm running Kile 2.0.85 in Kubuntu 11.04.
I attach the bib file:
Code: Select all
@book{Mellor2004,
author = {Mellor, Stephen J. and Scott, Kendall and Weise, Dirk},
isbn = {0201788918},
pages = {150},
publisher = {Addison-Wesley},
title = {{MDA distilled: principles of model-driven architecture}},
year = {2004}
}
@phdthesis{Hessellund2009,
author = {Hessellund, Anders},
school = {IT University of Copenhagen},
title = {{Domain-Specific Multimodeling}},
year = {2009}
}
@book{Kelly2008,
address = {Hoboken, New Jersey, USA},
author = {Kelly, Steven and Tolvanen, Juha-Pekka},
isbn = {0470036664},
pages = {427},
publisher = {Wiley-IEEE},
title = {{Domain-specific modeling: enabling full code generation}},
year = {2008}
}
@inbook{Brown2005,
address = {Berlin/Heidelberg},
author = {Brown, Alan W. and Conallen, Jim and Tropeano, Dave},
booktitle = {Model-Driven Software Development},
chapter = {1},
doi = {10.1007/3-540-28554-7},
isbn = {3-540-25613-X},
pages = {1--16},
publisher = {Springer-Verlag},
title = {{Introduction: Models, Modeling, and Model-Driven Architecture (MDA)}},
year = {2005}
}
@book{Kleppe2003,
address = {Boston, Massachusetts, USA},
author = {Kleppe, Anneke G. and Warmer, Jos B. and Bast, Wim},
isbn = {032119442X},
pages = {170},
publisher = {Addison-Wesley},
title = {{MDA explained: the model driven architecture : practice and promise}},
year = {2003}
}
@misc{Miller2003,
author = {Miller, J and Mukerji, J},
booktitle = {Object Management Group},
institution = {Object Management Group},
number = {June},
publisher = {OMG},
title = {{MDA Guide Version 1.0.1}},
url = {http://www.omg.org/cgi-bin/doc?omg/03-06-01},
volume = {2004},
year = {2003}
}
@phdthesis{Ameller2009,
author = {Ameller, David},
school = {Universitat Polit\`{e}cnica de Catalunya},
title = {{Considering Non-Functional Requirements in Model-Driven Engineering}},
type = {Master},
year = {2009}
}
Code: Select all
*****
***** BibTeX output:
***** cd "/home/Datos/Trabajo/Thesis/Proyecto_Tex/USB/INTEGRADOR"
***** bibtex 'INTEGRADOR_Prueba'
*****
This is BibTeX, Version 0.99c (TeX Live 2009/Debian)
The top-level auxiliary file: INTEGRADOR_Prueba.aux
The style file: dcu.bst
Database file #1: Test_Biblio.bib
*****
***** PDFLaTeX output:
***** cd "/home/Datos/Trabajo/Thesis/Proyecto_Tex/USB/INTEGRADOR"
***** pdflatex -interaction=nonstopmode 'INTEGRADOR_Prueba.tex'
*****
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
(./INTEGRADOR_Prueba.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.
(/usr/share/texmf-texlive/tex/latex/base/book.cls
Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/bk10.clo))
(/usr/share/texmf-texlive/tex/generic/babel/babel.sty
(/usr/share/texmf-texlive/tex/generic/babel/english.ldf
(/usr/share/texmf-texlive/tex/generic/babel/babel.def)))
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def)) (./harvard.sty
(/usr/share/texmf-texlive/tex/latex/base/ifthen.sty)
(/usr/share/texmf/tex/latex/html/html.sty
(/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty)
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf-texlive/tex/latex/oberdiek/hycolor.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/xcolor-patch.sty))
(/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf-texlive/tex/generic/oberdiek/etexcmds.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty))
(/etc/texmf/tex/latex/config/hyperref.cfg)
(/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty))
Implicit mode ON; LaTeX internals redefined
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/bitset.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/intcalc.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/bigintcalc.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/pdftexcmds.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifluatex.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/share/texmf-texlive/tex/generic/oberdiek/atbegshi.sty))
*hyperref using driver hpdftex*
(/usr/share/texmf-texlive/tex/latex/hyperref/hpdftex.def)))
(./INTEGRADOR_Prueba.aux)
(/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty))
(./INTEGRADOR_Prueba.out) (./INTEGRADOR_Prueba.out) [1{/home/jp/.texmf-var/font
s/map/pdftex/updmap/pdftex.map}] [2] (./INTEGRADOR_Prueba.bbl
! TeX capacity exceeded, sorry [input stack size=30000].
\hmode@bgroup ->\leavevmode
\bgroup
l.42
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on INTEGRADOR_Prueba.log.
Thanks in advance.
Regards,
Barba