Concerning the Thesis template by kks32:

I try to use the minitoc package to get a table of contents for each chapter along with a bibliography by using \printbibliography[heading=subbibliography]. Both do not work.


As sooften with templates, they predefine stuff that is incompatible with certain pakages.

You can use package etoc to create local tocs for each chapter.


Add the following at the end of your preamble.

\etocsettocstyle{\subsection*{This Chapter contains:}}{\noindent\rule{\linewidth}{.4pt}}

After the chapter heading, use \localtableofcontents to print the toc for the current chapter.

Concerning the bibliographies: Ignore everything the template suggests to do by putting percent signs at the start of those line, i.e. commenting them out. Refer to that part of the wikibook or my forum post. There have been another forum thread, a github issue and Overleaf comments by the same user discussing this question. I cannot find any of them.

| improve this answer | |
  • tex.stackexchange.com/questions/369094/bibliography-issue Apparently, the user wiped away any trace. – Johannes_B Nov 29 '17 at 7:27
  • the question you linked to in your comment is tagged deleted by Community♦ Nov 15 at 3:00 (RemoveAbandonedClosed) and This question was automatically deleted., should we draw moderator attention to undelete it? (it had been closed as unclear what you're asking Nov 5 at 10:58) – user4686 Nov 29 '17 at 8:57
  • @jfbu the question cannot be answered as there is no problem. Same here, probably OP didn't run tge required tool. It is a two fold question, the first about minitoc is a good one. – Johannes_B Nov 29 '17 at 9:08
  • ok, that other question looked indeed unclear ... – user4686 Nov 29 '17 at 9:10
  • TOC part is working now, but Bibliography part not working when i put the lines that given in this link latex.org/forum/viewtopic.php?p=99099#p99099 @Johannes_B – Biki Teron Nov 29 '17 at 13:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.