BibTeX, biblatex and biberChapterbib: same list of references after each chapter; why?

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
tonguim
Posts: 24
Joined: Fri Nov 06, 2009 4:32 pm

Chapterbib: same list of references after each chapter; why?

Post by tonguim »

Hi all,

I have no error at compilation, but after each chapter, as bibliography, I have the same list of reference, what is not normal. I should have had a different list of references after each chapter. I dont' know what cause this problem. Here is the code of principal file:

Code: Select all

\documentclass[PhD,english,francais]{ulthese}

  \ifxetex\else \usepackage[utf8]{inputenc} \fi

  \usepackage{amsmath}          % recommandé pour les mathématiques
  \usepackage{hyperref}
  \hypersetup{colorlinks,allcolors=ULlinkcolor}

  \frenchbsetup{%
    CompactItemize=false,         % ne pas compacter les listes
    ThinSpaceInFrenchNumbers=true % espace fine dans les nombres
  }

  \titre{<Rappot>}
  \auteur{<>}
  \programme{}
  \annee{<2014>}  

\begin{document}

\frontmatter                    % pages liminaires

\pagetitre                      % production de la page titre

\cleardoublepage

\begingroup %%%%%%%%%%%%%%% Ajout 
	\let\cleardoublepage\clearpage %%%%%%%%%%%%%%% Ajout
	\tableofcontents                % production de la TdM
\endgroup %%%%%%%%%%%%%%% Ajout

\cleardoublepage

\mainmatter                     % corps du document

\part{Contexte général et état de l'art}
\input{../chap1}
\input{../chap3}
\input{../chap4}
\input{../chap5}

\part{Méthodologie et objectifs scientifiques}
\input{../chap6}
\input{../chap7}

\end{document}
As attachment is the document class file. In this document, at line 153, I have add the line

Code: Select all

\RequirePackage{chapterbib}
hoping it will fix the problem but nothing did change.
Attachments
ulthese.cls
(12.54 KiB) Downloaded 378 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

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

Chapterbib: same list of references after each chapter; why?

Post by Johannes_B »

Ok, in case neither Stefan nor i said it befor: Please provide a proper compilable minimal working example.

Debugging your files is a pain in the *** ;-) A small example giving just the needed amount of information to reproduce a problem makes it easier to help. Think of it this way: Either you use ten minutes to make helping easier or a helper has to spend 10 minutes. And who has the time :-)

EDIT: Sorry, i was having another user in mind. But still, you code is useless for a helper.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
bianbian
Posts: 1
Joined: Sun Jul 08, 2018 2:56 am

Chapterbib: same list of references after each chapter; why?

Post by bianbian »

change input to include
Post Reply