Tex Capacity Exceeded Sorry Input Stack Size 5000 Bibliography

On By In 1

A year ago when I finished my dissertation at UBC I posted a complete set of LaTeX files for generating a manuscript-based thesis (bibliographies separate for each chapter, etc) in which each chapter is a separate file in LaTeX. (This is useful for being able to compile each chapter into its paper form from the same file.) [Update: 2011: I believe UBC has recently eliminated the manuscript-based thesis option]

But I had given up on the hope of writing the whole dissertation in LyX. I am now posting a (trivial) LyX layout file that can be used with Michael McNeil Forbes’ ubcthesis class to write your entire dissertation/thesis in LyX, rather than LaTeX source code.

So, at least if you are not doing a manuscript-based thesis, you can write it all in LyX. This is all you need:

Download and unzip my ubcthesislyx.zip [Updated May 2013].  In the resulting folder you can, if you wish, update the  ubcthesis.cls and genthesis.cls and the other files (linked from the UBC grad studies page).  In any case, you can now just launch ubcsamplelyx.lyx in LyX and bingo! You can see the resulting sample PDF.

The trick here is that most of the extra defined stuff for ubcthesis is not dealt with in the .layout file, and therefore by LyX. Instead, most of these definitions come in the LaTeX preamble and are kept for simplicity in the LyX preamble. So visit Document-Settings-Preamble within LyX to change all the front matter settings.

Let me know if you make use of it (or make improvements), please.

Like this:



This entry was posted in software and tagged LaTeX, LyX, UBC dissertation, UBC thesis, ubcthesis. Bookmark the permalink.

Das funktioniert leider nicht. Das PDF enthält: ? ? ?

Ich benutzte Texmaker 3.0.2
Copyright (c) 2003-2011 by Pascal Brachet und unter Editoroptionen ist utf8 ausgewählt.

Meine tex sieht so aus:


%% | Information for PDF file |

pdfauthor={Tim Jeck},
pdftitle={A Macroeconomic Approach to identify the Sales Potential in Developing Countries for Investments by Roche Diagnostics Diabetes Care},
pdfsubject={Not set},
pdfkeywords={Not set}

%% | Information about the thesis |

\newcommand{\myname}{Tim Jeck}
\newcommand {\mytitle}{\huge{A Macroeconomic Approach to identify the Sales Potential in Developing Countries for Investments}
\Large{A Critical Review on the use of Macroeconomic Data for the Budgeting Process at the Diabetes Care Agencies Business Unit}}
\newcommand{\myinstitute}{Institute for International Economic Policy\\ and Economy Research}
\newcommand{\timestart}{1. July 201}
\newcommand{\timeend}{30. September 2011}
\newcommand{\submissiontime}{30. 09. 2011}

%% | Including files |


%% ---------------------------------
%% | Abkürzungsverzeichnis |
%% ---------------------------------
%%Beispiel \nomenclature{$WZM$}{Werkzeugmaschine}

%% Here, main documents begins %%

%% -------------------
%% | Directories |
%% -------------------
%% -----------------
%% | Main part |
%% -----------------

%% --------------------
%% | Bibliography |
%% --------------------
% Use IEEEtran for numeric references

%% ----------------
%% | Appendix |
%% ----------------


Danke für eure Mühen! Ich will so ungerne mit Word schreiben, aber wenn ich das nicht hinbekomme, dann muss ich wohl o_O


Leave a Reply

Your email address will not be published. Required fields are marked *