I'm trying to adapt a University of Chicago LyX dissertation template (see the preamble code below) to my particular citation needs and have found that it only compiles when all citations are (1) in 'default (numerical)' citation style and (2) 'plain' or 'ieeetr' bst (but not 'humannat,' which I'd like to use). When I attempt to employ Natbib and/or a bst file such as humannat, I receive numerous errors like these:
! Paragraph ended before \org@@citex was complete
and
! Paragraph ended before \NAT@@citetp was complete
Being a relatively newcomer to LyX and LaTeX, I'm flummoxed as to why natbib seems to hinder my ability to compile the document.
Here's the master file preamble for your reference. Thanks in advance for your help and expertise!
Code: Select all
Code, edit and compile here:
\RequirePackage{setspace}[1998/04/8]\newcommand{\etptsize}{12pt}\DeclareOption{10pt}{\renewcommand{\etptsize}{10pt}}\DeclareOption{11pt}{\renewcommand{\etptsize}{11pt}}\DeclareOption{12pt}{\renewcommand{\etptsize}{12pt}}\DeclareOption{letterpaper}{\PassOptionsToClass{letterpaper}{report}}\newcommand{\etspacing}{\setstretch{1.37}}\DeclareOption{truedoublespace}{\renewcommand{\etspacing}{\doublespacing}}\DeclareOption{doublespace}{\renewcommand{\etspacing}{\setstretch{1.37}}}\DeclareOption{onehalfspace}{\renewcommand{\etspacing}{\onehalfspacing}}\DeclareOption{singlespace}{\renewcommand{\etspacing}{\singlespacing}}\newcommand{\etchapterheadstyle}[1]{\MakeUppercase{#1}}\DeclareOption{plainchapterheads}{\renewcommand{\etchapterheadstyle}[1]{#1}}\DeclareOption*{%\PassOptionsToClass{\CurrentOption}{report}}\ProcessOptions\relax\RequirePackage[splitrule]{footmisc}%\setlength{\footnotesep}{\baselineskip}\let\oldfootnoterule = \footnoterule\renewcommand{\footnoterule}{\kern 0.4\footnotesep\oldfootnoterule\kern-0.4\footnotesep}\renewcommand{\@makefntext}[1]{\noindent\makebox[2.5em][r]{\@thefnmark.\ }#1}\AtBeginDocument{\DeclareMathSizes{12}{12}{10}{8}}\etspacing\newcommand{\dedication}{\chapter*{}\thispagestyle{empty}}\def\makecopyright{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn