From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85660 Path: news.gmane.org!not-for-mail From: Elspeth McGullicuddy Newsgroups: gmane.comp.tex.context Subject: Re: doublestroke Date: Sun, 22 Dec 2013 04:10:09 +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="===============1811414600==" X-Trace: ger.gmane.org 1387681817 22678 80.91.229.3 (22 Dec 2013 03:10:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Dec 2013 03:10:17 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 22 04:10:25 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 1VuZQt-0007Fo-Ut for gctc-ntg-context-518@m.gmane.org; Sun, 22 Dec 2013 04:10:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AFC1F101EF; Sun, 22 Dec 2013 04:10:22 +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 1cVUWCY-Kd6o; Sun, 22 Dec 2013 04:10:19 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C1CD8101F2; Sun, 22 Dec 2013 04:10:18 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4C307101F2 for ; Sun, 22 Dec 2013 04:10: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 XUdhJFUxO4on for ; Sun, 22 Dec 2013 04:10:12 +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 46E7D101EF for ; Sun, 22 Dec 2013 04:10:12 +0100 (CET) Original-Received: from mail-vb0-x233.google.com (mail-vb0-x233.google.com [IPv6:2607:f8b0:400c:c02::233]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rBM3KB7x021461 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 22 Dec 2013 04:20:13 +0100 Original-Received: by mail-vb0-f51.google.com with SMTP id 11so2179873vbe.38 for ; Sat, 21 Dec 2013 19:10:09 -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=yKa4HpeCAuk3+mhEVh4Nh42yVndDE4dVHJ/5Jb4FWvA=; b=hCsSJ0Wv4V3lWBmyuSINZQeBrL1XzhIXJKskkH27Y0o1Il4knt8EQE3huhtMPquL5I fWA8+lf8AYTasIK5t3/pVTnOYcFSpXOlJWvBYB1iBH5cT45eFdNELxHuCQhqY0H2jkFZ usCjjCr4ah+OrSKEDI8/2TGxIhhPAPThy2eHWqmDRmpE2ELeqtJCkhIfRpJOnXuDFEhP vxKF7zcOoFmJv0thwSryJ/QiLOAmMMTAeSGY7bPXS1MNlYKX4dyOw+ZYxo0P7lsXltim N3gzTolAL71lma+DEtn1D3WN5QbfJydgIsjcEDytSymBmceQ709zhSCvXE37rhmXAWyX YPzg== X-Received: by 10.221.39.195 with SMTP id tn3mr9150807vcb.2.1387681809154; Sat, 21 Dec 2013 19:10:09 -0800 (PST) Original-Received: by 10.52.242.103 with HTTP; Sat, 21 Dec 2013 19:10:09 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400c:c02::233; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01L4rkcta - 3e4713ffdc87 - 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:85660 Archived-At: --===============1811414600== Content-Type: multipart/alternative; boundary=001a113375c24bc50604ee16d961 --001a113375c24bc50604ee16d961 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Every single bits of the first part is wrong, I didn't noticed it because it just does nothing. The example of the link though works, of course (the one with \definefontfallback). But to do it with math... I've tried so many possibilities none of which worked... Regards, Chris On Sun, Dec 22, 2013 at 2:47 AM, Elspeth McGullicuddy < elspethmcgullicuddy@gmail.com> wrote: > Still trying to have different blackboard symbols than those default with > "modern", but also to learn more about fonts, I've found these two exampl= es > that I've been trying to adapt to math ( > http://tex.stackexchange.com/questions/124824/context-unicode-fallback-fo= nt), > one involving \definefontfallback, the other one using \setmainfontfallba= ck > 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 \Umathcha= r "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 fon= t. >> There might be things too with "simplefonts" and "fallback" mechanism, >> but I haven't seen examples with math. >> Regards, >> Chris >> >> > --001a113375c24bc50604ee16d961 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Every single bits of the first part is= wrong, I didn't noticed it because it just does nothing.
The = example of the link though works, of course (the one with \definefontfallba= ck).
But to do it with math... I've tried so many possibilities none o= f which worked...
Regards,
Chris


On Sun, Dec 22, 2013 at 2:47= AM, Elspeth McGullicuddy <elspethmcgullicuddy@gmail.com&g= t; wrote:
St= ill trying to have different blackboard symbols than those default with &qu= ot;modern", but also to learn more about fonts, I've found these t= wo examples that I've been trying to adapt to math (http://tex.stackexchange.com/questions/124824/context-unicode-f= allback-font), one involving \definefontfallback, the other one using \= setmainfontfallback with some "range".

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



--001a113375c24bc50604ee16d961-- --===============1811414600== 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 ___________________________________________________________________________________ --===============1811414600==--