Lars, Thanks for trying out my suggestion. The information is valuable. I assume that the error messages you are getting are about validity. You might set internetAccess to no, so it doesn't look for the DTD, but you may then get messages about entities. I'm glad someone else is really familiar with liblouisxml. My proposal for solving the softreturn problem is to introduce escape sequences that would be interpreted by the formatter. Each such sequence would begin with the escape character (hex 1b), followed by another character, say n for new line. The third column of entries in .sem files could include these sequences as needed. They are already used for matrices and tables. This will be in the next release of liblouisxml. John -- John J. boyer; President, Chief Software Developer JJB Software, Inc. http://www.jjb-software.com Madison, WI USA Developing software for people with disabilities For a description of the software and to download it go to http://www.jjb-software.com