From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50219 Path: news.gmane.org!not-for-mail From: Yue Wang Newsgroups: gmane.comp.tex.context Subject: Font switching question Date: Mon, 11 May 2009 20:08:07 +0800 Message-ID: <68bfdc900905110508l6aba12f1of1aa8edb420a1e84@mail.gmail.com> 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: ger.gmane.org 1242043761 6943 80.91.229.12 (11 May 2009 12:09:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 May 2009 12:09:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 11 14:09:12 2009 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 1M3UJj-0007En-QK for gctc-ntg-context-518@m.gmane.org; Mon, 11 May 2009 14:09:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 50ABD1FE76; Mon, 11 May 2009 14:09:11 +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 28763-05-3; Mon, 11 May 2009 14:08:22 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8589E1FE31; Mon, 11 May 2009 14:08:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 23B861FDE6 for ; Mon, 11 May 2009 14:08: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 28804-05-2 for ; Mon, 11 May 2009 14:08:09 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id 73D7B1FE31 for ; Mon, 11 May 2009 14:08:09 +0200 (CEST) Original-Received: from qw-out-1920.google.com (qw-out-1920.google.com [74.125.92.146]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4BC88aq006899 for ; Mon, 11 May 2009 14:08:08 +0200 Original-Received: by qw-out-1920.google.com with SMTP id 5so1651870qwc.38 for ; Mon, 11 May 2009 05:08:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=ijbKEK7/4vs6sHTiJX9UrkZe95EFVTh2PI3pGUy/fzA=; b=sAjX3l8hyc6Vq7ObcSQZJfiBJCc/a5xRQwES6ck/4sSsa9nsOMrTaK9kT82Z2iT91R xpTSjinWNMWpEBuSJsyE7dJoAUibhPOUxgxVfpuitHYDBFtNxFvY4CeqdbDOAxXRSnMP 9gK1FMd0a5tTRNxCBN/VGmtLASMvW48atVanQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=NC08OzFL1PpLpgNTtjuSvXBAvxEyljGzviUYp+2jOCPWmQcn0IgIlC14EQBryC/VsJ +w6EJwiIrFJIIay46Kzh7zNO1vuzlYvV5GLhVDVG76fdcq49uutliouaxecsRrRrpNM3 +/tgosD8QvB/KehOHqxCcjarnDL5OpWF0rUg0= Original-Received: by 10.229.97.202 with SMTP id m10mr639517qcn.77.1242043687174; Mon, 11 May 2009 05:08:07 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.92.146; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 223048247 - 18a529f0a658 - 20090511 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:50219 Archived-At: Hi, Hans: I am working on Chinese support on XeTeX/ConTeXt and I almost finished that. I will later upload a module called t-zhspacing to the garden (or CTAN?). But there is one last problem. Let me explain like this. Suppost I have two typescripts (typeA and typeB) and both with complete typeface defined (rm/ss/tt, bf/it/bfit/smcp....) Now I want to do something like this: \usetypescript[typeA] \usetypescript[typeB] \setupbodyfont[typeA] This should be typeA/rm/normal \it and this should be typeA/rm/it \ss and this should be typeA/ss/it %here everything is ok in context \typeB this should be typeB/ss/it %(but context gives me typeB/rm/normal. How can I automatically get what I want?) Yue Wang ___________________________________________________________________________________ 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 ___________________________________________________________________________________