build: fixes links and reference section completion
build: minor, fixes related to pdf building
build: tweaks to legacy manpage generation