title: RichTextBox RTF to LaTeX
body: <p>I am having a RichTextBox that allows user to enter a string that may have bold characters. The string is then stored in XML and transformed to LaTeX using XSLT. I am having issues with the RTF parsing. Making any characters except the first character bold, works fine as the RTF bold tag is inserted properly as shown below.</p>
  
  <p><img src="https://i.stack.imgur.com/kKpNU.png" alt="enter image description here"></p>
  
  <p>However, if the first character is bold, the opening RTF bold tag will be placed somewhere in between the RTF prefixes as shown below. Therefore, conversion of bold characters from RTF to LaTeX may have issues if the first character is bold.</p>
  
  <p><img src="https://i.stack.imgur.com/LBWEG.png" alt="enter image description here"></p>
  
  <p>Any solutions to this problem? Thanks.</p>