maven.pdf.generateTOCto specify the position of the Table of Contents. This can be used to work around some memory problems with large files.
+ ]]> and ]]> tags.]]>.]]> .falsestart' (default), 'end' and 'none'.
+ Use this in particular if you experience memory problems with large documents: moving the Table of Contents to the end of the file,
+ or excluding it, greatly reduces memory consumption.
+ start