From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85711 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: doublestroke Date: Thu, 26 Dec 2013 12:57:08 +0100 Message-ID: <52BC1994.7000108@wxs.nl> 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> <94101670-88CD-4FE7-82CE-73181AC043AF@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1388059030 1637 80.91.229.3 (26 Dec 2013 11:57:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Dec 2013 11:57:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 26 12:57:18 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 1Vw9Z0-0005nd-68 for gctc-ntg-context-518@m.gmane.org; Thu, 26 Dec 2013 12:57:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4C320101E2; Thu, 26 Dec 2013 12:57:17 +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 vz9xGs+makLC; Thu, 26 Dec 2013 12:57:15 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 56F8F101E5; Thu, 26 Dec 2013 12:57:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 03F97101E5 for ; Thu, 26 Dec 2013 12:57:14 +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 8Y3BEt4kls1A for ; Thu, 26 Dec 2013 12:57:12 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 1DEE5101E2 for ; Thu, 26 Dec 2013 12:57:12 +0100 (CET) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rBQBvB7h027441 for ; Thu, 26 Dec 2013 12:57:11 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.103; Original-Received: from [10.100.1.103] (unverified [10.100.1.103]) by pragma-net.nl (SurgeMail 6.3c2) with ESMTP id 2679-1713362 for ; Thu, 26 Dec 2013 12:57:10 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <94101670-88CD-4FE7-82CE-73181AC043AF@gmail.com> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=15; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03L6bVbCn - eca082897715 - 20131226 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:85711 Archived-At: On 12/26/2013 9:09 AM, Wolfgang Schuster wrote: > > 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 pro= blem. >> 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,= 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"] =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 = (context =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 ar= e scattered, see http://www.unicode.org/charts/PDF/U1D400.pdf and here http= ://www.unicode.org/charts/PDF/U2100.pdf I now support 'gaps' (blocks have a gaps entry). Beta uploaded. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________