From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36722 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: waiting for mswincontext Date: Fri, 21 Sep 2007 20:15:51 +0200 Message-ID: <20070921201551.9fffa564.schuster.wolfgang@googlemail.com> References: <20070919164032.193dbd41.schuster.wolfgang@googlemail.com> <46F13619.6030609@wxs.nl> <20070919192254.1e1fe351.schuster.wolfgang@googlemail.com> <46F163C6.1030703@wxs.nl> <6faad9f00709191131m3b4b075ak6581d7e3135b3012@mail.gmail.com> <46F17651.5080004@wxs.nl> <46F21A40.70204@elvenkind.com> <6faad9f00709200618h1077af37q4abb381040e98afb@mail.gmail.com> <20070920202228.571ed808.schuster.wolfgang@googlemail.com> <6faad9f00709201321p6f7f397cu99401d29578d494e@mail.gmail.com> <46F2DAE4.4030601@wxs.nl> <20070921093738.72d4ab06.schuster.wolfgang@googlemail.com> <46F3BBC1.2030102@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1190398594 17768 80.91.229.12 (21 Sep 2007 18:16:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Sep 2007 18:16:34 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 21 20:16:29 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IYn3F-0007Js-GD for gctc-ntg-context-518@m.gmane.org; Fri, 21 Sep 2007 20:16:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3291F2037F; Fri, 21 Sep 2007 20:16:21 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01064-05; Fri, 21 Sep 2007 20:16:10 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 53D9F20361; Fri, 21 Sep 2007 20:16:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A357820361 for ; Fri, 21 Sep 2007 20:16:06 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00623-04-2 for ; Fri, 21 Sep 2007 20:16:01 +0200 (CEST) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by ronja.ntg.nl (Postfix) with ESMTP id 0F14320356 for ; Fri, 21 Sep 2007 20:16:01 +0200 (CEST) Original-Received: by nf-out-0910.google.com with SMTP id b2so719508nfb for ; Fri, 21 Sep 2007 11:16:00 -0700 (PDT) Original-Received: by 10.86.62.3 with SMTP id k3mr2495727fga.1190398560370; Fri, 21 Sep 2007 11:16:00 -0700 (PDT) Original-Received: from eve ( [62.180.204.86]) by mx.google.com with ESMTPS id i8sm1208925nfh.2007.09.21.11.15.55 (version=SSLv3 cipher=OTHER); Fri, 21 Sep 2007 11:15:58 -0700 (PDT) In-Reply-To: <46F3BBC1.2030102@wxs.nl> X-Mailer: Sylpheed 2.4.4 (GTK+ 2.10.13; i686-pc-mingw32) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:36722 Archived-At: On Fri, 21 Sep 2007 14:40:33 +0200 Hans Hagen wrote: > Wolfgang Schuster wrote: > > > THis is a nice feature for our own simple plain documents but nothing > > for ConTeXt because there is no replacement in pdfTeX/luaTeX but it > > would be nice to have also something to use different fonts for latin, > > greek, CJK without using environments and switch to them with only the > > right characters. > > > > I want such a feature because CJK fonts have sometimes ugly latin > > characters and I want to use another font for them, I know this did > > happen in the current ConTeXt version but there should be no > > difference in fonts for CJK and the rest. Both should be defined with > > typescripts, one can use one fonts for both or select one for CJK and > > another one for the rest. > > i dunno what this featurs is but if it has to do with some kind of > automatism for switching fonts depending on chars, then it has to wait > till i have something in place for luatex (using virtual fonts btw, > basics are there actually), and then we can look if we can use the same > high level interface to mimick this in xetex; it's ok to have the same > high level interface with slightly different behaviour, as with font > features you can use this feature for font switching but this is not hard coded. Version 0.997 of XeTeX introduced a new concept to assign every character a class value. You can define rules what should happen if you switch for example from class 1 to class 2 and another one if you do the same in reverse order. The commands for this action are saved in token register and came into action if this class switch appear in the document. the unicode-letters file from XeTeX define a class for quotation, punctutation ... in CJK and another one for the other CJK characters and define spacing and linebreaking between normal characters and punctuation now by the class number (you did something similiar in your chinese module but used active characters instead). The XeTeX reference manual has a simple example of this concept on page 10 and 11. http://tug.ctan.org/info/xetexref/XeTeX-reference.pdf can't this be done in LuaTeX with nodes (or what you mentioned for your color modell) or something similar. > >>>>> - etex.src (btw: why is that one only used in xetex, but not in pdfTeX?) > >>>> this is also used for the pdftex format in w32tex > >> because i cannot imagine a macro package to use the content of that file > >> > >>> I will take a look at w32tex then. > >>> > >>> It would be really handy to have those three plain formats. > >> well, only is if it is not adding too much to the minimals, (and formats > >> to be generated by users) > > > > I have nothing against to make another archive cont-pln with all the > > file we need for the plain formats. > > no problem if we need what should go in there > > >> if you want such formats, we need dedicated files to make them, like > >> pdftex-plain.tex and such (after all, we want predictable stuff) for > >> initializing them > >> > >> Hans > > > > the file name for the format should math the engine name because it > > will be loaded with engine by default if you call it, e.g. pdftex myfile > > with process the file myfile with the format file pdftex.fmt > > sure, but that's why you can have a different formatname and filename > that generates it, so you can have blabla.tex being used for generating > the format pdftex.fmt (also, since one has to move files anyway, > renaming isno big deal either) but I am too lazy to rename files or create them always by hand with every update ... Wolfgang ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________