pub fn normalize_value(s: &str) -> String
Normalize a string value (remove excessive whitespace, handle LaTeX)