## LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ Chapterbib: same list of references after each chapter; why?

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

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

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:

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

Johannes_B
Site Moderator
Posts: 4104
Joined: Thu Nov 01, 2012 4:08 pm
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
change input to include