Well, if it works reliably on your test examples, it's 'good enough' code! :)Quote from: "cormullion"
I think there's no real alternative to carefully slicing it up like you're doing. Although by slicing the XML into pieces presumably it's no longer valid XML when it comes out...?
That's right. I was thinking of outputting some basic markdown, and then importing it into the Retext program. After I posted this I thought of chopping up the text
Welcome Peter!Quote from: "hilti"
Would You please post an example of Your XML. It's easier to help then.
Thanks
- Marc
It is the "Introduction to Scheme" at uTexas. I saw that it was in the "garbage" folder there, I want to read it, but the format is awful. Retext will output this as pdf. I found it while trying to figure out "(+1- var)" syntax. I definitely prefer "dec".
Thanks-
Peter