Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to test this template http://students.engr.scu.edu/~sschaeck/latexforthesis/.

when i run the makefile i get this error .Please what does it mean this error

here the code :

\documentclass[12pt]{thesis} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%% preample %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%% packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\usepackage[T1]{fontenc}        % euro quality fonts [T1] (togeth. w/ textcomp)
\usepackage{textcomp, amssymb}  % additional symbols (there are more packages)
\usepackage[latin1]{inputenc}   % umlaute in input file
\usepackage{setspace}           % doublespacing
\usepackage{anysize}            % margin package sets tighter margins
\usepackage[all]{xy}            % creating figures within latex
\usepackage[tight]{subfigure}% subfigures: figures within figures

%\marginsize{1.2in}{0.9in}{1.1in}{0.9in} % small margins
\marginsize{1.2in}{0.9in}{0.5in}{1.5in} % small margins

\usepackage{ifpdf}              % if pdflatex then ... else ...
\ifpdf
  \pdfadjustspacing=1           % make pdflatex behave like latex
  \usepackage{aeguill}          % PS converted CM fonts for better acro preview
  \usepackage[pdftex]{graphicx} % graphics packages
  \usepackage[pdftex]{color}    % color packages
  \usepackage[pdftex]{thumbpdf} % create thumbnails (run thumbpdf as well)
  \usepackage[pdftex,colorlinks,%
              pagebackref=true, % bibliography -> text
              linktocpage=true, % toc etc: make page number active (not name)
              plainpages=false, % distinguish roman and arabic pagenumbers
              bookmarksopen=true,%
              bookmarksnumbered=true,%
              pdfauthor={Stefan Sch�ckeler},%
              pdftitle={Lorem Ipsum Dolor Sit Amet},% 
              pdfsubject={PhD Thesis},%
              pdfkeywords={Embedded Systems, Code Compaction},%
             ]{hyperref}        % clickabe references
\else
  \usepackage[hypertex,
              plainpages=false, % distinguish roman and arabic pagenumbers
              linktocpage=true, % toc etc: make page number active (not name)
             ]{hyperref}        % clickabe references in .dvi
                                % purposely included before color package
  \usepackage[dvips]{color}     % color packages; needed by xy
  \usepackage[dvips]{graphicx}  % graphics packages
\fi


% hyperref must be the second last package and glossary the last package

% index
\usepackage{makeidx}                       % for \printindex
\makeindex                                 % creates paper.idx index file

% glossary
\usepackage[style=super, cols=3]{glossary} % for \printclossary
\makeglossary                              % creates paper.glo glossary file


%%% style and finetuning %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\pagestyle{plain}               % pagestyle: headings, empty, plain

% new theorems
\newtheorem{example}{Example}
\newtheorem{proof}{Proof}


%%% document %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

\pagenumbering{roman} % titlepage does not get a number - that's odd, but good.

\ifpdf\pdfbookmark[1]{Title}{label:title}\fi              \input{titlepage.tex}

\newpage                                                     \input{spruch.tex}

{\doublespacing
\newpage\ifpdf\pdfbookmark[1]{Acknowledgement}{label:ack}\fi\input{acknowledge.tex}
\newpage\ifpdf\pdfbookmark[1]{Abstract}{label:abst}\fi     \input{abstract.tex}
}

\newpage\ifpdf\pdfbookmark[1]{Table of Contents}{label:toc}\fi \tableofcontents
\newpage\ifpdf\pdfbookmark[1]{List of Figures}{label:lof}\fi     \listoffigures
\newpage\ifpdf\pdfbookmark[1]{List of Tables}{label:lot}\fi       \listoftables

{\doublespacing
\newpage\pagenumbering{arabic}

\newpage\input{body.tex}


% Bibliography and Glossary          (\phantomsection is needed for hyperlinks)

\newpage\phantomsection%
\addcontentsline{toc}{chapter}{\bibname}              % add Bibliography to TOC
\bibliographystyle{alpha}\bibliography{references}


\newpage\phantomsection%
\addcontentsline{toc}{chapter}{\indexname}                   % add Index to TOC
\printindex

\newpage\phantomsection%
\addcontentsline{toc}{chapter}{Glossary}                  % add Glossary to TOC
\printglossary

\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

the error it at the else .

Package thumbpdf Warning: Thumbnail data file `thesis.tpt' not found.

)
! TeX capacity exceeded, sorry [input stack size=5000].
\curr@fontshape ->\f@encoding 
                              /\f@family /\f@series /\f@shape 
l.38 \else

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:
 4193 strings out of 495285
 52396 string characters out of 3180406
 331427 words of memory out of 3000000
 7339 multiletter control sequences out of 15000+200000
 7342 words of font info for 24 fonts, out of 3000000 for 9000
 14 hyphenation exceptions out of 8191
 5000i,0n,9994p,231b,80s stack positions out of 5000i,500n,10000p,200000b,50000s
!  ==> Fatal error occurred, no output PDF file produced!
share|improve this question
    
I don't get any error, only a warning about an open brace without the matching one (it's before one \doublespacing command). –  egreg Jul 27 '12 at 12:57
    
Hi ,:( i don't know why does not work for me do you think this is a problem with Texmaker editor? please can you try with PdfLaTex –  WOW Jul 27 '12 at 13:07
    
@WOW - I don't get a "TeX capacity exceeded" error message either when I try to compile this file under pdflatex, running TeXLive2012. Which TeX distribution do you use? –  Mico Jul 27 '12 at 13:31
    
I did try with pdflatex. –  egreg Jul 27 '12 at 13:36
    
Mico I use Miktex. –  WOW Jul 27 '12 at 13:40
add comment

2 Answers

up vote 4 down vote accepted

I get the same error with MikTeX 2.9, WinEdt 7 on Win 7. There is an undefined char (german umlaut?) in the pdfauthor property. If you remove/replace this character LaTeX runs until the \newtheorem{example}{Example} definition. Here one get the error that \example is already defined. Rename it and LaTeX compiles the whole document.

share|improve this answer
add comment

I've got a similar problem when trying to include a previous text I wrote to a new latex project. In my case I found it was due to the size of the caption text of the figures. I reduced the amount of text inside the caption and it worked.

share|improve this answer
    
Welcome to TeX.sx! –  Peter Jansson Mar 6 '13 at 14:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.