summaryrefslogtreecommitdiff
path: root/src/latex.ml
diff options
context:
space:
mode:
Diffstat (limited to 'src/latex.ml')
-rw-r--r--src/latex.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/latex.ml b/src/latex.ml
index 0520d074..39db43db 100644
--- a/src/latex.ml
+++ b/src/latex.ml
@@ -126,7 +126,7 @@ let rec latex_command ?prefix:(prefix="") ?label:(label=None) dir cmd no_loc ((l
| Some l -> Printf.sprintf "\\label{%s}" l
in
let cmd = !opt_prefix_latex ^ prefix ^ cmd in
- let lcmd = String.lowercase cmd in (* lowercase to avoid file names differing only by case *)
+ let lcmd = String.lowercase_ascii cmd in (* lowercase to avoid file names differing only by case *)
if StringSet.mem lcmd !commands then
latex_command ~label:label dir (cmd ^ "v") no_loc annot
else