BibTeX, biblatex and biberMy bibliography is not updating (PDF screen shot attached)

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
Matam
Posts: 29
Joined: Thu Jun 07, 2018 12:12 pm

My bibliography is not updating (PDF screen shot attached)

Post by Matam »

I am writing the thesis for about two months, every day and updating the bibliography regularly. It is strange that bibliography is not updating. Please, find the attached PDF screen shot. The problem is: After [1-3] reference, strangely [18] appears without any [4-17] in between. How to address this. Please, help.
Attachments
biberror.png
biberror.png (111.19 KiB) Viewed 8399 times

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

My bibliography is not updating (PDF screen shot attached)

Post by Stefan Kottwitz »

Make sure that you run BibTeX. It should be a TeXstudio option.

You can provide .bib, .blg and .log files here, as attachment.

Regarding numbering: sorting depends on your bibliography style. Which one are you using? If you cite the reference [18] before the others, well, then it comes before. I could say more if I see the files attached.

Stefan
LaTeX.org admin
Matam
Posts: 29
Joined: Thu Jun 07, 2018 12:12 pm

My bibliography is not updating (PDF screen shot attached)

Post by Matam »

Thanks for the quick response. I am writing here the code and I am attaching the files that you have been asked. Screen shot of LATEX editor Build commands is also attached.
\documentclass[11pt, a4paper, oneside]{thesis}
\usepackage[body={7.0in, 9.5in},top=1.2in, left=1.69in, right=1.0in, includefoot]{geometry}
\bibliographystyle{IEEEtran}
\hyphenation{op-tical net-works semi-conduc-tor}
\usepackage{wrapfig}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{multirow}
\setcounter{secnumdepth}{3}
\usepackage{pdfpages}
\usepackage[nottoc,notlof,notlot]{tocbibind} 
%\renewcommand\bibname{References}
\usepackage{cite}
%\usepackage{natbib}
\usepackage{float}
\usepackage{color}
\usepackage{algorithm,algpseudocode}
\renewcommand{\baselinestretch}{1.3}
\usepackage{titlesec} % Modifica títulos


\titleformat{\chapter}[hang]
{\LARGE\normalfont\bfseries}
{\thechapter}{1em}{}
\titleformat{name=\chapter,numberless}[hang]
  {\normalfont\LARGE\bfseries\filcenter}{}{1ex}{}{}
\titleformat{\section}[hang]{\normalfont\bfseries}{\thesection}{0.5em}{}


\titleformat{\chapter}[display]
{\normalfont\Huge\bfseries}{Chapter\ \thechapter}{10pt}{\Huge}


\titleformat{\subsection}[hang]{\normalfont\bfseries}{\thesubsection}{0.5em}{}
\titleformat{\subsubsection}[hang]{\normalfont\bfseries}{\thesubsubsection}{0.5em}{}

