Conversion Rules Applied

  • Replace `` and '' with standard quotes ""
  • Replace custom commands (like \M) with their definitions
  • Remove font formatting (\textit{}, \textbf{}, etc.)
  • Remove escape characters (e.g., \% → %)
  • Replace newlines with spaces and normalize whitespace
  • Handle \xspace commands properly