ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Elspeth McGullicuddy <elspethmcgullicuddy@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: doublestroke
Date: Sun, 22 Dec 2013 04:10:09 +0100	[thread overview]
Message-ID: <CAGMMSTDi_1nv0OH7GCm-Bon5ZEN0kfy=qCjfOrNRs_fhhg1TBg@mail.gmail.com> (raw)
In-Reply-To: <CAGMMSTCR1ACVMqZxr9aNECVbOGsEK_00dWZ_KBjE=DBT-koRvw@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2934 bytes --]

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 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=no]
>
> \Umathquad\displaystyle=1em
> \Umathaxis\textstyle=.8ex
>
> \starttypescript [myModern]
>     \definetypeface [myModern] [rm] [serif] [modern]     [default]
>     \definetypeface [myModern] [ss] [sans]  [modern]  [default]
> [rscale=0.887]
>     \definetypeface [myModern] [tt] [mono]  [modern]    [default]
> [rscale=1.163]
>     \definetypeface [myModern] [mm] [math]  [termes_fallback]
> [default] [rscale=1.050]
> \stoptypescript
>
> \usetypescript[myModern]
> \setupbodyfont[myModern,12pt]
>
> \starttext
>
> The default one doesn't even seem to have $ℕ \char"2115 \Umathchar "0
> "0 "2115\alpha$\char"2115,  α (alpha).
>
>
> \usemodule[simplefonts]
> \setmainfontfallback[termes][range={0x0000-0xFFFF}, force=yes,
>   rscale=auto]
>
> The default one doesn't even seem to have
> $\Umathchar"0"0"2115\utfchar{"2115}$ (white circle) or α (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,
>> but I haven't seen examples with math.
>> Regards,
>> Chris
>>
>>
>

[-- Attachment #1.2: Type: text/html, Size: 4225 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2013-12-22  3:10 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-19 15:50 doublestroke Elspeth McGullicuddy
2013-12-22  1:47 ` doublestroke Elspeth McGullicuddy
2013-12-22  3:10   ` Elspeth McGullicuddy [this message]
2013-12-22 10:56     ` doublestroke Wolfgang Schuster
2013-12-22 13:12       ` doublestroke Elspeth McGullicuddy
2013-12-22 13:28         ` doublestroke Wolfgang Schuster
2013-12-22 14:09           ` doublestroke Elspeth McGullicuddy
2013-12-22 14:15             ` doublestroke Wolfgang Schuster
2013-12-22 15:23               ` doublestroke Elspeth McGullicuddy
2013-12-22 15:49                 ` doublestroke Wolfgang Schuster
2013-12-22 16:33                   ` doublestroke Elspeth McGullicuddy
2013-12-22 16:40                     ` doublestroke Wolfgang Schuster
2013-12-22 17:06                       ` doublestroke Elspeth McGullicuddy
2013-12-22 17:23                         ` doublestroke Wolfgang Schuster
2013-12-22 17:29                           ` doublestroke Elspeth McGullicuddy
2013-12-26  0:01                             ` doublestroke Elspeth McGullicuddy
2013-12-26  8:09                               ` doublestroke Wolfgang Schuster
2013-12-26 11:57                                 ` doublestroke Hans Hagen
2013-12-26 15:13                                   ` doublestroke Elspeth McGullicuddy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGMMSTDi_1nv0OH7GCm-Bon5ZEN0kfy=qCjfOrNRs_fhhg1TBg@mail.gmail.com' \
    --to=elspethmcgullicuddy@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).