diff options
| author | msozeau | 2009-03-26 12:20:37 +0000 |
|---|---|---|
| committer | msozeau | 2009-03-26 12:20:37 +0000 |
| commit | 1c4ab025a196d47e20b80f04f60e34edd60a44c2 (patch) | |
| tree | 1bc4803926018195e0a025d27651a688944002f0 | |
| parent | 19d9a7d7ea5cd07b4436b3aa161cd1ae4395cbc1 (diff) | |
Protect typeset arguments in titles in LaTeX output (fixes compilation
errors in Library.coqdoc).
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12017 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rw-r--r-- | tools/coqdoc/output.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/coqdoc/output.ml b/tools/coqdoc/output.ml index 032c35caf8..0343809b02 100644 --- a/tools/coqdoc/output.ml +++ b/tools/coqdoc/output.ml @@ -292,7 +292,7 @@ module Latex = struct let ident s l = if !in_title then ( - printf "\\texorpdfstring{"; + printf "\\texorpdfstring{\\protect"; with_latex_printing (fun s -> ident s l) s; printf "}{"; raw_ident s; printf "}") else |
