I really like LaTeX by now 'couse I can make/edit really big and formated documents without heavy IDEs (editors for LaTeX is really light and actually I can edit LaTeX files on every editor ex. my favourite Emacs).
Ok, now about my problem.
I started yesterday learning LaTeX and I have a problem.
It's my LaTeX "code":
Code: Select all
\documentclass[11pt, a4paper]{article}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{titlepage}
\title{Nauka LaTeX'a}
\author{Sueroski}
\date{2010}
\maketitle
\end{titlepage}
\tableofcontents
\newpage
\section{Test}
Witaj mój świecie LaTeX'a ;]
\subsection{Center}
\begin{center}
Ulala ;p
\end{center}
\newpage
\section{Test2}
tests
\end{document}
And when I added these "\newline" code my menu (\tableofcontents) started be blank on first "compilation" (I don't know how this process is named in LaTeX).
It's really strange but when I compile it another time (without code changes... just compilation when pdf/dvi exist) it starting works ok...
And it's problem - what I must change (probably something with \newline) to make it ok on the first compilation?
Greetings
PS I compile it at once to PDF using "pdflatex" is it can make this problem?