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)
This commit is contained in:
parent
289dd53bb3
commit
b882d4ef11
1 changed files with 14 additions and 0 deletions
|
@ -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
|
result may differ compared to treating a one-character string. For
|
||||||
example:
|
example:
|
||||||
|
|
||||||
|
@ifnottex
|
||||||
@example
|
@example
|
||||||
@group
|
@group
|
||||||
(upcase "fi") ; note: single character, ligature "fi"
|
(upcase "fi") ; note: single character, ligature "fi"
|
||||||
|
@ -1207,6 +1208,19 @@ example:
|
||||||
@result{} 64257 ; i.e. ?fi
|
@result{} 64257 ; i.e. ?fi
|
||||||
@end group
|
@end group
|
||||||
@end example
|
@end example
|
||||||
|
@end ifnottex
|
||||||
|
@iftex
|
||||||
|
@example
|
||||||
|
@group
|
||||||
|
(upcase "fi") ; note: single character, ligature "fi"
|
||||||
|
@result{} "FI"
|
||||||
|
@end group
|
||||||
|
@group
|
||||||
|
(upcase ?fi)
|
||||||
|
@result{} 64257 ; i.e. ?fi
|
||||||
|
@end group
|
||||||
|
@end example
|
||||||
|
@end iftex
|
||||||
|
|
||||||
To avoid this, a character must first be converted into a string,
|
To avoid this, a character must first be converted into a string,
|
||||||
using @code{string} function, before being passed to one of the casing
|
using @code{string} function, before being passed to one of the casing
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue