AllenDowney / plastex-oreilly

Branch of plastex that generates DocBook 4.5 that meets O'Reilly style guidelines.
7 stars 7 forks source link

If the XML doesn't include mml, we don't want the entity to reference mml #29

Open AllenDowney opened 12 years ago

AllenDowney commented 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