Cleanup toc generation
Right now the toc is generated by custom XQuery and just outputs tei:head/text(). Instead, PM should be called to apply correct formatting.
Caveat: footnotes should be ignored and not appear in the toc!
Right now the toc is generated by custom XQuery and just outputs tei:head/text(). Instead, PM should be called to apply correct formatting.
Caveat: footnotes should be ignored and not appear in the toc!