Added a routine to convert variable names with underscores into somthing readable by a tex processor.