LaTeX forum ⇒ BibTeX, biblatex and biberChapterbib: 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?

Postby tonguim » Tue Aug 05, 2014 5:03 pm

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:

  1. \documentclass[PhD,english,francais]{ulthese}
  2.  
  3. \ifxetex\else \usepackage[utf8]{inputenc} \fi
  4.  
  5. \usepackage{amsmath} % recommandé pour les mathématiques
  6. \usepackage{hyperref}
  7. \hypersetup{colorlinks,allcolors=ULlinkcolor}
  8.  
  9. \frenchbsetup{%
  10. CompactItemize=false, % ne pas compacter les listes
  11. ThinSpaceInFrenchNumbers=true % espace fine dans les nombres
  12. }
  13.  
  14. \titre{<Rappot>}
  15. \auteur{<>}
  16. \programme{}
  17. \annee{<2014>}
  18.  
  19. \begin{document}
  20.  
  21. \frontmatter % pages liminaires
  22.  
  23. \pagetitre % production de la page titre
  24.  
  25. \cleardoublepage
  26.  
  27. \begingroup %%%%%%%%%%%%%%% Ajout
  28. \let\cleardoublepage\clearpage %%%%%%%%%%%%%%% Ajout
  29. \tableofcontents % production de la TdM
  30. \endgroup %%%%%%%%%%%%%%% Ajout
  31.  
  32. \cleardoublepage
  33.  
  34. \mainmatter % corps du document
  35.  
  36. \part{Contexte général et état de l'art}
  37. \input{../chap1}
  38. \input{../chap3}
  39. \input{../chap4}
  40. \input{../chap5}
  41.  
  42. \part{Méthodologie et objectifs scientifiques}
  43. \input{../chap6}
  44. \input{../chap7}
  45.  
  46. \end{document}


As attachment is the document class file. In this document, at line 153, I have add the line
  1. \RequirePackage{chapterbib}
hoping it will fix the problem but nothing did change.
Attachments
ulthese.cls
(12.54 KiB) Downloaded 192 times

User avatar
Johannes_B
Site Moderator
Posts: 4104
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Tue Aug 05, 2014 5:11 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

Postby bianbian » Sun Jul 08, 2018 3:17 pm

change input to include


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 4 guests