[luatex] setting lccode "automatically"

Philipp Stephani st_philipp at yahoo.de
Thu Jun 23 13:02:54 CEST 2011


Am 23.06.2011 um 12:35 schrieb Taco Hoekwater:

> 
>> 
>> No, and even without those local-dependent cases, it would still be
>> impossible to build a correct lccode/uccode table since
>> lowercasing/uppercasing one character is context-dependent and can
>> result in more than one character: the uppercase of ß is SS.
> 
> Well, in this particular example, there is ... U+1E9E ! :) :)

No, the capital ß is not the uppercase version of ß. SpecialCasing.txt has

# The German es-zed is special--the normal mapping is to SS.
# Note: the titlecase should never occur in practice. It is equal to titlecase(uppercase(<es-zed>))

00DF; 00DF; 0053 0073; 0053 0053; # LATIN SMALL LETTER SHARP S

>> LuaTeX might implement the casing
>> algorithms (with tailoring) described in section 3.13 of the
>> standard. 
> 
> You do not happen to be bored and looking for something interesting
> to do in the coming few weeks, by any chance?

The casing algorithms are already implemented in the ICU library (and probably in other libraries as well).


More information about the luatex mailing list