[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 b882d4e: Fix problems with ligatures in PDF versi
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 b882d4e: Fix problems with ligatures in PDF version of ELisp manual |
Date: |
Sat, 23 Dec 2017 03:35:29 -0500 (EST) |
branch: emacs-26
commit b882d4ef11b4d12cc16face4a0e80818045a2aa3
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
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)
---
doc/lispref/strings.texi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi
index 09c3bdf..24d3ee4 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
result may differ compared to treating a one-character string. For
example:
address@hidden
@example
@group
(upcase "fi") ; note: single character, ligature "fi"
@@ -1207,6 +1208,19 @@ example:
@result{} 64257 ; i.e. ?fi
@end group
@end example
address@hidden ifnottex
address@hidden
address@hidden
address@hidden
+(upcase "fi") ; note: single character, ligature "fi"
+ @result{} "FI"
address@hidden group
address@hidden
+(upcase ?fi)
+ @result{} 64257 ; i.e. ?fi
address@hidden group
address@hidden example
address@hidden iftex
To avoid this, a character must first be converted into a string,
using @code{string} function, before being passed to one of the casing
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 b882d4e: Fix problems with ligatures in PDF version of ELisp manual,
Eli Zaretskii <=