Have templates for toc and title. Working on main. Added mine-all function to merge_files and fixed whitespace-removing regex in libreoffice's paragraph-maid; it now removes whitespace and the non-breaking space that Libre Office inserts.