You asked,
>This is the route to follow, isn't it?
> compile main.tex with pdflatex [this generates main.aux]
> launch BibTex on main [this generates main.bbl]
> compile main.tex with pdflatex twice [this incorporates main.bbl into the pdf file]
This would indeed be the route to follow if your document were using BibTeX. However, since your document uses the biblatex
package with the option backend=biber
, you should be running biber, not BibTeX. For your document, then, the correct sequence is:
> run pdfLaTeX on main[.tex]
> run biber on main
> run pdfLaTeX on main
Incidentally, you should replace the deprecated instruction \bibliography{articles}
with
\addbibresource{articles.bib}
Two comments about the linespread choice: (a) Don't manipulate the low-level TeX parameter \linespread
directly. Instead, load the setspace
package and issue the directive \setstretch{1.5}
. (b) One indeed does encounter the recommendation that leading should be slightly looser with a Palatino
font. However, that recommendation is generally for a factor around 1.04 or 1.05, never 1.5! If you absolute must increase the leading, by all means to do. Just don't claim you're doing so because Palatino
somehow requires it...
\RequirePackage{filecontents}
\begin{filecontents}{articles.bib}
@misc{a:3001,
author = "Anne Author",
title = "Initial Thoughts",
year = 3001,
}
@misc{z:3002,
author = "Zo{\"e} Zwicky",
title = "Final Thoughts",
year = 3002,
}
\end{filecontents}
\documentclass[11pt, a4paper, twoside]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[margin=2.5cm]{geometry}
\usepackage[english]{babel}
\usepackage[babel]{csquotes}
\usepackage[useprefix, style=numeric-comp, sorting=nyt,
backend=biber, hyperref=true]{biblatex}
\addbibresource{articles.bib}
\usepackage{fancyhdr} %with "twoside" \documentclass option!!
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE,RO]{\thepage} % Left if Even, Right if Odd pg
\fancyhead[RE,LO]{Urban Gardens}
\fancyfoot[]{} %
\fancyfoot[]{}
% FONT CHOICE
% Palatino for serif & math, Helvetica for ss, Courier for tt
\usepackage{mathpazo} % math & rm
%%%\linespread{1.50} % Palatino needs more leading (space between lines)
% Don't set the low-level parameter "\linespread" directly!
% Instead, load the "setspace" package and state "\setstretch{1.5}"
\usepackage{setspace}
\setstretch{1.5}
\usepackage[scaled]{helvet} % ss
\usepackage{courier} % tt
\normalfont
\usepackage{graphicx}
\usepackage{booktabs}
% \usepackage{subcaption} % \begin{subfigure} within 'figure' environment
\usepackage{lipsum}
\usepackage{keyval}
\usepackage{subfig}
\usepackage{caption}
\usepackage[colorlinks=false, pdfborder={0 0 0}]{hyperref}
\usepackage[capitalize, italian]{cleveref}
\frenchspacing
% \graphicspath{{./img/}}
\title{My Essay}
\author{WW}
\date{}
\begin{document}
\maketitle{}
\tableofcontents
\bigskip
\hrule
\bigskip
\lipsum[2]
%\clearpage
\phantomsection
\addcontentsline{toc}{section}{\refname}
\nocite{*}
\printbibliography
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
Please have a look at https://tex.stackexchange.com/a/559/36296 many of the author names in your bib file are inserted incorrectly and thus appear seriously broken in the output -- for example Reinhard Klette and Azriel Rosenfeld are two people and not "R. A. Rosenfeld Klette". There are also other that are now fixed: articles are not incollection
and books are not article
, for instance. Some checks with Google Scholar were sufficient to find the right citations.
You cannot use ^{3}
outside of math mode; material that should not change capitalization should be braced. I also get errors from the combination of packages you use -- had to remove algorithm
to make it compile.
mybib.bib
file
@PhdThesis{one,
author = {Ranita Biswas},
title = {On Discretization of Sphere and Related Problems in {3D} Integer Space},
school = {Indian Institute of Technology, Kharagpur},
year = {2016},
}
@article{two,
author = {Ranita Biswas and Partha Bhowmick},
title = {On the Functionality and Usefulness of Quadraginta Octants of Naive Sphere},
journal = {Journal of Mathematical Imaging and Vision},
year = {2017},
pages = {69-83},
}
@Article{three,
author = {Ranita Biswas and Partha Bhowmick and Valentin E. Brimkov},
title = {On the Polyhedra of Graceful Spheres and Circular Geodesics},
journal = {Discrete Applied Mathematics},
volume = {216, Part 2},
pages = {362--375},
year = {2016},
}
@Article{four,
author = {Ranita Biswas and Partha Bhowmick},
title = {On different topological of spherical geodesic paths and circles in {$Z^{3}$}},
journal = {Theoretical Computer Science},
volume = {605},
pages = {146--163},
year = {2015},
}
@Article{five,
author = {Ranita Biswas and Partha Bhowmick},
title = {From prima quadraginta octant to lattice sphere through
primitive integer operations},
journal = {Theoretical Computer Science},
volume = {624},
pages = {56--72},
year = {2016},
}
@article{six,
author = {Cohen-Or, D. and Kaufman, A.},
title = {Fundamentals of surface voxelization},
journal = {Graphical Models and Image Processing},
volume = {57},
number = {6},
pages = {453--461},
year = {1995},
}
@book{seven,
author = {Klette, R. and Rosenfeld, A.},
title = {Digital geometry: {Geometric} methods for digital picture analysis},
year = {2004},
publisher = {Elsevier}
}
test.tex
file
\documentclass{article}
\usepackage{amsfonts}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{cite}
\usepackage{varwidth}
\usepackage{algcompatible}
\usepackage[linesnumbered,ruled,vlined]{algorithm2e}
% \usepackage{algorithm}
\usepackage{varwidth}
\usepackage[noend]{algpseudocode}
\usepackage{listings}
\usepackage[nopar]{lipsum}
\usepackage[export]{adjustbox}
\begin{document}
\nocite{*}
\bibliography{mybib}
\bibliographystyle{plain}
\end{document}
Output
Best Answer