\titlespacing{\chapter}{0pt}{0pt}{40pt}
\titlespacing{\section}{0pt}{\baselineskip}{0.625\baselineskip}
\titlespacing{\subsection}{0pt}{\baselineskip}{0.6\baselineskip}
\titlespacing{\subsubsection}{0pt}{\baselineskip}{\baselineskip}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\newcommand*\circled[1]{\tikz[baseline=(char.base)]{
            \node[shape=circle,draw,inner sep=0.5pt] (char) {#1};}}
\usetikzlibrary{calc}
\usetikzlibrary{calc,matrix}
\usepackage[skip=2pt,font=scriptsize]{caption}
\usepackage{subcaption}
\usepackage{array}
\usepackage{mdwmath}
\usepackage{mdwtab}
\usepackage{multirow}
\usepackage{siunitx}
\usepackage{soul}
\usepackage{cancel}
\usepackage{amssymb}% http://ctan.org/pkg/amssymb
\usepackage{pifont}% http://ctan.org/pkg/pifont
\newcommand{\cmark}{\ding{41}}%
\newcommand{\xmark}{\ding{55}}
%\usetikzlibrary{calc,matrix}
\usepackage{color,soul}
\usepackage{enumerate}
\usepackage{IEEEtrantools}
\usepackage{bbding}
%\bibliographystyle{ieeebib}
\usepackage{rotating}
\usepackage{listings}
\usepackage{lineno}
\usepackage{lscape}
\usepackage{adjustbox}
%\modulolinenumbers[1]
\lstdefinestyle{mystyle}{
    breakatwhitespace=false,         
    breaklines=true,                 
    captionpos=b,                    
    keepspaces=true,                 
    numbers=left,                    
    numbersep=20pt,                  
    showspaces=false,                
    showstringspaces=false,
    showtabs=false,                  
    tabsize=2
}
\lstset{style=mystyle}
% % Nomenclature commands
\usepackage[intoc]{nomencl}
\makenomenclature

\usepackage[toc,nopostdot,nonumberlist,acronym,section]{glossaries}
\newrobustcmd{\bffirst}[1]{{\let\mfirstucMakeUppercase\textbf\capitalisewords{#1}}}

\newacronymstyle{bf-long-short}{\GlsUseAcrEntryDispStyle{long-short}}{\GlsUseAcrStyleDefs{long-short}\renewcommand*{\GenericAcronymFields}{description={\bffirst{\the\glslongtok}}}}
\setacronymstyle{bf-long-short}

\newglossary[ch1]{chstyle}{ch2}{ch3}{List of Greek Symbols}
\makeglossaries
\glsdisablehyper

\newglossarystyle{csyle}{%
	\glossarystyle{list}%
	\renewcommand*{\glossaryentryfield}[5]{%
		\item[\glsentryitem{##1}\glstarget{##1}{##2}]%
		\hspace{2.5cm}##3\glspostdescription\dotfill ##5}%
}
%\renewcommand{\chaptername}[2]{\chaptername{#1} \thechapter{#2}}

% % 


\include{glossary-nomen-entries}
\begin{document}
.
.
.
\bibliographystyle{IEEEtran}
\bibliography{MMbib}{}
\end{document}
Attachments
build.png
build.png (137.93 KiB) Viewed 8390 times
00ManjuThesisMainText.log
(123.64 KiB) Downloaded 256 times
00ManjuThesisMainText.blg
(2.84 KiB) Downloaded 270 times
MMbib.bib
(103.12 KiB) Downloaded 269 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

My bibliography is not updating (PDF screen shot attached)

Post by Stefan Kottwitz »

I see in the .log file this error message:

Code: Select all

] (00ManjuThesisMainText.bbl
! Undefined control sequence.
<argument> ...leftmargin \labelsep \@openbib@code 
                                                  \usecounter {enumiv}\let \...
l.2 \begin{thebibliography}{100}
                                
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

[126
The internal macro \@openbib@code is not supported by your document class. You could at least define it as doing nothing special, in your document preamble:

Code: Select all

\makeatletter
\let\@openbib@code\relax
\makeatother
Stefan
LaTeX.org admin
Matam
Posts: 29
Joined: Thu Jun 07, 2018 12:12 pm

My bibliography is not updating (PDF screen shot attached)

Post by Matam »

Please see the attached document for screen shot. Also, I am adding the log files, bbl for your ready reference. Your code did help to exit the process normally without any errors. Previously it was giving bibliography errors. However,

First chapter, first page text before executing the new code:
..........................technology [1-3].
The solar PV systems ................... reliability [18].

After executing the new code:
..........................technology [1, 16, 17].
The solar PV systems ................... reliability [18].

Please help me.
Attachments
BIBminrorERROR.png
BIBminrorERROR.png (98.05 KiB) Viewed 8353 times
00ManjuThesisMainText.log
(121.56 KiB) Downloaded 230 times
00ManjuThesisMainText.blg
(2.84 KiB) Downloaded 260 times
00ManjuThesisMainText.bbl
(32.42 KiB) Downloaded 240 times
Post Reply