KileOnly title page as pdf

Information and discussion about Kile, an integrated LaTeX environment for Linux KDE
Post Reply
LeCzar
Posts: 3
Joined: Thu Apr 10, 2008 7:29 pm

Only title page as pdf

Post by LeCzar »

Hey! I switched from Win/TexNic to Ubuntu/Kile and have a problem with the output: With the following script (report), I only get the title page as output. Does anyone have a clue, why this is happening?

Code: Select all

\documentclass[a4paper,twoside,11pt]{report}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage[authoryear]{natbib}
\bibpunct{(}{)}{;}{a}{,}{,}

\title{The mystery of X}
\author{LeCzar}

\begin{document}
\maketitle
\input{Abstract}
\input{Preface}
\tableofcontents
\cleardoublepage

\clearpage
\addcontentsline{toc}{chapter}{List of Figures}
\listoffigures

\clearpage
\addcontentsline{toc}{chapter}{List of Tables}
\listoftables

\chapter{Introduction}\label{Introduction}
\pagenumbering{arabic}
\input{Introduction}
\chapter{Materials and Methods}\label{Materials and Methods}
\input{MaterialsandMethods}
\chapter{Results}\label{Results}
\input{Results}

\addtocontents{toc}{\protect\vspace*{\baselineskip}}
\addcontentsline{toc}{chapter}{Bibliography}
\nocite{*} 
\bibliographystyle{ecology} 
\bibliography{literature}

\end{document}

A second problem that I have got is the citation commands, which don't work anymore

Code: Select all

\cite{XY}

Code: Select all

\citep{XY}
and

Code: Select all

\citet{XY}
Help! ;)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Only title page as pdf

Post by Stefan Kottwitz »

Hi LeCzar,

welcome to this board!

Do you get any error message or warning? At first sight I recommend to change the third line to

Code: Select all

\usepackage[utf8]{inputenc}
UTF-8 is the standard encoding of Ubuntu Linux.

Stefan
LeCzar
Posts: 3
Joined: Thu Apr 10, 2008 7:29 pm

Only title page as pdf

Post by LeCzar »

Happy to join ;)

Well, the change in input encoding cleared indeed a lot of warnings! :) Still, the output (I click "PDFLatex") is a single title page. No error messages whatsoever:
  • [ViewDVI] masterfile.dvi (kdvi)
    [ViewDVI] finished with exit status 127

    [PDFLaTeX] masterfile.tex => masterfile.pdf (pdflatex)
    [PDFLaTeX] 0 errors, 0 warnings, 0 badboxes
    [PDFLaTeX] Done!
Any clue?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: Only title page as pdf

Post by Stefan Kottwitz »

No clue yet... I removed all of the \input lines, because you did not post those files, so I don't have them to compile. I got 7 pages of pdf output. And I used KILE on Ubuntu Linux too.

Btw. your question is more general than KILE specific, so your post probably will be moved to another subforum, don't be surprised then. Just choose the subforum for your next posting careful. ;)

Check your included external tex files like Abstract.tex. Can you post your logfile?

Stefan
LeCzar
Posts: 3
Joined: Thu Apr 10, 2008 7:29 pm

Only title page as pdf

Post by LeCzar »

No, suddenly it's working! I get the output and it looks okay :D Thanks a lot, although I cannot say what made the difference.

I have another problem using the bibliographystyle 'ecology' ('plain' works fine)

Code: Select all

\usepackage[authoryear]{natbib}
\bibpunct{(}{)}{;}{a}{,}{,}
\bibliographystyle{ecology}
log error messages look like:
  • ./Introduction.tex:2: Citation `Williams05' on page 1 undefined on input line 2.
But I guess I should post that as a new topic, eh? ;)
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Only title page as pdf

Post by Stefan Kottwitz »

LeCzar wrote:But I guess I should post that as a new topic, eh? ;)
Right! ;)

Please give some more information, like your bibliography file and Introduction.tex.

Stefan
Post Reply