Text FormattingBibliography problem!

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Poul_millenial
Posts: 3
Joined: Mon Dec 23, 2019 11:34 pm

Bibliography problem!

Post by Poul_millenial »

Hi, first thank you all, it's my first post, but in a couples of days, thanks to you I c've been alble to start writing my thesis in LaTeX.
Now I have some problems with the bibliography I can't find solution to.
The following is my main:

Code: Select all

\documentclass[12pt,twosides]{book}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage{amsmath}
\usepackage{url,amsfonts,epsfig}
\usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{fancyhdr}
%\usepackage[style=authoryear,sorting=none]{biblatex}
\usepackage[style=numeric,subentry]{biblatex}
\addbibresource{capitoli/bibliografia/bibliografia.bib}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[RO,LE]{Thesis Tile}
\fancyfoot{}
\fancyfoot[LE,RO]{\thepage}
\fancyfoot[LO,CE]{Chapter\thechapter}

\begin{document}

\input{titlepage/titlepage}
\input{sommario/sommario}
\pagenumbering{roman}

\tableofcontents

\listoffigures

\listoftables

\clearpage
\pagenumbering{arabic}
\input{capitoli/capitolo_01/capitolo_01}
\input{capitoli/capitolo_02/capitolo_02}
\input{capitoli/capitolo_03/capitolo_03}

\appendix
\input{capitoli/appendice/appendice}

\printbibliography
\end{document}
Everything works fine, but the bibliography doesn't show up at the end of the document. It runs the pdf correctly, apart for the bibliography who is missing.

One more question, when I do the

Code: Select all

\cite
I would like to have

Code: Select all

[1]
and not
pampreen1973small
like i get now.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Bibliography problem!

Post by Johannes_B »

Welcome to the forum.

Please have a look at https://en.m.wikibooks.org/wiki/LaTeX/B ... _and_biber
Especially Setting up biber
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Poul_millenial
Posts: 3
Joined: Mon Dec 23, 2019 11:34 pm

Bibliography problem!

Post by Poul_millenial »

Johannes_B wrote:Welcome to the forum.

Please have a look at https://en.m.wikibooks.org/wiki/LaTeX/B ... _and_biber
Especially Setting up biber
Thanks, I followed your instractions, which is also what it said in this video:
https://www.youtube.com/watch?v=ZYvS52511oQ
I changed my main into this:
\documentclass[12pt,twosides]{book}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage{amsmath}
\usepackage{url,amsfonts,epsfig}
\usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{fancyhdr}

%\usepackage[style=authoryear,sorting=none]{biblatex}
%\usepackage[style=numeric,subentry]{biblatex}
\usepackage[backend=biber]{biblatex}
\addbibresource{capitoli/bibliografia/bibliografia.bib}

\pagestyle{fancy}
\fancyhead{}
\fancyhead[RO,LE]{Thesis Tile}
\fancyfoot{}
\fancyfoot[LE,RO]{\thepage}
\fancyfoot[LO,CE]{Chapter\thechapter}

\begin{document}

\input{titlepage/titlepage}
\input{sommario/sommario}
\pagenumbering{roman}

\tableofcontents

\listoffigures

\listoftables

\clearpage
\pagenumbering{arabic}
\input{capitoli/capitolo_01/capitolo_01}
\input{capitoli/capitolo_02/capitolo_02}
\input{capitoli/capitolo_03/capitolo_03}

\appendix
\input{capitoli/appendice/appendice}

\printbibliography
\end{document}
But I still get nothing, same as before.
here what I get:
Process started

INFO - This is Biber 2.12 INFO - Logfile is 'Tesi.blg' INFO - Reading 'Tesi.bcf' INFO - Found 12 citekeys in bib section 0 INFO - Processing section 0 INFO - Looking for bibtex format file 'capitoli/bibliografia/bibliografia.bib' for section 0 INFO - LaTeX decoding ... INFO - Found BibTeX data source 'capitoli/bibliografia/bibliografia.bib' ERROR - BibTeX subsystem: /var/folders/vg/dqs1z3m10vz2h3xj9ccr5cv40000gn/T/Pt3scvwhfa/bibliografia.bib_1133.utf8, line 3, syntax error: found "author", expected end of entry ("}" or ")") (skipping to next "@") INFO - ERRORS: 1

Process exited with error(s)
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Bibliography problem!

Post by Johannes_B »

Please share that part of the bib file.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply