[luatex] Hyphenation in plain TeX

Reinhard Kotucha reinhard.kotucha at web.de
Fri Oct 8 19:46:07 CEST 2010


On 8 October 2010 Arthur Reutenauer wrote:

 > > Even if this is not relevant for vietnamese, the point still
 > > holds in general: \[ul]ccode's are not used only for hyphenation,
 > > so it would be rather strange to set them only in hyphenation
 > > files.
 > 
 >   Thanks Manuel, but I really would have liked Reinhard to answer...

Manuel is correct, and I'm glad that he already answered the question
while I was away for lunch.  Vietnemese is not special in this
respect.  It's used by LaTeX's \MakeUppercase and AFAIR Context has
macros like \word, \Word, and \WORD. 

For Vietnamese it's sufficient to retrieve \uccode/\lccode mappings
from the file UnicodeData.txt (unicode.org), and I hope for other
languages it's sufficient too.  It's certainly best to do the mappings
for all "case-aware" characters in the format file.  Since there are
no such mappings for CJK, I don't expect that too much space is
required.

These mappings are not language specific, IMO.  Thus, it's wrong to
select subsets of them by \selectlanguage.  Otherwise we probably run
into the same trouble we already have with font encodings on 8-bit
systems.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


More information about the luatex mailing list