Hi,
Thanks for your response,
Have a look if there are error messages in the *.blg file (this is the log file of either bibtex or biber) and if there are error messages or warnings in the *.log file.
file:line:error style messages enabled.
./citation2 .bib:1: LaTeX Error: Missing \begin{document}.
./citation2 .bib:1: ==> Fatal error occurred, no output PDF file produced!
These are the messages of the log file of my bib document. Im not sure why there is an error of 'missing \begin{document}' as I have specified that in the preamble..
this is my preamble..
Code: Select all
\documentclass[a4paper,british]{extreport}
\usepackage{lmodern}
\renewcommand{\sfdefault}{lmss}
\renewcommand{\ttdefault}{lmtt}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{color}
\definecolor{note_fontcolor}{rgb}{0.816406, 0, 0.4375}
\usepackage{babel}
\usepackage{url}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{amsrefs}
\usepackage[unicode=true,pdfusetitle,
bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
breaklinks=true,pdfborder={0 0 0},pdfborderstyle={},backref=false,colorlinks=true]
{hyperref}
\hypersetup{
linkcolor=Core2,citecolor=Core2,filecolor=Core2,urlcolor=Core2}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\special{papersize=\the\paperwidth,\the\paperheight}
\providecommand{\LyX}{\texorpdfstring%
{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
{LyX}}
\newcommand{\noun}[1]{\textsc{#1}}
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%% The greyedout annotation environment
\newenvironment{lyxgreyedout}
{\textcolor{note_fontcolor}\bgroup\ignorespaces}
{\ignorespacesafterend\egroup}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\theoremstyle{plain}
\ifx\thechapter\undefined
\newtheorem{thm}{\protect\theoremname}
\else
\newtheorem{thm}{\protect\theoremname}[chapter]
\fi
\theoremstyle{definition}
\newtheorem{defn}[thm]{\protect\definitionname}
\theoremstyle{definition}
\newtheorem{example}[thm]{\protect\examplename}
\theoremstyle{plain}
\newtheorem{assumption}[thm]{\protect\assumptionname}
\theoremstyle{plain}
\newtheorem{lem}[thm]{\protect\lemmaname}
\theoremstyle{plain}
\newtheorem{prop}[thm]{\protect\propositionname}
\theoremstyle{remark}
\newtheorem{rem}[thm]{\protect\remarkname}
\theoremstyle{plain}
\newtheorem{cor}[thm]{\protect\corollaryname}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage[dvipsnames]{xcolor}
\definecolor{Core2}{cmyk}{1,0.12,0.21,0.44}
\definecolor{AccentM}{cmyk}{0.81,0,0.38,0}
\usepackage{amsfonts}
\numberwithin{equation}{chapter}
%\PassOptionsToPackage{bookmarks=true,colorlinks=true,linkcolor=Core2,citecolor=Core2,filecolor=Core2,urlcolor=Core2}{hyperref}
%\renewenvironment{lyxgreyedout}{\color{Aquamarine}\bgroup}{\egroup}
\makeatother
\providecommand{\assumptionname}{Assumption}
\providecommand{\corollaryname}{Corollary}
\providecommand{\definitionname}{Definition}
\providecommand{\examplename}{Example}
\providecommand{\lemmaname}{Lemma}
\providecommand{\propositionname}{Proposition}
\providecommand{\remarkname}{Remark}
\providecommand{\theoremname}{Theorem}
\begin{document}
and this is the end of my doc
Code: Select all
\renewcommand{\bibname}{References}
\addcontentsline{toc}{chapter}{References}
\bibliographystyle{plain}
\bibliography{citation2}
\end{document}
Hope this is better,
Thanks
DAfe