TrToHtml and TrFromHtml commands added with better documentation.