* Choosing font range
@ 2017-06-16 12:44 Hans Åberg
2017-06-16 18:46 ` Pablo Rodriguez
0 siblings, 1 reply; 14+ messages in thread
From: Hans Åberg @ 2017-06-16 12:44 UTC (permalink / raw)
To: Context
Is it possible have say Pagella in math, and also in \tt except for the ASCII range, where a monospace font is used? (Both for largely untranslated Unicode points.)
___________________________________________________________________________________
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] 14+ messages in thread
* Re: Choosing font range
2017-06-16 12:44 Choosing font range Hans Åberg
@ 2017-06-16 18:46 ` Pablo Rodriguez
2017-06-16 19:34 ` Hans Åberg
0 siblings, 1 reply; 14+ messages in thread
From: Pablo Rodriguez @ 2017-06-16 18:46 UTC (permalink / raw)
To: ntg-context
On 06/16/2017 02:44 PM, Hans Åberg wrote:
> Is it possible have say Pagella in math, and also in \tt except for
> the ASCII range, where a monospace font is used? (Both for largely
> untranslated Unicode points.)
Hans,
I’m not sure this is what you want:
\definefallbackfamily[mainface][tt][TeX Gyre Cursor]
[range={basiclatin, digitslatin}, force=yes]
\definefontfamily[mainface][rm][TeX Gyre Pagella]
\definefontfamily[mainface][mm][TeX Gyre Pagella Math]
\definefontfamily[mainface][tt][TeX Gyre Pagella]
\setupbodyfont[mainface]
\starttext
abd 312 ásñeäæø
\tt abd 312 ásñeäæø
\stoptext
Just in case it might help,
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] 14+ messages in thread
* Re: Choosing font range
2017-06-16 18:46 ` Pablo Rodriguez
@ 2017-06-16 19:34 ` Hans Åberg
2017-06-16 19:46 ` Pablo Rodriguez
0 siblings, 1 reply; 14+ messages in thread
From: Hans Åberg @ 2017-06-16 19:34 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Pablo Rodriguez
> On 16 Jun 2017, at 20:46, Pablo Rodriguez <oinos@gmx.es> wrote:
>
> On 06/16/2017 02:44 PM, Hans Åberg wrote:
>> Is it possible have say Pagella in math, and also in \tt except for
>> the ASCII range, where a monospace font is used? (Both for largely
>> untranslated Unicode points.)
>
> I’m not sure this is what you want:
>
> \definefallbackfamily[mainface][tt][TeX Gyre Cursor]
> [range={basiclatin, digitslatin}, force=yes]
> \definefontfamily[mainface][rm][TeX Gyre Pagella]
> \definefontfamily[mainface][mm][TeX Gyre Pagella Math]
> \definefontfamily[mainface][tt][TeX Gyre Pagella]
> \setupbodyfont[mainface]
> \starttext
> abd 312 ásñeäæø
>
> \tt abd 312 ásñeäæø
> \stoptext
>
> Just in case it might help,
Thank you for the help. But the math characters do not show in \tt, as in the example below. (Tried with TeX Live 2017.)
----
\definefallbackfamily[mainface][tt][TeX Gyre Cursor]
[range={basiclatin, digitslatin}, force=yes]
\definefontfamily[mainface][rm][TeX Gyre Pagella]
\definefontfamily[mainface][mm][TeX Gyre Pagella Math]
\definefontfamily[mainface][tt][TeX Gyre Pagella]
\setupbodyfont[mainface]
\setupmathematics[lcgreek=normal, default=normal]
\starttext
\startformula
𝑨 ⇒ (𝑩 ⇒ 𝑨)
\stopformula
\starttyping
axiom A1. 𝑨 ⇒ (𝑩 ⇒ 𝑨).
\stoptyping
{\tt axiom A1. 𝑨 ⇒ (𝑩 ⇒ 𝑨).}
\stoptext
----
___________________________________________________________________________________
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] 14+ messages in thread
* Re: Choosing font range
2017-06-16 19:34 ` Hans Åberg
@ 2017-06-16 19:46 ` Pablo Rodriguez
2017-06-16 20:07 ` Hans Åberg
0 siblings, 1 reply; 14+ messages in thread
From: Pablo Rodriguez @ 2017-06-16 19:46 UTC (permalink / raw)
To: ntg-context
On 06/16/2017 09:34 PM, Hans Åberg wrote:
> Thank you for the help. But the math characters do not show in \tt,
> as in the example below. (Tried with TeX Live 2017.)
> [...]
> \definefontfamily[mainface][rm][TeX Gyre Pagella]
> \definefontfamily[mainface][mm][TeX Gyre Pagella Math]
> \definefontfamily[mainface][tt][TeX Gyre Pagella]
I don’t do math (at all, not only with ConTeXt), but the following
command seems to work:
\definefontfamily[mainface][tt][TeX Gyre Pagella Math]
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] 14+ messages in thread
* Re: Choosing font range
2017-06-16 19:46 ` Pablo Rodriguez
@ 2017-06-16 20:07 ` Hans Åberg
2017-06-17 5:36 ` Pablo Rodriguez
2017-06-17 6:33 ` Henri Menke
0 siblings, 2 replies; 14+ messages in thread
From: Hans Åberg @ 2017-06-16 20:07 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Pablo Rodriguez
> On 16 Jun 2017, at 21:46, Pablo Rodriguez <oinos@gmx.es> wrote:
>
> On 06/16/2017 09:34 PM, Hans Åberg wrote:
>> Thank you for the help. But the math characters do not show in \tt,
>> as in the example below. (Tried with TeX Live 2017.)
>
> I don’t do math (at all, not only with ConTeXt), but the following
> command seems to work:
>
> \definefontfamily[mainface][tt][TeX Gyre Pagella Math]
Great! That seems to work in \tt, but for some reson not with \starttyping. Probably one should set the font, But I can't find info about it.
___________________________________________________________________________________
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] 14+ messages in thread
* Re: Choosing font range
2017-06-16 20:07 ` Hans Åberg
@ 2017-06-17 5:36 ` Pablo Rodriguez
2017-06-17 8:11 ` Hans Åberg
2017-06-17 6:33 ` Henri Menke
1 sibling, 1 reply; 14+ messages in thread
From: Pablo Rodriguez @ 2017-06-17 5:36 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1: Type: text/plain, Size: 1285 bytes --]
On 06/16/2017 10:07 PM, Hans Åberg wrote:
>> On 16 Jun 2017, at 21:46, Pablo Rodriguez <oinos@gmx.es> wrote:
>> [...]
>> I don’t do math (at all, not only with ConTeXt), but the following
>> command seems to work:
>>
>> \definefontfamily[mainface][tt][TeX Gyre Pagella Math]
>
> Great! That seems to work in \tt, but for some reason not with
> \starttyping. Probably one should set the font, But I can't find info
> about it.
This is my sample:
\definefallbackfamily[mainface][tt][TeX Gyre Cursor]
[range={basiclatin, digitslatin}, force=yes]
\definefontfamily[mainface][rm][TeX Gyre Pagella]
\definefontfamily[mainface][mm][TeX Gyre Pagella Math]
\definefontfamily[mainface][tt][TeX Gyre Pagella Math]
\setupbodyfont[mainface]
\setupmathematics[lcgreek=normal, default=normal]
\starttext
\startformula
𝑨 ⇒ (𝑩 ⇒ 𝑨)
\stopformula
\starttyping
axiom B1. 𝑨 ⇒ (𝑩 ⇒ 𝑨).
\stoptyping
{\tt axiom A1. 𝑨 ⇒ (𝑩 ⇒ 𝑨).}
With latest beta (from 2017.06.15 22:10) and LuaTeX-1.05.0, I get three
formulas typeset with Pagella Math. (Output attached.)
If this doesn’t work with TeX Live 2017, you might try the latest beta
from the ConTeXt Suite.
Pablo
--
http://www.ousia.tk
[-- Attachment #2: a.pdf --]
[-- Type: application/pdf, Size: 8697 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] 14+ messages in thread
* Re: Choosing font range
2017-06-16 20:07 ` Hans Åberg
2017-06-17 5:36 ` Pablo Rodriguez
@ 2017-06-17 6:33 ` Henri Menke
2017-06-17 8:16 ` Hans Åberg
2017-06-17 8:32 ` Hans Åberg
1 sibling, 2 replies; 14+ messages in thread
From: Henri Menke @ 2017-06-17 6:33 UTC (permalink / raw)
To: ntg-context
On Fri, 2017-06-16 at 22:07 +0200, Hans Åberg wrote:
> >
> > On 16 Jun 2017, at 21:46, Pablo Rodriguez <oinos@gmx.es> wrote:
> >
> > On 06/16/2017 09:34 PM, Hans Åberg wrote:
> > >
> > > Thank you for the help. But the math characters do not show in \tt,
> > > as in the example below. (Tried with TeX Live 2017.)
> > I don’t do math (at all, not only with ConTeXt), but the following
> > command seems to work:
> >
> > \definefontfamily[mainface][tt][TeX Gyre Pagella Math]
> Great! That seems to work in \tt, but for some reson not with \starttyping. Probably one should
> set the font, But I can't find info about it.
The fallback mechanism has changed in a non-trivial manner since TL2017. You have to go with beta.
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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] 14+ messages in thread
* Re: Choosing font range
2017-06-17 5:36 ` Pablo Rodriguez
@ 2017-06-17 8:11 ` Hans Åberg
2017-06-17 10:11 ` Pablo Rodriguez
0 siblings, 1 reply; 14+ messages in thread
From: Hans Åberg @ 2017-06-17 8:11 UTC (permalink / raw)
To: mailing list for ConTeXt users
> On 17 Jun 2017, at 07:36, Pablo Rodriguez <oinos@gmx.es> wrote:
>
> On 06/16/2017 10:07 PM, Hans Åberg wrote:
>>> On 16 Jun 2017, at 21:46, Pablo Rodriguez <oinos@gmx.es> wrote:
>>> [...]
>>> I don’t do math (at all, not only with ConTeXt), but the following
>>> command seems to work:
>>>
>>> \definefontfamily[mainface][tt][TeX Gyre Pagella Math]
>>
>> Great! That seems to work in \tt, but for some reason not with
>> \starttyping. Probably one should set the font, But I can't find info
>> about it.
>
> This is my sample:
>
> \definefallbackfamily[mainface][tt][TeX Gyre Cursor]
> [range={basiclatin, digitslatin}, force=yes]
>
> \definefontfamily[mainface][rm][TeX Gyre Pagella]
> \definefontfamily[mainface][mm][TeX Gyre Pagella Math]
> \definefontfamily[mainface][tt][TeX Gyre Pagella Math]
>
> \setupbodyfont[mainface]
>
> \setupmathematics[lcgreek=normal, default=normal]
>
> \starttext
> \startformula
> 𝑨 ⇒ (𝑩 ⇒ 𝑨)
> \stopformula
>
> \starttyping
> axiom B1. 𝑨 ⇒ (𝑩 ⇒ 𝑨).
> \stoptyping
>
> {\tt axiom A1. 𝑨 ⇒ (𝑩 ⇒ 𝑨).}
>
> With latest beta (from 2017.06.15 22:10) and LuaTeX-1.05.0, I get three
> formulas typeset with Pagella Math. (Output attached.)
>
> If this doesn’t work with TeX Live 2017, you might try the latest beta
> from the ConTeXt Suite.
Yes, that is the problem. It works fine with latest beta.
I found a strange bug with the \tt command: when copying from the PDF, the spaces disappear. With your header above, I get (the comments is the text copy from the PDF):
{\tt axiom A1. 𝑨 ⇒ 𝑩.}
%axiom A1. 𝑨 ⇒ 𝑩.
{\tt axiom A1. 𝑨 ⇒ 𝑩 α.}
%axiomA1. 𝑨⇒𝑩α.
That is, when adding a single symbol, above "α", but it does not seem to matter which, the spaces disappear.
It does not happen with \starttext, though.
___________________________________________________________________________________
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] 14+ messages in thread
* Re: Choosing font range
2017-06-17 6:33 ` Henri Menke
@ 2017-06-17 8:16 ` Hans Åberg
2017-06-17 8:32 ` Hans Åberg
1 sibling, 0 replies; 14+ messages in thread
From: Hans Åberg @ 2017-06-17 8:16 UTC (permalink / raw)
To: mailing list for ConTeXt users
> On 17 Jun 2017, at 08:33, Henri Menke <henrimenke@gmail.com> wrote:
>
> On Fri, 2017-06-16 at 22:07 +0200, Hans Åberg wrote:
>>>
>>> On 16 Jun 2017, at 21:46, Pablo Rodriguez <oinos@gmx.es> wrote:
>>>
>>> On 06/16/2017 09:34 PM, Hans Åberg wrote:
>>>>
>>>> Thank you for the help. But the math characters do not show in \tt,
>>>> as in the example below. (Tried with TeX Live 2017.)
>>> I don’t do math (at all, not only with ConTeXt), but the following
>>> command seems to work:
>>>
>>> \definefontfamily[mainface][tt][TeX Gyre Pagella Math]
>> Great! That seems to work in \tt, but for some reson not with \starttyping. Probably one should
>> set the font, But I can't find info about it.
>
> The fallback mechanism has changed in a non-trivial manner since TL2017. You have to go with beta.
Yes, it works in latest beta. There is a TeX Live updating utility, at least on the MacOS distribution, that allows for server synchronizations between the yearly updates.
I found a strange bug with the \tt command, where the spaces disappear when copying from the PDF—see my other post in this thread. It occurs when adding a single symbol; it does not seem to matter which. It does not happen with \starttext, though.
___________________________________________________________________________________
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] 14+ messages in thread
* Re: Choosing font range
2017-06-17 6:33 ` Henri Menke
2017-06-17 8:16 ` Hans Åberg
@ 2017-06-17 8:32 ` Hans Åberg
1 sibling, 0 replies; 14+ messages in thread
From: Hans Åberg @ 2017-06-17 8:32 UTC (permalink / raw)
To: ConTeXt users
> On 17 Jun 2017, at 08:33, Henri Menke <henrimenke@gmail.com> wrote:
>
> The fallback mechanism has changed in a non-trivial manner since TL2017. You have to go with beta.
I looked at various fonts, and they all have at least some math characters that look strange to me. So I figure one has to make a virtual font from ranges.
___________________________________________________________________________________
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] 14+ messages in thread
* Re: Choosing font range
2017-06-17 8:11 ` Hans Åberg
@ 2017-06-17 10:11 ` Pablo Rodriguez
2017-06-17 12:05 ` Hans Åberg
2017-06-17 13:16 ` Hans Åberg
0 siblings, 2 replies; 14+ messages in thread
From: Pablo Rodriguez @ 2017-06-17 10:11 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1: Type: text/plain, Size: 1207 bytes --]
On 06/17/2017 10:11 AM, Hans Åberg wrote:
> [...]
> Yes, that is the problem. It works fine with latest beta.
>
> I found a strange bug with the \tt command: when copying from the
> PDF, the spaces disappear. With your header above, I get (the
> comments is the text copy from the PDF):
> [...]
> That is, when adding a single symbol, above "α", but it does not
> seem to matter which, the spaces disappear.
I get right spaces with latest beta from:
\definefallbackfamily[mainface][tt][TeX Gyre Cursor]
[range={basiclatin, digitslatin}, force=yes]
\definefontfamily[mainface][rm][TeX Gyre Pagella]
\definefontfamily[mainface][mm][TeX Gyre Pagella Math]
\definefontfamily[mainface][tt][TeX Gyre Pagella Math]
\setupbodyfont[mainface]
\setupmathematics[lcgreek=normal, default=normal]
\starttext
{\tt axiom A1. 𝑨 ⇒ 𝑩.}
{\tt axiom A1. 𝑨 ⇒ 𝑩 α.}
\stoptext
I used evince, xpdf, Acrobat, FoxitReader and mupdf. (Output enclosed
with \starttext commented.)
> It does not happen with \starttext, though.
Sorry, but I’m afraid I don’t know what you mean. I get the same results
commenting \starttext.
Pablo
--
http://www.ousia.tk
[-- Attachment #2: a.pdf --]
[-- Type: application/pdf, Size: 8398 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] 14+ messages in thread
* Re: Choosing font range
2017-06-17 10:11 ` Pablo Rodriguez
@ 2017-06-17 12:05 ` Hans Åberg
2017-06-17 13:16 ` Hans Åberg
1 sibling, 0 replies; 14+ messages in thread
From: Hans Åberg @ 2017-06-17 12:05 UTC (permalink / raw)
To: mailing list for ConTeXt users
> On 17 Jun 2017, at 12:11, Pablo Rodriguez <oinos@gmx.es> wrote:
>
> On 06/17/2017 10:11 AM, Hans Åberg wrote:
>> [...]
>> Yes, that is the problem. It works fine with latest beta.
>>
>> I found a strange bug with the \tt command: when copying from the
>> PDF, the spaces disappear. With your header above, I get (the
>> comments is the text copy from the PDF):
>> [...]
>> That is, when adding a single symbol, above "α", but it does not
>> seem to matter which, the spaces disappear.
>
> I get right spaces with latest beta from:
> I used evince, xpdf, Acrobat, FoxitReader and mupdf. (Output enclosed
> with \starttext commented.)
It looks right in the PDF, but not when copying them and pasting into a text only file.
>> It does not happen with \starttext, though.
>
> Sorry, but I’m afraid I don’t know what you mean. I get the same results
> commenting \starttext.
By contrast, copy-PDF paste text came our right here.
___________________________________________________________________________________
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] 14+ messages in thread
* Re: Choosing font range
2017-06-17 10:11 ` Pablo Rodriguez
2017-06-17 12:05 ` Hans Åberg
@ 2017-06-17 13:16 ` Hans Åberg
2017-06-17 13:27 ` Hans Åberg
1 sibling, 1 reply; 14+ messages in thread
From: Hans Åberg @ 2017-06-17 13:16 UTC (permalink / raw)
To: mailing list for ConTeXt users
> On 17 Jun 2017, at 12:11, Pablo Rodriguez <oinos@gmx.es> wrote:
>
> On 06/17/2017 10:11 AM, Hans Åberg wrote:
>> [...]
>> Yes, that is the problem. It works fine with latest beta.
>>
>> I found a strange bug with the \tt command: when copying from the
>> PDF, the spaces disappear. With your header above, I get (the
>> comments is the text copy from the PDF):
>> [...]
>> That is, when adding a single symbol, above "α", but it does not
>> seem to matter which, the spaces disappear.
>
> I get right spaces with latest beta...
I do not get the Unicode subscript and superscript numbers in \tt and \starttyping:
\definefallbackfamily[mainface][tt][TeX Gyre Cursor]
[range={basiclatin, digitslatin}, force=yes]
\definefontfamily[mainface][rm][TeX Gyre Pagella]
\definefontfamily[mainface][mm][TeX Gyre Pagella Math]
\definefontfamily[mainface][tt][TeX Gyre Pagella Math]
\setupbodyfont[mainface]
\setupmathematics[lcgreek=normal, default=normal]
\starttext
\startformula
𝑨¹₁, 𝑨¹₁ ⇒ 𝑩¹₁ ⊢ 𝑩¹₁.
\stopformula
\starttyping
rule MP. 𝑨¹₁, 𝑨¹₁ ⇒ 𝑩¹₁ ⊢ 𝑩¹₁.
\stoptyping
{\tt rule MP. 𝑨¹₁, 𝑨¹₁ ⇒ 𝑩¹₁ ⊢ 𝑩¹₁.}
\stoptext
___________________________________________________________________________________
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] 14+ messages in thread
* Re: Choosing font range
2017-06-17 13:16 ` Hans Åberg
@ 2017-06-17 13:27 ` Hans Åberg
0 siblings, 0 replies; 14+ messages in thread
From: Hans Åberg @ 2017-06-17 13:27 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Pablo Rodriguez
> On 17 Jun 2017, at 15:16, Hans Åberg <haberg-1@telia.com> wrote:
>
>> On 17 Jun 2017, at 12:11, Pablo Rodriguez <oinos@gmx.es> wrote:
>>
>> On 06/17/2017 10:11 AM, Hans Åberg wrote:
>>> [...]
>>> Yes, that is the problem. It works fine with latest beta.
>>>
>>> I found a strange bug with the \tt command: when copying from the
>>> PDF, the spaces disappear. With your header above, I get (the
>>> comments is the text copy from the PDF):
>>> [...]
>>> That is, when adding a single symbol, above "α", but it does not
>>> seem to matter which, the spaces disappear.
>>
>> I get right spaces with latest beta...
>
> I do not get the Unicode subscript and superscript numbers in \tt and \starttyping:
It is due to the font: they are in STIX Two Math:
\definefallbackfamily[mainface][tt][TeX Gyre Cursor]
[range={basiclatin, digitslatin}, force=yes]
\definefontfamily[mainface][rm][TeX Gyre Pagella]
\definefontfamily[mainface][mm][TeX Gyre Pagella Math]
\definefontfamily[mainface][tt][STIX Two Math]
\setupbodyfont[mainface]
\setupmathematics[lcgreek=normal, default=normal]
\starttext
\startformula
𝑨¹₁, 𝑨¹₁ ⇒ 𝑩¹₁ ⊢ 𝑩¹₁.
\stopformula
\starttyping
rule MP. 𝑨¹₁, 𝑨¹₁ ⇒ 𝑩¹₁ ⊢ 𝑩¹₁.
\stoptyping
{\tt rule MP. 𝑨¹₁, 𝑨¹₁ ⇒ 𝑩¹₁ ⊢ 𝑩¹₁.}
\stoptext
___________________________________________________________________________________
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] 14+ messages in thread
end of thread, other threads:[~2017-06-17 13:27 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-16 12:44 Choosing font range Hans Åberg
2017-06-16 18:46 ` Pablo Rodriguez
2017-06-16 19:34 ` Hans Åberg
2017-06-16 19:46 ` Pablo Rodriguez
2017-06-16 20:07 ` Hans Åberg
2017-06-17 5:36 ` Pablo Rodriguez
2017-06-17 8:11 ` Hans Åberg
2017-06-17 10:11 ` Pablo Rodriguez
2017-06-17 12:05 ` Hans Åberg
2017-06-17 13:16 ` Hans Åberg
2017-06-17 13:27 ` Hans Åberg
2017-06-17 6:33 ` Henri Menke
2017-06-17 8:16 ` Hans Åberg
2017-06-17 8:32 ` Hans Åberg
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).