CTAN has a new package: ucharclasses
Date: December 21, 2010 11:42:01 AM CET
This should be at your local mirror.
Jim Hef{}feron
Saint Michael's College
........................................................................
The following information was provided by our fellow contributor:
Name of contribution: ucharclasses
Version number: 1.0
Author's name: Michiel Kamermans
Location on CTAN: /macros/xetex/latex/ucharclasses
Summary description: A XeLaTeX package for automatic code insertion between
unicode blocks, such as automatic font switching for different languages
License type: other-nonfree
Announcement text:
This package addresses one of the few features where TeX still has to play catch-up to word processing programs: automatic font switching for different languages. In fact, it goes one better than word processing programs and comes with macros for inserting arbitrary code between text from different unicode blocks, by making use of XeTeX's little known "intercharclass" behaviour.
This package is at http://tug.ctan.org/tex-archive/macros/xetex/latex/ucharclasses . Information is at http://tug.ctan.org/pkg/ucharclasses (it may take a day for the information to appear). We are supported by the TeX Users Group http://www.tug.org . For your users group see http://www.tug.org/usergroups.html .
This package addresses one of the few features where TeX still has to play catch-up to word processing programs: automatic font switching for different languages. In fact, it goes one better than word processing programs and comes with macros for inserting arbitrary code between text from different unicode blocks, by making use of XeTeX's little known "intercharclass" behaviour.
This package is at http://tug.ctan.org/tex-archive/macros/xetex/latex/ucharclasses . Information is at http://tug.ctan.org/pkg/ucharclasses (it may take a day for the information to appear). We are supported by the TeX Users Group http://www.tug.org . For your users group see http://www.tug.org/usergroups.html .
ucharclasses – Font actions in XeTeX according to what is being processed
The package takes care of switching fonts when you switch from one Unicode block to another in the text of a document. This way, you can write a document with no explicit font selection, but a series of rules of the form “when entering block …, switch font to use …”.
Package | ucharclasses |
Version | 2.6 |
Maintainer | Mike Kamermans |