I'm getting a strange result when trying to add headers to my document. It compiles fine up to the moment I try to add them in, either with fancyhdr or just \pagestyle{headings}. Then it produces this error:
Code: Select all
! Incomplete \iffalse; all text was ignored after line 1.
<inserted text>
\fi
l.489 \bibliography{bib}
Code: Select all
\bibliographystyle{ametsoc}
\bibliography{bib}
Code: Select all
\documentclass[12pt]{article}
\usepackage{graphicx}
\usepackage{custom}
\usepackage{natbib}
\usepackage{subfig}
\usepackage{fancyhdr}
\oddsidemargin 0.0in
\textwidth 6.5in
\topmargin -0.5in
\textheight 8.5in
\linespread{1.3}
%\pagestyle{fancy}