[tex-live] Luatex formats and hyphenation patterns
khaledhosny at eglug.org
Wed Feb 24 19:08:32 CET 2010
On Tue, Feb 23, 2010 at 10:22:57PM +0100, Heiko Oberdiek wrote:
> * \patterns (and \hyphenation) are *global* assignments,
> therefore \gdef should be used to define "\plded@#1".
> * Loading at runtime means, the catcodes are not known any longer.
> Before loading a file, the correct catcodes must be set
> and restored after loading. If there is a resource managment
> for catcode tables, then a catcode table can be used for
> this purpose.
> LuaTeX also provides library `lang'. If I remember Taco correctly,
> the patterns as plain Lua string are faster than \patterns.
> Loading the patterns via Lua also solves the catcode problem.
> Probably it is not to difficult for the hyph-utf8 project
> to provide lua pattern input files that are generated automatically
> from the project data?
> A strict name convention can help to detect whether the
> patterns for a language is available as Lua code and/or TeX code.
Here is another attempt:
* used \gdef instead of \def for "\plded@#1".
* redefined \patterns and \hyphenation to use the corresponding lua
Arabic localiser and member of Arabeyes.org team
Free font developer
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2288 bytes
Desc: not available
More information about the tex-live