excellent timing, i was trying to play with this myself after seeing the custom entities used in adobe's alice in wonderland sample book, but i couldn't get it to work ; i got a bit of garbage showing at the beginning of the page, and the entities weren't translated correctly. i'm very interested to learn more about it. i starting looking for some info but haven't had time to get very far, but we could start by trying to reverse-engineer that adobe file.