i've thesis.tex


% Inclusione pacchetti %
\usepackage[colorlinks, citecolor=black, filecolor=black, linkcolor=black, urlcolor=black] {hyperref}

% Stile della pagina %  
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\addtolength{\oddsidemargin}{15mm} %margine pagina sinistro
\addtolength{\evensidemargin}{-15mm} %margine pagina destro



in which,before the end of document I've included \bibliographystyle and /bibliography as suggested from various guides. Created bib file named as bibliografia


and then i try in any latex page to use the command \cite{pippo} (keyword). Over leaf gives me a warning

LaTeX Warning: Citation `pippo' on page 1 undefined on input line 8

where page 1 input line 8 is where I use the command \cite. How can I make it work ? I just need a bibliography but for websites.

  • I edited the title of your question. I hope that I got it right. If not, then change it back. – Dr. Manuel Kuehner Dec 10 '16 at 18:55
  • Your code (minus all the \subfile) compiles for me just fine on Overleaf; and the citation shows up as well. Perhaps check that your bib file is named bibliografia.bib and not bibliografia.BIB! – LianTze Lim Dec 11 '16 at 2:11
  • thank you Manuel, you got it right. Lim just make my check my file and I'll make you know – Fedeco Dec 11 '16 at 17:57
  • The real reason here is because bibliographies in the "main" file are not handled in the "subfiles", which Federico is using: tex.stackexchange.com/questions/107064/… . Solved using a similar solution. – LianTze Lim Dec 12 '16 at 2:19
  • Thank you for your help everyone, Lim of overleaf support staff did a great job and fixed the problem. – Fedeco Dec 12 '16 at 9:18

Please read this site before you post a new question. Here it is explained how to provide a so-called minimal working example.

Since you just have two references, I recommend that you use a manual bibliography without the use of a database approach like BiBLaTeX or BiBTeX (outdated).

I prepared a simple setup with an article document class. If you want to use report or book then you should change the this line

\addcontentsline{toc}{section}{\refname} % section

into this

\addcontentsline{toc}{chapter}{\refname} % chapter

This code snipped includes the name of the reference (depending on the document language which is defined as an option to the babel package) to the table of contents (toc).




% load as last package


\title{Simple Bibliography without BiBTeX or BiBLaTeX}
\author{Manuel Kuehner}


\section{Just a Random Section}

\section{Section with a Cite of a Website}

See \cite{bib:www:WebsiteOne} for more details.


Author, \emph{Title}, Internet Source, Last Checked: 2nd December 2016, \url{http://www.manuelkuehner.de/}



enter image description here

If you have much more references then you can have a look at my tutorials (https://www.youtube.com/playlist?list=PL-Wl6F3zpJVwcDHK2rg9bDEEMjo70zp87) or the system BiBLaTeX/Biber in general.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.