wannesm/adsphd

make bare

Closed this issue · 3 comments

The documentation states:

To create a bare document containing just the chapter text (i.e., NO TOC and
references), use the 'bare' target.

For me, it does the exact opposite. It creates a document with ONLY the TOC and the references.

So, I did not manage to fix it, but I found a work-around.

In the main Makefile I simply extended the list of commands to ignore (in line 164), and added tableofcontents and includebibliography to the IGNOREINCHAPTERMODE variable.

IGNOREINCHAPTERMODE = \(makefrontcover\|makebackcover\|tableofcontents\|includebibliography\|maketitle\|listoffigures\|listoftables\|printnomenclature\|printglossary\|includeonly\|instructionschapters\)

As I did not need the creation of non-bare chapters anyway, for me this is fine.

Fixed it in commit 705b04b.