fix comma placement in render-text macrolet to properly call get-xml-char
factor out and remove latex stuff. this can now be found in smarkup-latex.
add exported symbols for various *document-... variables, render-as and with-keyword-args
remove latex stuff -- now in smarkup-latex