More work on the GUI and conversion
Tried various ways to police the execution of JS code from Transformer, but no joy. No responses to my question either. This will take some work.
On the other hand, I made a lot of progress on the Waterloo Script conversion sequence; I'm now producing valid XHTML files from most of the script files I throw at it. I still have handlers to add, and there are issues such as what to do with index (.ix
) commands, which only make sense in the context of a larger document, but if I can get DB to help me reconstruct a complete file for each book, I can operate on the single file. There are also some accented characters I'm not handling, and I think it will be wise to run an XSLT transformation on the end result, to rationalize some of the block elements which handle (for instance) indenting. The transition from serial switch commands to hierarchical XHTML is slightly bumpy.