From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85708 Path: news.gmane.org!not-for-mail From: Elspeth McGullicuddy Newsgroups: gmane.comp.tex.context Subject: Re: doublestroke Date: Thu, 26 Dec 2013 01:01:55 +0100 Message-ID: References: <8EBB74FD-FD1D-4C89-88E6-E30D0D0FADF1@gmail.com> <2C682B43-28EE-4A90-8EA3-94A6A3B25309@gmail.com> <4AB6B484-F64A-4407-9742-A6635E51B45F@gmail.com> <1D702172-463B-4B58-B0CA-679E82E48733@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1388016128 15543 80.91.229.3 (26 Dec 2013 00:02:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Dec 2013 00:02:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 26 01:02:16 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VvyP2-0001Ap-BU for gctc-ntg-context-518@m.gmane.org; Thu, 26 Dec 2013 01:02:16 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 370B3101F1; Thu, 26 Dec 2013 01:02:15 +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 eduane2sVw+u; Thu, 26 Dec 2013 01:02:13 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 07939101E5; Thu, 26 Dec 2013 01:02:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 42CBF101E5 for ; Thu, 26 Dec 2013 01:02:11 +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 aReYst6Wgoe4 for ; Thu, 26 Dec 2013 01:01:57 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 9BCAA101E2 for ; Thu, 26 Dec 2013 01:01:57 +0100 (CET) Original-Received: from mail-vc0-x229.google.com (mail-vc0-x229.google.com [IPv6:2607:f8b0:400c:c03::229]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rBQ0CHOK024567 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 26 Dec 2013 01:12:18 +0100 Original-Received: by mail-vc0-f169.google.com with SMTP id hu19so4043226vcb.14 for ; Wed, 25 Dec 2013 16:01:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=b40SqRXehOrQ+80GIuer9pbZF2ZaO9bDMUHBMfsKW2g=; b=xDk2JmW3MV9A4in+KcvHwSMrjDUuey45r3z7BwK4FTtVPuFPJUMzXFIO/jjz4U7CFt VEFHVfqngQnAyxD7movZNuHcVZFrK4xd1ithM3+fS5e6YAcSiOuM7MAJYufd8xPAbghA j26mgelcsOvO3bbfLC2+juZbTr56tX75K5ApwWXlbVaC8azZkqIMSuymKPy8WbeZiIIq xx1yLDR4z0Fd6btyqjqPQjDNpUIQiZmZQ91ic724xL245NJhbmP7M9C89S4knePYgeRN CUSP/vRH8lEaKJBQvaLrpjkjCqNkuYpUjDEaUQhL8dFqKYbv6fnDZMqLid5fIjVP82or b73A== X-Received: by 10.52.175.162 with SMTP id cb2mr164955vdc.57.1388016115574; Wed, 25 Dec 2013 16:01:55 -0800 (PST) Original-Received: by 10.52.242.103 with HTTP; Wed, 25 Dec 2013 16:01:55 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400c:c03::229; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01L60ciWC - ebccb4431fb8 - 20131226 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85708 Archived-At: Hi, I hopped you all had a merry Christmas :-) In the very first working example: \definefontfamily [mainface] [rm] [Latin Modern Roman] \definefallbackfamily [mainface] [mm] [TeX Gyre Termes Math] [range={uppercasedoublestruck}] %%%,letterlikesymbols}] \definefontfamily [mainface] [mm] [Latin Modern Math] \setupbodyfont[mainface] \starttext \startformula ABC \quad {\blackboard AB[C]DEFG[H]IJKLM[N]O[PQR]STUVWXY[Z]} \stopformula \stoptext letters here in brackets weren't rendered as expected... Because there are "holes in the uft table" as can be seen there: http://www.w3.org/TR/MathML2/double-struck.html Adding the "bloks" "letterlikesymbols" was, to an extent solving the problem. Now in my document I am also using calligraphic letters which I want to remain in "modern". 1- WHAT DIDN'T WORK: First idea that comes to me is modifying the file: math-act.lua I have added all the lines that are commented out here. blocks["uppercasedoublestruck"] = { first = 0x1D538, last = 0x1D550 } %0x1D551 is not attributed %blocks["uppercasedoublestruckc"] = { first = 0x02102, last = 0x02102 } % %blocks["uppercasedoublestruckh"] = { first = 0x0210D, last = 0x0210D } % %blocks["uppercasedoublestruckn"] = { first = 0x02115, last = 0x02115 } % %blocks["uppercasedoublestruckp"] = { first = 0x02119, last = 0x02119 } % %blocks["uppercasedoublestruckq"] = { first = 0x0211A, last = 0x0211A } % %blocks["uppercasedoublestruckr"] = { first = 0x0211D, last = 0x0211D } % %blocks["uppercasedoublestruckz"] = { first = 0x02124, last = 0x02124 } % It just didn't work. Compiled but fail to provided expected result: Everything was in modern. 2- WHAT WORKED \definefontfamily [mainface] [rm] [Latin Modern Roman] \definefallbackfamily [mainface] [mm] [TeX Gyre Termes Math] [range={uppercasedoublestruck,0x02102,0x0210D,0x02115,0x02119,0x0211A,0x0211D,0x02124}] \definefontfamily [mainface] [mm] [Latin Modern Math] \setupbodyfont[mainface] \starttext \startformula \int_a^b \quad ABC \quad {\blackboard AB[C]DEFG[H]IJKLM[N]O[PQR]STUVWXY[Z]} \stopformula \stoptext 3-QUESTION Unless I'm completely wrong, the modification I've made to the file: math-act.lua haven't been taken into account at all: even if I modify the line "uppercasedoublestruck" such as to reduce the range: blocks["uppercasedoublestruck"] = { first = 0x1D538, last = 0x1D540 } my \blackboard UVXY keep to be rendered with term... So why? Regards, Chris ___________________________________________________________________________________ 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 ___________________________________________________________________________________