Text FormattingBibliography not printing

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Diogo Remoaldo
Posts: 26
Joined: Mon Apr 06, 2015 8:24 pm

Bibliography not printing

Post by Diogo Remoaldo »

Hi, sorry to post again I tried using biblatex and it worked using this code

Code: Select all

\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[backend=bibtex]{biblatex}
\addbibresource{bibliografia.bib}

\begin{document}

Ola, sou \cite{bergman2011fundamentals} diogo nieh

\printbibliography

\end{document}
The reference is

Code: Select all

@book{bergman2011fundamentals,
  title={Fundamentals of Heat and Mass Transfer, 7th Edition},
  author={Bergman, T.L. and Lavine, A.S. and Incropera, F.P.},
  isbn={9781118137253},
  url={https://books.google.pt/books?id=5cgbAAAAQBAJ},
  year={2011},
  publisher={John Wiley \& Sons}
}
This is the code I am using once again

Code: Select all

\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[portuguese]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{makeidx}
\usepackage{float}
\usepackage{graphicx}
\usepackage[hidelinks]{hyperref}
\usepackage{url}
\usepackage[backend=bibtex]{biblatex}
\addbibresource{bibliografia.bib}
\usepackage[all]{hypcap}
\usepackage{caption}
\usepackage[left=3.5cm,right=3.5cm,top=3.5cm,bottom=3.5cm]{geometry}
\usepackage{array}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{indentfirst}
\usepackage[export]{adjustbox}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{enumitem}
\usepackage{titlesec}
\usepackage{multirow}
\captionsetup[table]{position=above}
\usepackage{siunitx}
\newcolumntype{C}{>{\centering\arraybackslash}m}
\sisetup{per-mode=symbol}
\usepackage{hhline}
\captionsetup[table]{position=above}
\setcounter{secnumdepth}{4}
\DeclareSIUnit{\year}{ano}
\titleformat{\paragraph}
{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
\titlespacing*{\paragraph}
{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}

The results that I got are represent in the images.





I can't print the bibliography (as seen in ref1) eventhough the bibfile appears in my text file what am I doing wrong?

Thanks for your time once again
Attachments
diogoBiblatex1.png
diogoBiblatex1.png (17.73 KiB) Viewed 3591 times
Last edited by Johannes_B on Tue May 26, 2015 9:46 pm, edited 2 times in total.

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

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Bibliography not printing

Post by Stefan Kottwitz »

Diogo Remoaldo wrote:sorry to post again
No problem! We love good questions.

The new code is a bit incomplete here, so we don't see a \printbibliography command, for example. Did you compile several times? Did you run the bibtex command again? Perhaps post .log and .blg files as attachment.

Stefan
LaTeX.org admin
Diogo Remoaldo
Posts: 26
Joined: Mon Apr 06, 2015 8:24 pm

Re: Bibliography not printing

Post by Diogo Remoaldo »

Stefan if you see my first attachment it is written the printbibliography command. But it doesn't work, I have tried many things but to no sucess :/

If someone manages to print a bibliography using my code, I wuld be very thankful! :)
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Bibliography not printing

Post by Stefan Kottwitz »

I did not see the command in the image. Anyway, I cannot test code from images, it would be better to post code as text or attach a .tex file. I mean a Infominimal working example. My questions above are still open.

Stefan
LaTeX.org admin
Post Reply