I'm a beginning user, so I think the answer to my problem might be simple, but I just can't figure it out. Every time I compile using PDFLaTeX (written in WinEdt, using MiKTeX) I get an error that
\begin{document}
is missing even though it is there. Here is the code and the error:
Code: Select all
\documentclass[12pt,a4paper,titlepage]{article}
\usepackage{graphicx}
\usepackage{booktabs}
\title{The Returns to University Education in Turkey by Disciplines}
\author{by Eileen Joyce McGivney}
\linespread{1.3}
\begin{document}
\maketitle
\tableofcontents
\section{Introduction}
Code: Select all
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.1 ï
»¿\documentclass[12pt,a4paper,titlepage]{article}
?
Missing character: There is no ï in font nullfont!
Missing character: There is no » in font nullfont!
Missing character: There is no ¿ in font nullfont!
From what I have read in other answers to this problem, either I have typed something wrong (left out a
\
or something), or there is some problem with "BOM"s. I can't find any mistakes in my typing, and all the other advice I have read is pretty over my head. If this is a dumb question, I'm sorry, just a beginner. Also, I chose this forum because it appears to be a problem with the page formatting at the beginning but if I should post somewhere else please let me know.Thanks in advance for any advice!
Eileen