diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/coq_tex.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/coq_tex.ml b/tools/coq_tex.ml index 8218f84f1f..dbdc2e9db1 100644 --- a/tools/coq_tex.ml +++ b/tools/coq_tex.ml @@ -66,7 +66,8 @@ let extract texfile inputv = let tex_escaped s = let delims = Str.regexp "[_{}&%#$\\^~ <>'`]" in let adapt_delim = function - | "_" | "{" | "}" | "&" | "%" | "#" | "$" as c -> "\\"^c + | "{" | "}" | "&" | "%" | "#" | "$" as c -> "\\"^c + | "_" -> "{\\char`\\_}" | "\\" -> "{\\char'134}" | "^" -> "{\\char'136}" | "~" -> "{\\char'176}" |
