I have the articles & inproceedings in the file dtbase.bib in the following manner:
@article{Russell17012003,
author = {Russell, Philip},
title = {Photonic Crystal Fibers},
year = {2003},
journal = {Science}
}
@inproceedings{Hansen:02,
author = {Kim P. Hansen and Jacob Riis Jensen and Christian Jacobsen and Harald R. Simonsen and Jes Broeng and Peter M. W. Skovgaard and Anders Petersson and Anders Bjarklev},
booktitle = {Optical Fiber Communications Conference},
journal = {Optical Fiber Communications Conference},
keywords = {Nonlinear optics, fibers},
publisher = {Optical Society of America},
title = {Highly Nonlinear Photonic Crystal Fiber with Zero-Dispersion at 1.55\&\#x00B5;m},
year = {2002},
pages = {FA9},
}
While my tex file try.tex reads as-
\documentclass{elsarticle}
\begin{document}
\begin{frontmatter}
\title{blablabla}
\author{bla bla}
\address{blabla}
\begin{abstract}
blalbal
\end{abstract}
\begin{keyword}
bla
\end{keyword}
\end{frontmatter}
\section{Introduction}
microstructured \cite{Russell17012003} blabla birefringence etc.\cite{Knight96} high nonlinearity required blabla \cite{Hansen:02}
\section*{References}
\bibliographystyle{elsarticle-num}
\bibliography{dtbase}
\end{document}
\endinput
Whenever I put articles & inproceedings in the same bib file, after compiling the tex file it shows - the following warning -
Citation 'Hansen:02' on page 1 undefined.
and it doesn't show the inproceeding. What am I doing wrong? I am using Texmaker for editing both the .bib file & .tex file.
the main file is try.tex. the output files are- try.aux, try.bbl, try.out
– nafizamin Oct 24 '15 at 08:00.bibfiles for different types, but it doesn't really make sense to do so. It is much more useful to separate.bibfiles by topic or by the document you are currently writing. So I would say the answer is: You shouldn't. – moewe Oct 24 '15 at 08:53.blgfile implies quite heavily that Biber (or BibTeX) didn't run. What does the.bblcontain? Does the.logcomplain? Did you run from within an editor (refer to Biblatex with Biber: Configuring my editor to avoid undefined citations)? Can you try running the commands from the command line (pdflatex try,biber try,pdflatex try,pdflatex try)? Then please report the screen output of the Biber run, the.blgand.logfiles. – moewe Oct 24 '15 at 08:56titleofHansen:02, the1.55\&\#x00B5;mbit looks like a butchered HTML conversion of1.55µm. (At first I thought all those characters would make Biber uncomfortable, but it ploughed through.) – moewe Oct 24 '15 at 09:02biblatexin which case you shouldn't run Biber but BIbTeX. – moewe Oct 24 '15 at 14:26-I don't understand what it means running from the command line.
Am I missing something very basic here ? I am using the package elsartice-num for elsevier papers, and I ran Bibtex indeed. Wait I'm giving an MWE in a few minutes
– nafizamin Oct 24 '15 at 14:30.bblfile looks all right,Hansen:02is defined there... – moewe Oct 24 '15 at 14:35.logand.blgfiles. – moewe Oct 24 '15 at 14:55