AllenDowney / plastex-oreilly

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

How are conflicting templates resolved? #37

Open AllenDowney opened 11 years ago

AllenDowney commented 11 years ago

In plasTeX/Renderers/DocBook/ I had several tags with conflicting templates. For example, book.zpts defined templates for index and ref, but index is also defined in Index.zpts, and ref is also defined in Crossrefs.zpts

In my development installation, the definitions in books.zpts took precedence.

In the deployed installation, it looks like the other definitions are taking precedence, or books.zpts is being ignored.

So that was causing some hard-to-replicate errors.

My question is: how does plastex resolve conflicting templates, and why is it behaving differently in my development environment?