Currently all chapter references are hardcoded, for example: chapter<SPACE/>3 These should be references, as all section and subsection references.