From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54265 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: Math setup with Times (Termes) Date: Thu, 12 Nov 2009 15:38:54 +0100 Message-ID: <6faad9f00911120638m4797ca1fy65d35ff8a3237411@mail.gmail.com> References: <4AFC196E.5070201@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 1258036755 15825 80.91.229.12 (12 Nov 2009 14:39:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Nov 2009 14:39:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 12 15:39:10 2009 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.50) id 1N8apE-0003Ve-E9 for gctc-ntg-context-518@m.gmane.org; Thu, 12 Nov 2009 15:39:04 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5A50CC9AE3; Thu, 12 Nov 2009 15:36:59 +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 UqjtFPoVE97R; Thu, 12 Nov 2009 15:36:56 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 791D2C9A7C; Thu, 12 Nov 2009 15:36:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 14067C9ABB for ; Thu, 12 Nov 2009 15:36:54 +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 g++yhD5xCR2N for ; Thu, 12 Nov 2009 15:36:51 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by balder.ntg.nl (Postfix) with ESMTP id 69A6EC9A41 for ; Thu, 12 Nov 2009 15:36:51 +0100 (CET) Original-Received: by fg-out-1718.google.com with SMTP id 19so1819723fgg.2 for ; Thu, 12 Nov 2009 06:38:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=LXbY196a0qsvfMlbJ3Et+tEdGUERHN33QjrHHXYEZ7A=; b=ZmE8dp037363gTk6vs9n8FVvm6JZ/22BoFha4lY1LR+3CIM9+K6f8tDNz5BVjBH6Lo asvVYYMVNubEkofkZaVEd80IeEFS06JtI2xFMJ7BuPkoqLag+oCEOuEL89sov+vaiUtf dyD8lRLWQLfx0cy/JkrOCdlDBcwmXziNHgg/8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=O1obEs6lTPdwqUUs2uqpDdeIMk7D47H4a1XfYdMxQ7plRY9jMjXrMS0mYFpP93tCEL PZfRjzxpVyIArBKmntXPqaWpZrAV6qZpVsg27zu6LyOmeQFsbgQuvuscctV2TPC5fxnK 7dxNm+PQGuhxhSbygC0zg3wNSu2T651ycvcI8= Original-Received: by 10.216.87.136 with SMTP id y8mr912348wee.70.1258036735032; Thu, 12 Nov 2009 06:38:55 -0800 (PST) In-Reply-To: <4AFC196E.5070201@gmail.com> 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:54265 Archived-At: On Thu, Nov 12, 2009 at 15:19, Vyatcheslav Yatskovsky wrote: > Hello >> >> I now get italic math (but roman h for example). So this needs to be >> fixed a bit, but it's the right direction at least. (Though it might >> be better to use generic names like "regular" or "italic" for name= in >> case that users try to use some other times-like base font for >> example.) >> > > Wow, Mojca! God bless you! > > Can I assist you now? Just explain me what to do. You can take a look at \starttext \loadmapfile[original-youngryu-tx.map] \font\testlm=lmmi10.tfm \font\testone=rtxmi.tfm \testone \font\testtwo=rtxptmri.tfm \testtwo \dostepwiserecurse{0}{127}{1}{% \strut\hbox to 4ex{\recurselevel}% \hbox to 2.6ex{\color[red]{\testone\char\recurselevel}}% \hbox to 2.6ex{\color[blue]{\testtwo\char\recurselevel}}% \hbox to 2.6ex{\color[black]{\testlm\char\recurselevel}} } \stoptext Then two copies of tex-mi in math-vfu are needed (some other name has to be assigned). One where only red characters are used and the other one where all the others are left (just comment out the rest that's not needed). You probably need to map g, v, w, y, ... separately to the math italic unicode range (that's not done in current tex-mi). You may visually check if that's consistent with LM font in the third row. Mojca (Thinking one step further ... one could take all the greek letters from TeX Gyre as well, though I'm not 100% sure ... it could be that there is some metric information present in these tfm files that's missing in otf fonts.) ___________________________________________________________________________________ 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 ___________________________________________________________________________________