TransWikia.com

Bibliography does not print anything

TeX - LaTeX Asked by Matteo Fiorini on July 21, 2021

This is the text of my Latex document. I’ve already looked at other similar questions but none of the solutions proposed solved my issue.

I use the command.
printglossary[type=acronymtype,title=Acronyms]
But this does not print anything.

documentclass[12pt, oneside]{book}
usepackage[top = 3.5cm, bottom = 3.5cm, left = 3.5cm, right = 3.5cm]{geometry}

setcounter{tocdepth}{4}
setcounter{secnumdepth}{4}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{graphicx}
usepackage{numberedblock}
usepackage{listings}
usepackage{color}
usepackage{newlfont}
usepackage{version}
usepackage{fancyhdr}
usepackage{ulem}
usepackage{subfigure} 
pagestyle{fancy}
usepackage[toc,acronym,section=section]{glossaries} 
usepackage{lmodern}
usepackage{babel}
usepackage{microtype}
usepackage{csquotes}
usepackage{xcolor}
usepackage{multirow}
usepackage{tabularx}

renewcommand{footrulewidth}{1pt}

usepackage{array}
newcolumntype{P}[1]{>{centeringarraybackslash}p{#1}}
newcolumntype{M}[1]{>{centeringarraybackslash}m{#1}}
fancyhf{}
renewcommand{headrulewidth}{1pt}
renewcommand{footrulewidth}{1pt}
fancyhead[CE,CO]{leftmark}
fancyfoot[CE,CO]{company}
fancyfoot[LE,RO]{thepage}


usepackage[
backend=biber,
style=numeric,
]{biblatex}

addbibresource{sample.bib} %Imports bibliography file


addtocaptionsitalian{renewcommand{chaptername}{Capitolo}}

definecolor{dkgreen}{rgb}{0,0.6,0}
definecolor{gray}{rgb}{0.5,0.5,0.5}
definecolor{mauve}{rgb}{0.58,0,0.82}

usepackage{afterpage}

newcommandblankpage{%
    null
    thispagestyle{empty}%
    addtocounter{page}{-1}%
    newpage}

lstset{frame=tb,
    language=Python,
    aboveskip=3mm,
    belowskip=3mm,
    showstringspaces=false,
    columns=flexible,
    basicstyle={smallttfamily},
    numbers=none,
    numberstyle=tinycolor{gray},
    keywordstyle=color{blue},
    commentstyle=color{dkgreen},
    stringstyle=color{mauve},
    breaklines=true,
    breakatwhitespace=true
    tabsize=3
}

usepackage[colorlinks=true,allcolors=black]{hyperref}

makeglossaries

% ACRONYMS
newacronym{agv}{AGV}{Automated Guided Vehicle}
newacronym{cv}{CV}{Computer Vision}
newacronym{dl}{DL}{Deep Learning}

begin{document}
    
    mainmatter
    
    include{Titlepage}
    
    afterpage{blankpage}
    
    tableofcontents
    
    listoffigures
    
    listoftables
    
    include{Introduction}
    
    include{WorkingCycleSpecification}
    
    include{AGV}
    
    include{RobotArmTasks}
    
    include{RoboticArm}
    
    include{ArtificialVision}
    
    include{ExperimentalResults}
    
    include{Safety}
    
    include{ManagementSoftware}
    
    printbibliography [title= References]
    
    glsaddall
    
    printglossary[type=acronymtype,title=Acronyms]
    
    
end{document}

Here you have the bibliography file:

@article{DLvsCV,
    author = "Niall O’ Mahony and Sean Campbell and Anderson Carvalho and Suman Harapanahalli and
    Gustavo Velasco Hernandez and Lenka Krpalkova and Daniel Riordan and Joseph Walsh
",
    title = "Deep Learning vs. Traditional Computer Vision",
    publisher = "IMaR Technology Gateway, Institute of Technology Tralee, Tralee, Ireland",
    keywords = "DLvsCV",
    year = "2019"
}

@online{DigIm,
    title     = "Digital Image",
    url       = "https://en.wikipedia.org/wiki/Digital_image",
}

@online{Halcon,
    title   = "Halcon Documentation",
    url = "https://www.mvtec.com/products/halcon/documentation"
}

@online{Label,
    title = "CNN Labeling",
    url = "https://medium.com/@hasini.dbv/convolutional-neural-networks-the-origin-and-applications-803d07900bd1"
}

@online{Surface,
    title = "Generating 3D Surface Models for Surface-Based 3D Matching",
    url = "https://multipix.com/supportblog/generating-3d-surface-models-for-surface-based-3d-matching/"
}

@online{Normals,
    title = "Normal Space",
    url = "https://en.wikipedia.org/wiki/Normal_(geometry)"
}

@online{DL3D,
    title = "Deep Learning on 3D Data",
    url = "https://link.springer.com/chapter/10.1007/978-3-030-44070-1_11"
}

@online{DLSol,
    title = "Deep Learning on Point Sets for 3D Classification and Segmentation",
    url = "https://web.stanford.edu/~rqi/pointnet/docs/cvpr17_pointnet_slides.pdf"
}
@online{3Dpyramid,
    title = "Object-Based Calibration Guidelines",
    url = "https://documentation.euresys.com/Products/OPEN_EVISION/OPEN_EVISION_2_11/en-us/Content/03_Using/6_3D_Processing/2_Object-Based_Calibration/Object-Based_Calibration_Guidelines.htm"
}
@online{3DCloth,
    title = "Determining Where to Grasp Cloth Using Depth Information",
    url = "http://www.iri.upc.edu/files/scidoc/1285-Determining-Where-to-Grasp-Cloth-Using-Depth-Information.pdf"
}
@online {3DMatching,
    title = "The power of 3D Image processing software",
    url = "http://mepca-engineering.com/power-3d-image-processing-software/"
}

One Answer

It is likely that everything compiles fine, but since the references aren't cited anywhere, they don't show up. I have replaced printbibliography as follows. P.S. I also have put in some dummy text with some citations to actually print the references.

documentclass[12pt, oneside]{book}
usepackage[top = 3.5cm, bottom = 3.5cm, left = 3.5cm, right = 3.5cm]{geometry}

setcounter{tocdepth}{4}
setcounter{secnumdepth}{4}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{graphicx}
usepackage{numberedblock}
usepackage{listings}
usepackage{color}
usepackage{newlfont}
usepackage{version}
usepackage{fancyhdr}
usepackage{ulem}
usepackage{subfigure} 
pagestyle{fancy}
usepackage[toc,acronym,section=section]{glossaries} 
usepackage{lmodern}
usepackage{babel}
usepackage{microtype}
usepackage{csquotes}
usepackage{xcolor}
usepackage{multirow}
usepackage{tabularx}

renewcommand{footrulewidth}{1pt}

usepackage{array}
newcolumntype{P}[1]{>{centeringarraybackslash}p{#1}}
newcolumntype{M}[1]{>{centeringarraybackslash}m{#1}}
fancyhf{}
renewcommand{headrulewidth}{1pt}
renewcommand{footrulewidth}{1pt}
fancyhead[CE,CO]{leftmark}
fancyfoot[CE,CO]{company}
fancyfoot[LE,RO]{thepage}


% usepackage[
% backend=biber,
% style=numeric,
% ]{biblatex}

% addbibresource{sample.bib} %Imports bibliography file


addtocaptionsitalian{renewcommand{chaptername}{Capitolo}}

definecolor{dkgreen}{rgb}{0,0.6,0}
definecolor{gray}{rgb}{0.5,0.5,0.5}
definecolor{mauve}{rgb}{0.58,0,0.82}

usepackage{afterpage}

newcommandblankpage{%
    null
    thispagestyle{empty}%
    addtocounter{page}{-1}%
    newpage}

lstset{frame=tb,
    language=Python,
    aboveskip=3mm,
    belowskip=3mm,
    showstringspaces=false,
    columns=flexible,
    basicstyle={smallttfamily},
    numbers=none,
    numberstyle=tinycolor{gray},
    keywordstyle=color{blue},
    commentstyle=color{dkgreen},
    stringstyle=color{mauve},
    breaklines=true,
    breakatwhitespace=true
    tabsize=3
}

usepackage[colorlinks=true,allcolors=black]{hyperref}

makeglossaries

% ACRONYMS
newacronym{agv}{AGV}{Automated Guided Vehicle}
newacronym{cv}{CV}{Computer Vision}
newacronym{dl}{DL}{Deep Learning}

begin{document}
    
    mainmatter
    
    include{Titlepage}
    afterpage{blankpage}
    
    tableofcontents
    
    listoffigures
    
    listoftables
    
    include{Introduction}
    This is the text of my Latex document cite{DigIm}. I've already looked at other similar questionscite{DLvsCV} but none of the solutions proposed solved my issuecite{Halcon}.
    
    include{WorkingCycleSpecification}
    include{AGV}
    include{RobotArmTasks}
    include{RoboticArm}
    include{ArtificialVision}
    include{ExperimentalResults}
    include{Safety}
    
    include{ManagementSoftware}
    % printbibliography [title= References]
    glsaddall
    printglossary[type=acronymtype,title=Acronyms]
    
%Sets the bibliography style to UNSRT and imports the 
%bibliography file "samples.bib".
bibliographystyle{unsrt}
bibliography{sample}

end{document}

Answered by Akhil Kurup on July 21, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP