* definefallbackfamily and uppercasedoublestruck not working?
@ 2017-11-24 12:07 Mikael P. Sundqvist
2017-11-25 4:11 ` Henri
0 siblings, 1 reply; 7+ messages in thread
From: Mikael P. Sundqvist @ 2017-11-24 12:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 691 bytes --]
Hi!
I use the Neo Euler which has no doublestruck characters. Maybe I use old
code, but I really think that the following has worked before:
%%%
\definefontfamily [mainface] [rm] [TeX Gyre Pagella]
\definefallbackfamily [mainface] [mm] [TeX Gyre Pagella
Math][range=uppercasedoublestruck]
\definefontfamily [mainface] [mm] [Neo Euler]
\setupbodyfont[mainface,12pt]
\starttext
\startTEXpage[offset=3pt]
Test: $\blackboard C$ or $\mathbb C$
\switchtobodyfont[pagella]
Test: $\blackboard C$ or $\mathbb C$
\stopTEXpage
\stoptex
%%%
I would expect doublestruck letters in the output on the first line. The
resulting file, compiled with a fresh Standalone, is attached.
Best regards, Mikael
[-- Attachment #1.2: Type: text/html, Size: 954 bytes --]
[-- Attachment #2: doublestruck.pdf --]
[-- Type: application/pdf, Size: 7938 bytes --]
[-- Attachment #3: Type: text/plain, Size: 492 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: definefallbackfamily and uppercasedoublestruck not working?
2017-11-24 12:07 definefallbackfamily and uppercasedoublestruck not working? Mikael P. Sundqvist
@ 2017-11-25 4:11 ` Henri
2017-11-25 10:00 ` Hans Hagen
0 siblings, 1 reply; 7+ messages in thread
From: Henri @ 2017-11-25 4:11 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1: Type: text/plain, Size: 1803 bytes --]
No solution, just another oddity...
\definefontfamily [mainface] [rm] [TeX Gyre Pagella]
\definefallbackfamily [mainface] [mm] [TeX Gyre Pagella Math] [range=uppercasedoublestruck]
\definefontfamily [mainface] [mm] [Neo Euler]
\setupbodyfont[mainface,12pt]
\starttext
\startTEXpage[offset=3pt]
Test: $$ or $\utfchar{"1D53A}$ or $\blackboard C$ or $\mathbb C$
\switchtobodyfont[pagella]
Test: $$ or $\utfchar{"1D53A}$ or $\blackboard C$ or $\mathbb C$
\stopTEXpage
\stoptext
On Fri, 2017-11-24 at 13:07 +0100, Mikael P. Sundqvist wrote:
> Hi!
>
> I use the Neo Euler which has no doublestruck characters. Maybe I use old code, but I really think
> that the following has worked before:
>
> %%%
> \definefontfamily [mainface] [rm] [TeX Gyre Pagella]
> \definefallbackfamily [mainface] [mm] [TeX Gyre Pagella Math][range=uppercasedoublestruck]
> \definefontfamily [mainface] [mm] [Neo Euler]
> \setupbodyfont[mainface,12pt]
> \starttext
> \startTEXpage[offset=3pt]
> Test: $\blackboard C$ or $\mathbb C$
>
> \switchtobodyfont[pagella]
> Test: $\blackboard C$ or $\mathbb C$
> \stopTEXpage
> \stoptex
> %%%
>
> I would expect doublestruck letters in the output on the first line. The resulting file, compiled
> with a fresh Standalone, is attached.
>
> Best regards, Mikael
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 8118 bytes --]
[-- Attachment #3: Type: text/plain, Size: 492 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: definefallbackfamily and uppercasedoublestruck not working?
2017-11-25 4:11 ` Henri
@ 2017-11-25 10:00 ` Hans Hagen
2017-11-25 14:10 ` Mikael P. Sundqvist
0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2017-11-25 10:00 UTC (permalink / raw)
To: mailing list for ConTeXt users, Henri
On 11/25/2017 5:11 AM, Henri wrote:
> No solution, just another oddity...
>
> \definefontfamily [mainface] [rm] [TeX Gyre Pagella]
> \definefallbackfamily [mainface] [mm] [TeX Gyre Pagella Math] [range=uppercasedoublestruck]
> \definefontfamily [mainface] [mm] [Neo Euler]
> \setupbodyfont[mainface,12pt]
> \starttext
> \startTEXpage[offset=3pt]
> Test: $$ or $\utfchar{"1D53A}$ or $\blackboard C$ or $\mathbb C$
>
> \switchtobodyfont[pagella]
> Test: $$ or $\utfchar{"1D53A}$ or $\blackboard C$ or $\mathbb C$
> \stopTEXpage
> \stoptext
welcome to unicode ... what you're looking for is
DOUBLE-STRUCK CAPITAL C "02102
it's real bad that these alphabets have holes due to a few already
present symbols
now, if you can argue that doublestruck C is not always used the same
you might be able to push that slot (maybe we should start lobbying that
... after all now that emoji come in variants ...)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: definefallbackfamily and uppercasedoublestruck not working?
2017-11-25 10:00 ` Hans Hagen
@ 2017-11-25 14:10 ` Mikael P. Sundqvist
2017-11-25 14:30 ` Pablo Rodriguez
0 siblings, 1 reply; 7+ messages in thread
From: Mikael P. Sundqvist @ 2017-11-25 14:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2117 bytes --]
On Sat, Nov 25, 2017 at 11:00 AM, Hans Hagen <pragma@wxs.nl> wrote:
> On 11/25/2017 5:11 AM, Henri wrote:
>
>> No solution, just another oddity...
>>
>> \definefontfamily [mainface] [rm] [TeX Gyre Pagella]
>> \definefallbackfamily [mainface] [mm] [TeX Gyre Pagella Math]
>> [range=uppercasedoublestruck]
>> \definefontfamily [mainface] [mm] [Neo Euler]
>> \setupbodyfont[mainface,12pt]
>> \starttext
>> \startTEXpage[offset=3pt]
>> Test: $$ or $\utfchar{"1D53A}$ or $\blackboard C$ or $\mathbb C$
>>
>> \switchtobodyfont[pagella]
>> Test: $$ or $\utfchar{"1D53A}$ or $\blackboard C$ or $\mathbb C$
>> \stopTEXpage
>> \stoptext
>>
> welcome to unicode ... what you're looking for is
>
> DOUBLE-STRUCK CAPITAL C "02102
>
> it's real bad that these alphabets have holes due to a few already present
> symbols
>
> now, if you can argue that doublestruck C is not always used the same you
> might be able to push that slot (maybe we should start lobbying that ...
> after all now that emoji come in variants ...)
>
> Hans
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
>
> ____________________________________________________________
> _______________________
> 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/list
> info/ntg-context
> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ____________________________________________________________
> _______________________
>
I agree that it is strange to have those holes due to present symbols. Will
the code I used work in an updated beta, or should we proceed in some other
way?
/MIkael
[-- Attachment #1.2: Type: text/html, Size: 3419 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: definefallbackfamily and uppercasedoublestruck not working?
2017-11-25 14:10 ` Mikael P. Sundqvist
@ 2017-11-25 14:30 ` Pablo Rodriguez
2017-11-25 14:36 ` Mikael P. Sundqvist
0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2017-11-25 14:30 UTC (permalink / raw)
To: ntg-context
On 11/25/2017 03:10 PM, Mikael P. Sundqvist wrote:
> [...]
> I agree that it is strange to have those holes due to present symbols.
> Will the code I used work in an updated beta, or should we proceed in
> some other way?
Hi Mikael,
math is all Greek to me, but this seems to work (I guess, fallback
should beextended to actual character:
\definefontfamily [mainface] [rm] [TeX Gyre Pagella]
\definefallbackfamily [mainface] [mm] [TeX Gyre Pagella Math]
[range={uppercasedoublestruck, 0x02102-0x02124}]
\definefontfamily [mainface] [mm] [Neo Euler]
\setupbodyfont[mainface,12pt]
\starttext
\startTEXpage[offset=3pt]
Test: $\blackboard C$ or $\mathbb P$
\switchtobodyfont[pagella]
Test: $\blackboard C$ or $\mathbb P$
\stopTEXpage
\stoptext
Just in case it helps,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: definefallbackfamily and uppercasedoublestruck not working?
2017-11-25 14:30 ` Pablo Rodriguez
@ 2017-11-25 14:36 ` Mikael P. Sundqvist
2017-11-25 16:44 ` Hans Hagen
0 siblings, 1 reply; 7+ messages in thread
From: Mikael P. Sundqvist @ 2017-11-25 14:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1582 bytes --]
On Sat, Nov 25, 2017 at 3:30 PM, Pablo Rodriguez <oinos@gmx.es> wrote:
> On 11/25/2017 03:10 PM, Mikael P. Sundqvist wrote:
> > [...]
> > I agree that it is strange to have those holes due to present symbols.
> > Will the code I used work in an updated beta, or should we proceed in
> > some other way?
>
> Hi Mikael,
>
> math is all Greek to me, but this seems to work (I guess, fallback
> should beextended to actual character:
>
> \definefontfamily [mainface] [rm] [TeX Gyre Pagella]
> \definefallbackfamily [mainface] [mm] [TeX Gyre Pagella Math]
> [range={uppercasedoublestruck, 0x02102-0x02124}]
> \definefontfamily [mainface] [mm] [Neo Euler]
> \setupbodyfont[mainface,12pt]
> \starttext
> \startTEXpage[offset=3pt]
> Test: $\blackboard C$ or $\mathbb P$
>
> \switchtobodyfont[pagella]
> Test: $\blackboard C$ or $\mathbb P$
> \stopTEXpage
> \stoptext
>
> Just in case it helps,
>
> Pablo
> --
> http://www.ousia.tk
> ____________________________________________________________
> _______________________
> 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://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ____________________________________________________________
> _______________________
>
Paulo, thanks! I should have thought of that workaround myself! Thank you!
/Mikael
[-- Attachment #1.2: Type: text/html, Size: 2821 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: definefallbackfamily and uppercasedoublestruck not working?
2017-11-25 14:36 ` Mikael P. Sundqvist
@ 2017-11-25 16:44 ` Hans Hagen
0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2017-11-25 16:44 UTC (permalink / raw)
To: mailing list for ConTeXt users, Mikael P. Sundqvist
On 11/25/2017 3:36 PM, Mikael P. Sundqvist wrote:
> On Sat, Nov 25, 2017 at 3:30 PM, Pablo Rodriguez <oinos@gmx.es
> <mailto:oinos@gmx.es>> wrote:
>
> On 11/25/2017 03:10 PM, Mikael P. Sundqvist wrote:
> > [...]
> > I agree that it is strange to have those holes due to present symbols.
> > Will the code I used work in an updated beta, or should we proceed in
> > some other way?
>
> Hi Mikael,
>
> math is all Greek to me, but this seems to work (I guess, fallback
> should beextended to actual character:
>
> \definefontfamily [mainface] [rm] [TeX Gyre Pagella]
> \definefallbackfamily [mainface] [mm] [TeX Gyre Pagella Math]
> [range={uppercasedoublestruck, 0x02102-0x02124}]
> \definefontfamily [mainface] [mm] [Neo Euler]
> \setupbodyfont[mainface,12pt]
> \starttext
> \startTEXpage[offset=3pt]
> Test: $\blackboard C$ or $\mathbb P$
>
> \switchtobodyfont[pagella]
> Test: $\blackboard C$ or $\mathbb P$
> \stopTEXpage
> \stoptext
>
> Just in case it helps,
>
> Pablo
> --
> http://www.ousia.tk
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an
> entry to the Wiki!
>
> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> <http://www.ntg.nl/mailman/listinfo/ntg-context>
> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> <https://bitbucket.org/phg/context-mirror/commits/>
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
>
> Paulo, thanks! I should have thought of that workaround myself! Thank you!
in math-act.lua you can add a line (790):
if gaps then
for unic, unicode in next, gaps do
remap(unic,unicode,true)
remap(unicode,unicode,true)
end
end
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-11-25 16:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-24 12:07 definefallbackfamily and uppercasedoublestruck not working? Mikael P. Sundqvist
2017-11-25 4:11 ` Henri
2017-11-25 10:00 ` Hans Hagen
2017-11-25 14:10 ` Mikael P. Sundqvist
2017-11-25 14:30 ` Pablo Rodriguez
2017-11-25 14:36 ` Mikael P. Sundqvist
2017-11-25 16:44 ` Hans Hagen
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).