aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/coqdoc
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2015-09-26 16:31:29 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2015-09-26 16:33:08 +0200
commit4b88d774729e0ab7916730e8e6ebedc2033a87f2 (patch)
treea91951ae7b9da321b68c20cb0964b96fbd531dea /tools/coqdoc
parent5481ff4f6935874ac3798a61f5a2a810006bde37 (diff)
Documenting how to support some special unicode characters in coqdoc
(thanks to coq-club, Sep 2015).
Diffstat (limited to 'tools/coqdoc')
-rw-r--r--tools/coqdoc/output.ml7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/coqdoc/output.ml b/tools/coqdoc/output.ml
index 06030c45a..8589f94a0 100644
--- a/tools/coqdoc/output.ml
+++ b/tools/coqdoc/output.ml
@@ -197,8 +197,11 @@ module Latex = struct
printf "\n";
printf "%%Warning: tipa declares many non-standard macros used by utf8x to\n";
printf "%%interpret utf8 characters but extra packages might have to be added\n";
- printf "%%(e.g. \"textgreek\" for Greek letters not already in tipa).\n";
- printf "%%Use coqdoc's option -p to add new packages.\n";
+ printf "%%such as \"textgreek\" for Greek letters not already in tipa\n";
+ printf "%%or \"stmaryrd\" for mathematical symbols.\n";
+ printf "%%Utf8 codes missing a LaTeX interpretation can be defined by using\n";
+ printf "%%\\DeclareUnicodeCharacter{code}{interpretation}.\n";
+ printf "%%Use coqdoc's option -p to add new packages or declarations.\n";
printf "\\usepackage{tipa}\n";
printf "\n"