Je rédige sur latex un document composé de 4 chapitres. A chaque chapitre, j'associe un plan, une bibliographie, et des annexes. Je tape chaque chapitre dans un .tex séparé ensuite je rassemble le tout dans un seul fichier grâce au code ci-dessous. J'utilise these.cls et minitoc.sty en fichiers attachés.
Mon problème est que la bibliographie n'apparait pas (aucune référence). Je ne connais pas bien latex et je n'arrive pas à résoudre ce problème. Une piste s'il vous plait ?
Merci d'avance.
Code : Tout sélectionner
\documentclass[twoside,a4paper,openright,11pt]{these}
.
\begin{document}
\setcounter{minitocdepth}{2}
\setcounter{minilofdepth}{1}
\setcounter{minilotdepth}{1}
%=================================================================
\title{Titre t}
\author{Prénom Nom}
\date{Version du \today}
\bibliographystyle{elsart-harv}
%=================================================================
% redéfinit la façon de renuméroter les figures
\renewcommand{\thefigure}{\Roman{chapter}.\arabic{figure}}
% redéfinit la forme des items
\renewcommand{\labelitemi}{$\bullet$}
\renewcommand{\labelitemii}{$\ast$}
% redéfinit la façon de numéroter les chapitres
\renewcommand{\thechapter}{\Roman{chapter}}
% permet de numéroter les pages avec des i au début
\pagenumbering{roman}
% sert a construire les petites tables des matieres, listes des figures et listes des tableaux
\dominitoc
\dominilof
\dominilot
% Page de garde
\input{page_de_garde.tex}
\newpage
\thispagestyle{empty}~\\
\newpage
\input{mention.tex}
\newpage
\tableofcontents
%======================
\chapter*{Introduction générale}
\addstarredchapter{Introduction générale}
\markboth{Introduction générale}{Introduction générale}
%======================
% permet de numeroter avec les chiffres arabes
\pagenumbering{arabic}
\begin{bibunit}[elsart-harv-fr]
\input{Introduction1.tex}
\renewcommand{\bibname}{Bibliographie}
\putbib[Introbib]
\end{bibunit}
%========
\chapter{XXXX}\label{chapter:first}
%========
\begin{bibunit}[elsart-harv]
\minitoc
\input{Chap1.tex}
\begin{subappendices}
%==================
\chapter*{Appendix of chapter I}
\markboth{Appendix of chapter I}{Appendix of chapter I}
%==================
\setcounter{equation}{0}
\renewcommand{\theequation}{\Roman{chapter}.A.\arabic{equation}}
\setcounter{table}{0}
\renewcommand{\thetable}{\Roman{chapter}.B.\arabic{table}}
\input{AppendixIA}
\input{AppendixIB}
\end{subappendices}
\phantomsection
\renewcommand{\bibname}{References of chapter I}
\addcontentsline{toc}{chapter}{References of chapter I}
\putbib[Chap2bib]
\newpage
\adjustmtc[-1]
\minilot
\minilof
\end{bibunit}
%========
\chapter{XXX}\label{chapter:second}
%========
\begin{bibunit}[elsart-harv]
\adjustmtc[2]
\minitoc
\input{Chap2.tex}
\begin{subappendices}
%==================
\chapter*{Appendix of chapter II}
\markboth{Appendix of chapter II}{Appendix of chapter II}
%==================
\setcounter{figure}{0}
\renewcommand{\thefigure}{\Roman{chapter}.A.\arabic{figure}}
\setcounter{table}{0}
\renewcommand{\thetable}{\Roman{chapter}.B.\arabic{table}}
\input{AppendixIIA}
\input{AppendixIIB}
\input{AppendixIIC}
\end{subappendices}
\phantomsection
\renewcommand{\bibname}{References of chapter II}
\addcontentsline{toc}{chapter}{References of chapter II}
\putbib[Chap2bib]
\newpage
\adjustmtc[-2]
\minilot
\minilof
\end{bibunit}
%========
\chapter{XXX}\label{chapter:third}
%========
\setcounter{table}{0}
\renewcommand{\thetable}{\Roman{chapter}.\arabic{table}}
\begin{bibunit}[elsart-harv]
\adjustmtc[3]
\minitoc
\input{Chap3.tex}
\begin{subappendices}
\newpage
%==================
\chapter*{Appendix of chapter III}
\markboth{Appendix of chapter III}{Appendix of chapter III}
%==================
\setcounter{figure}{0}
\renewcommand{\thefigure}{\Roman{chapter}.A.\arabic{figure}}
\setcounter{table}{0}
\renewcommand{\thetable}{\Roman{chapter}.A.\arabic{table}}
\input{AppendixIIIA}
\input{AppendixIIIB}
\input{AppendixIIIC}
\end{subappendices}
%\phantomsection
\renewcommand{\bibname}{References of chapter III}
\addcontentsline{toc}{chapter}{References of chapter III}
\putbib[Chap3bib]
\newpage
\adjustmtc[-3]
\minilot
\minilof
\end{bibunit}
%========
\chapter{Conclusion }\label{chapter: fourth}
%========
\begin{bibunit}[elsart-harv]
\adjustmtc[4]
\minitoc
\input{Chap4.tex}
\begin{subappendices}
\newpage
%==================
\chapter*{Appendix of chapter IV}
\markboth{Appendix of chapter IV}{Appendix of chapter IV}
%==================
\setcounter{figure}{0}
\renewcommand{\thefigure}{\Roman{chapter}.A.\arabic{figure}}
\setcounter{table}{0}
\renewcommand{\thetable}{\Roman{chapter}.A.\arabic{table}}
\input{AppendixIVA}
\i\input{AppendixIVB1}
\input{AppendixIVB2}
\input{AppendixIVB3}
\input{AppendixIVC}
\input{AppendixIVD}
\end{subappendices}
\phantomsection
\renewcommand{\bibname}{References of chapter IV}
\addcontentsline{toc}{chapter}{References of chapter IV}
\putbib[Chap2bib]
\newpage
\adjustmtc[-4]
\minilot
\minilof
\end{bibunit}
% ajout de la quatrieme de couverture
% nouvelles marges
\setlength{\oddsidemargin}{1.5cm}
\setlength{\evensidemargin}{1.5cm}
\setlength{\textwidth}{14cm}
\setlength{\topmargin}{0cm}
\setlength{\textheight}{24cm}
\newpage
\pagestyle{empty}
${}$
\newpage
\pagestyle{empty}
% insertion du resume et des mots clefs
\input{4emecouv.tex}
\end{document}