From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46523 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Using dsrom with MKIV Date: Wed, 24 Dec 2008 20:25:11 +0100 Message-ID: <49528C97.2010404@wxs.nl> References: 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: ger.gmane.org 1230146821 14063 80.91.229.12 (24 Dec 2008 19:27:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Dec 2008 19:27:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 24 20:28:07 2008 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 1LFZOn-0001mL-Or for gctc-ntg-context-518@m.gmane.org; Wed, 24 Dec 2008 20:28:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0F16E1FC98; Wed, 24 Dec 2008 20:26:51 +0100 (CET) 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 03492-02-3; Wed, 24 Dec 2008 20:25:50 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5C2291FC90; Wed, 24 Dec 2008 20:25:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C236B1FC90 for ; Wed, 24 Dec 2008 20:25:48 +0100 (CET) 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 03492-02-2 for ; Wed, 24 Dec 2008 20:25:10 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with ESMTP id C949B1FB29 for ; Wed, 24 Dec 2008 20:25:10 +0100 (CET) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 20040-1840426 for ; Wed, 24 Dec 2008 20:25:10 +0100 User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) In-Reply-To: X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 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:46523 Archived-At: Aditya Mahajan wrote: > Hi, > > The dsrom math font only works partially with MKIV, and I do not > understand what is happening. Consider the following example from > http://wiki.contextgarden.net/Doublestroke (which I wrote, after > suggestions on the mailing list). One needs the fonts, which are part of > TL and are also available at > http://ctan.org/tex-archive/fonts/doublestroke/ > > %======================================================================= > \loadmapfile[dstroke.map] > > \starttypescript [math] [modern,computer-modern,latin-modern,ams] [size] > \definebodyfont [17.3pt,14.4pt,12pt][mm] > [mb=dsrom12 sa 1] > \definebodyfont [11pt,10pt,9pt] [mm] > [mb=dsrom10 sa 1] > \definebodyfont [8pt,7pt,6pt,5pt,4pt] [mm] > [mb=dsrom8 sa 1] > \stoptypescript > > \definetypeface [modern] [mm] [math] [modern] [ams] [encoding=texnansi] > \setupbodyfont[reset,modern,10pt] > > \definefamilysynonym [default] [doublestroke] [mb] > > \def\dstroke {\fam\purefamily {doublestroke}} > > \def\doublestroke#1{{\dstroke#1}} > > \starttext > $\doublestroke{E} \doublestroke{1}$ > \stoptext > %======================================================================= > > > This works correctly in MKII (Both E and 1 are shown in dsrom font). > However, in MKIV the 1 is shown in LM Roman rather than dsrom. > > Is this a bug in context font handling, or a bug in the typescript? > > I am using: context version: 2008.12.01 10:25 > This is LuaTeX, Version snapshot-0.30.3-2008112812 \def\doublestroke#1{{\fam\mbfam#1}} \starttext $\doublestroke{E} \doublestroke{1}$ \stoptext indeed does not give a dstroked 1 ... i wonder why; maybe something with the mathcodes ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________