aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2017-12-23 10:34:42 +0200
committerEli Zaretskii2017-12-23 10:34:42 +0200
commitb882d4ef11b4d12cc16face4a0e80818045a2aa3 (patch)
treee480fd6a7a6e3e6824f66bf5d0b4480cb77e4c4c
parent289dd53bb3c139d4f282e5bc5dbfe066f9f026ab (diff)
downloademacs-b882d4ef11b4d12cc16face4a0e80818045a2aa3.tar.gz
emacs-b882d4ef11b4d12cc16face4a0e80818045a2aa3.zip
Fix problems with ligatures in PDF version of ELisp manual
* doc/lispref/strings.texi (Case Conversion): Avoid problems with ligatures in printed versions of the manual. (Bug#29818)
-rw-r--r--doc/lispref/strings.texi14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi
index 09c3bdf71f6..24d3ee45877 100644
--- a/doc/lispref/strings.texi
+++ b/doc/lispref/strings.texi
@@ -1197,6 +1197,7 @@ a character, functions are unable to perform proper substitution and
1197result may differ compared to treating a one-character string. For 1197result may differ compared to treating a one-character string. For
1198example: 1198example:
1199 1199
1200@ifnottex
1200@example 1201@example
1201@group 1202@group
1202(upcase "fi") ; note: single character, ligature "fi" 1203(upcase "fi") ; note: single character, ligature "fi"
@@ -1207,6 +1208,19 @@ example:
1207 @result{} 64257 ; i.e. ?fi 1208 @result{} 64257 ; i.e. ?fi
1208@end group 1209@end group
1209@end example 1210@end example
1211@end ifnottex
1212@iftex
1213@example
1214@group
1215(upcase "fi") ; note: single character, ligature "fi"
1216 @result{} "FI"
1217@end group
1218@group
1219(upcase ?fi)
1220 @result{} 64257 ; i.e. ?fi
1221@end group
1222@end example
1223@end iftex
1210 1224
1211 To avoid this, a character must first be converted into a string, 1225 To avoid this, a character must first be converted into a string,
1212using @code{string} function, before being passed to one of the casing 1226using @code{string} function, before being passed to one of the casing