Open AllenDowney opened 12 years ago
I think I've got this working. tree_cleaner adds an attribute to the document indicating whether it contains any MML.
Then in Renderers/DocBook/Themes/book/default-layout.xml I've got a conditional that checks this flag.
See commit f60114b765380357416ae1c7416d96b4605e388c
I think I've got this working. tree_cleaner adds an attribute to the document indicating whether it contains any MML.
Then in Renderers/DocBook/Themes/book/default-layout.xml I've got a conditional that checks this flag.
See commit f60114b765380357416ae1c7416d96b4605e388c