Added support for customized doctext.inc/header2.inc