From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85659 Path: news.gmane.org!not-for-mail From: Elspeth McGullicuddy Newsgroups: gmane.comp.tex.context Subject: Re: doublestroke Date: Sun, 22 Dec 2013 02:47:31 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0392785419==" X-Trace: ger.gmane.org 1387676854 13987 80.91.229.3 (22 Dec 2013 01:47:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Dec 2013 01:47:34 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 22 02:47:41 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 1VuY8r-0001Nt-Cu for gctc-ntg-context-518@m.gmane.org; Sun, 22 Dec 2013 02:47:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 67AE3101FF; Sun, 22 Dec 2013 02:47:40 +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 9ZnUOUavdnAn; Sun, 22 Dec 2013 02:47:38 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id ABE78101F0; Sun, 22 Dec 2013 02:47:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A5337101F0 for ; Sun, 22 Dec 2013 02:47:35 +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 gFU6wQQ2VtQ0 for ; Sun, 22 Dec 2013 02:47:34 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 4C7FF101EF for ; Sun, 22 Dec 2013 02:47:34 +0100 (CET) Original-Received: from mail-vb0-x22c.google.com (mail-vb0-x22c.google.com [IPv6:2607:f8b0:400c:c02::22c]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rBM1lVnv025296 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 22 Dec 2013 02:47:32 +0100 Original-Received: by mail-vb0-f44.google.com with SMTP id x8so2261206vbf.3 for ; Sat, 21 Dec 2013 17:47:31 -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=R8lyvjncZV1StqSEkOpIc/K2D3lSNPy4HlkeS+JHDeE=; b=aJPtLuplgfylPvAJ0AzmH3ecT1kYfFNTjgNFWysc1xfjnLtzSHRkXs6y4fC8PTzzf1 qfmfULMWFmsymoo00drgAY1AKN6+yKMi/+ISeQVFxg5x/SS8RVJmWYfT57S7eZL5lDpg D6EDHfqT8kbifr9lxiVJsJ4rxLJcbeI8GTvSU+BF4E64QBrM/hE8HBcOtALza0vQC9e3 pd+q293j2GKjdQl7S8uiLUjLEdkhITSJiloYZARDMJNRtVu2Zc5N/pKu/yG3tjGQ5X1n ocsHachJaMkSQs4p3pA5uSBFgi0+W90UbAIFBVtxbc7fWaoJqhLKliTeoWA77F9M1Jqk zqAA== X-Received: by 10.58.6.239 with SMTP id e15mr775783vea.29.1387676851268; Sat, 21 Dec 2013 17:47:31 -0800 (PST) Original-Received: by 10.52.242.103 with HTTP; Sat, 21 Dec 2013 17:47:31 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400c:c02::22c; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07L4pLw0W - a296925c39bf - 20131222 (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:85659 Archived-At: --===============0392785419== Content-Type: multipart/alternative; boundary=047d7b6d7f7ac8705004ee15b18e --047d7b6d7f7ac8705004ee15b18e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Still trying to have different blackboard symbols than those default with "modern", but also to learn more about fonts, I've found these two examples that I've been trying to adapt to math ( http://tex.stackexchange.com/questions/124824/context-unicode-fallback-font= ), one involving \definefontfallback, the other one using \setmainfontfallback with some "range". It is very interesting because in both cases I completely fail to obtain the result I want. In the first case I do have the symbols from termes, but only some "N" instead of \char0x2115. In the second case (simplefonts), all symbols follow the required fallback, but the math characters. \definefontfallback [termes_fallback] [termes] [0x0000-0xFFFF] %%[force=3Dno] \Umathquad\displaystyle=3D1em \Umathaxis\textstyle=3D.8ex \starttypescript [myModern] \definetypeface [myModern] [rm] [serif] [modern] [default] \definetypeface [myModern] [ss] [sans] [modern] [default] [rscale=3D0.887] \definetypeface [myModern] [tt] [mono] [modern] [default] [rscale=3D1.163] \definetypeface [myModern] [mm] [math] [termes_fallback] [default] [rscale=3D1.050] \stoptypescript \usetypescript[myModern] \setupbodyfont[myModern,12pt] \starttext The default one doesn't even seem to have $=E2=84=95 \char"2115 \Umathchar = "0 "0 "2115\alpha$\char"2115, =CE=B1 (alpha). \usemodule[simplefonts] \setmainfontfallback[termes][range=3D{0x0000-0xFFFF}, force=3Dyes, rscale=3Dauto] The default one doesn't even seem to have $\Umathchar"0"0"2115\utfchar{"2115}$ (white circle) or =CE=B1 (alpha). \stoptext Some help with those examples would be very helpful. Regards, Chris On Thu, Dec 19, 2013 at 4:50 PM, Elspeth McGullicuddy < elspethmcgullicuddy@gmail.com> wrote: > Hi, > I'm writing math and I'm using "modern", and I would like to use > "doublestroke". > There is an example here, > http://www.ntg.nl/pipermail/ntg-context/2008/037124.html, but I think > it's not likely to work since families aren't used anymore. > I really can't think how it should be done, and all I've found would be > through some substitution mechanism as described in "fonts-mkiv.pdf". > I could use an example of replacing a "vector" of a font, by another font= . > There might be things too with "simplefonts" and "fallback" mechanism, bu= t > I haven't seen examples with math. > Regards, > Chris > > --047d7b6d7f7ac8705004ee15b18e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Still trying to have different bl= ackboard symbols than those default with "modern", but also to le= arn more about fonts, I've found these two examples that I've been = trying to adapt to math (http://tex.stackexchange.com/question= s/124824/context-unicode-fallback-font), one involving \definefontfallb= ack, the other one using \setmainfontfallback with some "range".<= br>
It is very interesting because in both cases I completely fail to obtai= n the result I want.
In the first case I do have the symbols from = termes, but only some "N" instead of \char0x2115.
In the= second case (simplefonts), all symbols follow the required fallback, but t= he math characters.



\definefontfallback
=C2=A0 [termes_fallback]
=C2=A0 [term= es] [0x0000-0xFFFF] %%[force=3Dno]

\Umathquad\displaystyle=3D1em
= \Umathaxis\textstyle=3D.8ex

\starttypescript [myModern]
=C2=A0=C2= =A0=C2=A0 \definetypeface [myModern] [rm] [serif] [modern]=C2=A0=C2=A0=C2= =A0=C2=A0 [default]
=C2=A0=C2=A0=C2=A0 \definetypeface [myModern] [ss] [sans]=C2=A0 [modern]=C2= =A0 [default] [rscale=3D0.887]
=C2=A0=C2=A0=C2=A0 \definetypeface [myMod= ern] [tt] [mono]=C2=A0 [modern]=C2=A0=C2=A0=C2=A0 [default] [rscale=3D1.163= ]
=C2=A0=C2=A0=C2=A0 \definetypeface [myModern] [mm] [math]=C2=A0 [terme= s_fallback]=C2=A0=C2=A0=C2=A0=C2=A0 [default] [rscale=3D1.050]
\stoptypescript

\usetypescript[myModern]
\setupbodyfont[myModern,= 12pt]

\starttext

The default one doesn't even seem to hav= e $=E2=84=95 \char"2115 \Umathchar "0
"0 "2115\alpha= $\char"2115,=C2=A0 =CE=B1 (alpha).


\usemodule[simplefonts]
\setmainfontfallback[termes][range=3D{0x= 0000-0xFFFF}, force=3Dyes,
=C2=A0 rscale=3Dauto]

The default one = doesn't even seem to have
$\Umathchar"0"0"2115\utfcha= r{"2115}$ (white circle) or =CE=B1 (alpha).

\stoptext



Some help with those examples would be v= ery helpful.

Regards,
Chris





On Thu, Dec 19, 2013 at 4:50 PM, Elspeth= McGullicuddy <elspethmcgullicuddy@gmail.com> wr= ote:
Hi,
I= 9;m writing math and I'm using "modern", and I would like to = use "doublestroke".
There is an example here, http://www.ntg.nl/pipermai= l/ntg-context/2008/037124.html, but I think it's not likely to work= since families aren't used anymore.
I really can't think how it should be done, and all I've= found would be through some substitution mechanism as described in "f= onts-mkiv.pdf".
I could use an example of replacing a &q= uot;vector" of a font, by another font.
There might be things too with "simplefonts" and "= ;fallback" mechanism, but I haven't seen examples with math.
Regards,
Chris


--047d7b6d7f7ac8705004ee15b18e-- --===============0392785419== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0392785419==--