From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85709 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: doublestroke Date: Thu, 26 Dec 2013 09:09:29 +0100 Message-ID: <94101670-88CD-4FE7-82CE-73181AC043AF@gmail.com> 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 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1388045390 2476 80.91.229.3 (26 Dec 2013 08:09:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Dec 2013 08:09:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 26 09:09:58 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 1Vw610-00049v-7m for gctc-ntg-context-518@m.gmane.org; Thu, 26 Dec 2013 09:09:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 764B1101F5; Thu, 26 Dec 2013 09:09:51 +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 6Tt5tp6vNuGO; Thu, 26 Dec 2013 09:09:51 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2A11E101E7; Thu, 26 Dec 2013 09:09:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 29CCF101E7 for ; Thu, 26 Dec 2013 09:09:43 +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 gfY+iy3PbaiV for ; Thu, 26 Dec 2013 09:09:33 +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 05FA7101E2 for ; Thu, 26 Dec 2013 09:09:32 +0100 (CET) Original-Received: from mail-bk0-x229.google.com (mail-bk0-x229.google.com [IPv6:2a00:1450:4008:c01::229]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rBQ8Jtmw010206 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 26 Dec 2013 09:19:55 +0100 Original-Received: by mail-bk0-f41.google.com with SMTP id v15so2798764bkz.0 for ; Thu, 26 Dec 2013 00:09:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=3u/mqezVae166GlywoaE1QfIIxwWYABSENEG61Q6mQc=; b=Mp8aUM0PkA4NK4zojpdMrK2hiEwQxtxj2m8inwTE7xx2Sctc9CIBtHV2zhiJYSxWs/ UImn7hLgTeo9DyDnQcpobGmn5snQEL5O1MGdSMr4Wg/HFL0oXbrjw9zZeM6vrCKwmd1I tx5/yrq+2XWKCdnAuVueclDGoYOZtR502sJK4/K7NLVYJIddw9zLmxs3SoBOTYQDahq3 aUAp13HGtfrYMjKU4IaiPIl+rJfT53lcsTPf3IPH3XLj0cU+nOZMxu5c9QW58eGJkp8M UUjJr5cZuL+sho9u37N9BtfbZZ6VjgD39ZKu7/swPtQYF32L/yhPgK1OCWJsmYpr8eMK DNFg== X-Received: by 10.204.177.200 with SMTP id bj8mr887038bkb.49.1388045371865; Thu, 26 Dec 2013 00:09:31 -0800 (PST) Original-Received: from keima.localdomain (x2f238fb.dyn.telefonica.de. [2.242.56.251]) by mx.google.com with ESMTPSA id lr9sm22992871bkb.2.2013.12.26.00.09.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Dec 2013 00:09:30 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1827) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::229; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01L68jTP2 - 2a8c896a1bde - 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:85709 Archived-At: Am 26.12.2013 um 01:01 schrieb Elspeth McGullicuddy : > 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=3D{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 prob= lem. > 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"] =3D { first =3D 0x1D538, > last =3D 0x1D550 } %0x1D551 is not attributed > %blocks["uppercasedoublestruckc"] =3D { first =3D 0x02102, > last =3D 0x02102 } % > %blocks["uppercasedoublestruckh"] =3D { first =3D 0x0210D, > last =3D 0x0210D } % > %blocks["uppercasedoublestruckn"] =3D { first =3D 0x02115, > last =3D 0x02115 } % > %blocks["uppercasedoublestruckp"] =3D { first =3D 0x02119, > last =3D 0x02119 } % > %blocks["uppercasedoublestruckq"] =3D { first =3D 0x0211A, > last =3D 0x0211A } % > %blocks["uppercasedoublestruckr"] =3D { first =3D 0x0211D, > last =3D 0x0211D } % > %blocks["uppercasedoublestruckz"] =3D { first =3D 0x02124, > last =3D 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=3D{uppercasedoublestruck,0x02102,0x0210D,0x02115,0x02119,0x0211A,0= x0211D,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 r= ange: > = > blocks["uppercasedoublestruck"] =3D { first =3D 0x1D538, > last =3D 0x1D540 } > = > my \blackboard UVXY keep to be rendered with term... > = > So why? 1. When you make a change in the code you have to remake the format file (c= ontext =97make en). 2. When you write many lines in the form =93blocks[] =3D { first=3D= =85, last=3D=85 }=94 you do only replace the previous setting but don=92t = add new entries to the table. 3. Part of the problem is mess in unicode because the symbols you need are = scattered, see http://www.unicode.org/charts/PDF/U1D400.pdf and here http:/= /www.unicode.org/charts/PDF/U2100.pdf Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________