From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64734 Path: news.gmane.org!not-for-mail From: "Thomas Schmitz" Newsgroups: gmane.comp.tex.context Subject: Interesting package for XeTeX Date: Tue, 21 Dec 2010 18:37:12 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1292953057 32380 80.91.229.12 (21 Dec 2010 17:37:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Dec 2010 17:37:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 21 18:37:31 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PV69T-0000RZ-Je for gctc-ntg-context-518@m.gmane.org; Tue, 21 Dec 2010 18:37:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CE26ACA93A; Tue, 21 Dec 2010 18:37:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TPSJZbgbIt2J; Tue, 21 Dec 2010 18:37:27 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A5BCCCA936; Tue, 21 Dec 2010 18:37:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BE945CA936 for ; Tue, 21 Dec 2010 18:37:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id eULU6xw6hopJ for ; Tue, 21 Dec 2010 18:37:15 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 65A52CA934 for ; Tue, 21 Dec 2010 18:37:15 +0100 (CET) Original-Received: from uni-bonn.de (mail1x.uni-bonn.de [131.220.15.112]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oBLHbEVG018813 for ; Tue, 21 Dec 2010 18:37:15 +0100 Original-Received: from [87.178.46.136] (account tschmit1@uni-bonn.de) by be1.uni-bonn.de (CommuniGate Pro WEBUSER 5.2.12) with HTTP id 6049024 for ntg-context@ntg.nl; Tue, 21 Dec 2010 18:37:12 +0100 X-Mailer: CommuniGate Pro WebUser v5.2.12 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=131.220.15.112; country=DE; region=07; city=Bonn; latitude=50.7333; longitude=7.1000; http://maps.google.com/maps?q=50.7333,7.1000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05DJRBeN6 - d3192ac62400 - 20101221 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:64734 Archived-At: Hi all, on ctt, I just saw an annoucement for a xe(la)tex package which I found quite interesting. Here's the description: Location on CTAN: /macros/xetex/latex/ucharclasses 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. I was wondering: is something similar possible in mkiv yet? I know that with the font fallback mechanism, it's trivial to change fonts for unicode ranges, but is it possible to change hyphenation patterns (or even insert "arbitrary code") according to unicode blocks? Would be quite helpful for those of us working with different scripts. All best Thomas ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________