ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Location of primes and strange latin modern font
@ 2017-05-14 22:28 Akira Kakuto
  0 siblings, 0 replies; 6+ messages in thread
From: Akira Kakuto @ 2017-05-14 22:28 UTC (permalink / raw)
  To: ntg-context

> Will the primes also get fixed? In the latest standalone (I downloaded
> it minutes ago), I get the attached result running the same test file.

It seems that the primes are not yet fixed in
mtx-context     | current version: 2017.05.14 19:09

It requires, for example:

\starttext
Compare ${u_p}\hskip-.5em''$ and $u''_{\hskip-.63em p}$ with $u''$
\stoptext

Best,
Akira

___________________________________________________________________________________
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] 6+ messages in thread

* Re: Location of primes and strange latin modern font
  2017-05-13 17:05   ` Hans Hagen
@ 2017-05-13 17:26     ` Mikael P. Sundqvist
  0 siblings, 0 replies; 6+ messages in thread
From: Mikael P. Sundqvist @ 2017-05-13 17:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1954 bytes --]

On Sat, May 13, 2017 at 7:05 PM, Hans Hagen <pragma@wxs.nl> wrote:
> On 5/11/2017 8:35 PM, Mathias Schickel wrote:
>>>
>>> 2) The math font looks strange (or should I say different) in the
>>> ConTeXt example. (Wrong size, scaled?)
>>
>>
>> Yeah, this seems to be a bug in the current version. I have observed that,
>> too. Hans did recently add (due to my suggestion, so thanks again, Hans,
>> even if this seems to have caused some trouble) support for optical sizes in
>> fallbacks and I suppose the bug has been introduced there. So at present the
>> bug occurs that ConTeXt uses the smallest optical size for every symbol
>> (independent of the size). This results in strange looking mathematics.
>> Maybe you can fix this, Hans?
>
>
> Yes, in that process i swapped text and scriptscipt sizes but it has been
> fixed.
>
> -----------------------------------------------------------------
>                                           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
> ___________________________________________________________________________________

Hans, thanks for the fix with the sizes in math.

Will the primes also get fixed? In the latest standalone (I downloaded
it minutes ago), I get the attached result running the same test file.

/Mikael

PS Sorry if I'm too quick, if you are in the progress of solving this.

[-- Attachment #2: prime-problem.png --]
[-- Type: image/png, Size: 36358 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] 6+ messages in thread

* Re: Location of primes and strange latin modern font
  2017-05-11 18:35 ` Mathias Schickel
  2017-05-12 12:11   ` Mikael P. Sundqvist
@ 2017-05-13 17:05   ` Hans Hagen
  2017-05-13 17:26     ` Mikael P. Sundqvist
  1 sibling, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2017-05-13 17:05 UTC (permalink / raw)
  To: Mathias Schickel, mailing list for ConTeXt users

On 5/11/2017 8:35 PM, Mathias Schickel wrote:
>> 2) The math font looks strange (or should I say different) in the
>> ConTeXt example. (Wrong size, scaled?)
>
> Yeah, this seems to be a bug in the current version. I have observed that, too. Hans did recently add (due to my suggestion, so thanks again, Hans, even if this seems to have caused some trouble) support for optical sizes in fallbacks and I suppose the bug has been introduced there. So at present the bug occurs that ConTeXt uses the smallest optical size for every symbol (independent of the size). This results in strange looking mathematics. Maybe you can fix this, Hans?

Yes, in that process i swapped text and scriptscipt sizes but it has 
been fixed.

-----------------------------------------------------------------
                                           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] 6+ messages in thread

* Re: Location of primes and strange latin modern font
  2017-05-11 18:35 ` Mathias Schickel
@ 2017-05-12 12:11   ` Mikael P. Sundqvist
  2017-05-13 17:05   ` Hans Hagen
  1 sibling, 0 replies; 6+ messages in thread
From: Mikael P. Sundqvist @ 2017-05-12 12:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, May 11, 2017 at 8:35 PM, Mathias Schickel
<msch@fa.uni-tuebingen.de> wrote:
>> 2) The math font looks strange (or should I say different) in the
>> ConTeXt example. (Wrong size, scaled?)
>
> Yeah, this seems to be a bug in the current version. I have observed that, too. Hans did recently add (due to my suggestion, so thanks again, Hans, even if this seems to have caused some trouble) support for optical sizes in fallbacks and I suppose the bug has been introduced there. So at present the bug occurs that ConTeXt uses the smallest optical size for every symbol (independent of the size). This results in strange looking mathematics. Maybe you can fix this, Hans?
>
> -Mathias
>
>
>> Am 11.05.2017 um 18:51 schrieb Mikael P. Sundqvist <mickep@gmail.com>:
>>
>> Dear list,
>>
>> I posted this question on stack exchange
>> (https://tex.stackexchange.com/q/369226/52406), and got the suggestion
>> that it might be a bug, and therefore I post it here as well:
>>
>> I have a problem with typesetting derivatives (and latin modern) in
>> ConTeXt in latest standalone.
>>
>> Minimal example:
>>
>> \starttext
>> Compare $u_p''$ and $u''_p$ with $u''$
>> \stoptext
>>
>> Please see the attached image for the output (here I have also
>> included the corresponding output, compiling a similar simple document
>> in LaTeX, where things look as I expect.)
>>
>> Basically, I have two questions:
>>
>> 1) How should I write derivatives (say second derivatives) in ConTeXt?
>> I think that the primes are too far away from each other. In
>> particular when the subscript $p$ is there (the first formula).
>>
>> 2) The math font looks strange (or should I say different) in the
>> ConTeXt example. (Wrong size, scaled?)
>>
>> For a while I thought that the second problem might be because I
>> define no font. But the following example gives a similar result.
>>
>> \definefontfamily[myface][rm][Latin Modern Roman]
>> \definefontfamily[myface][mm][Latin Modern Math]
>>
>> \setupbodyfont[myface]
>>
>> \starttext
>> Compare $u_p''$ and $u''_p$ with $u''$
>> \stoptext
>>
>> Any ideas?
>>
>> /Mikael
>> <latin-modern.png>___________________________________________________________________________________
>> 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
> ___________________________________________________________________________________

Thank you Mathias for your answer! That is most likely the problem!
Then we can only wait for Hans to put a new beta out. Hans, will that
happen soon?

Also, Hans, what is the official ConTeXt-way to write u with double
prime and subscript p, as in the example? Should both $u_p''$ and
$u''_p$ work?

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Location of primes and strange latin modern font
  2017-05-11 16:51 Mikael P. Sundqvist
@ 2017-05-11 18:35 ` Mathias Schickel
  2017-05-12 12:11   ` Mikael P. Sundqvist
  2017-05-13 17:05   ` Hans Hagen
  0 siblings, 2 replies; 6+ messages in thread
From: Mathias Schickel @ 2017-05-11 18:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

> 2) The math font looks strange (or should I say different) in the
> ConTeXt example. (Wrong size, scaled?)

Yeah, this seems to be a bug in the current version. I have observed that, too. Hans did recently add (due to my suggestion, so thanks again, Hans, even if this seems to have caused some trouble) support for optical sizes in fallbacks and I suppose the bug has been introduced there. So at present the bug occurs that ConTeXt uses the smallest optical size for every symbol (independent of the size). This results in strange looking mathematics. Maybe you can fix this, Hans?

-Mathias


> Am 11.05.2017 um 18:51 schrieb Mikael P. Sundqvist <mickep@gmail.com>:
> 
> Dear list,
> 
> I posted this question on stack exchange
> (https://tex.stackexchange.com/q/369226/52406), and got the suggestion
> that it might be a bug, and therefore I post it here as well:
> 
> I have a problem with typesetting derivatives (and latin modern) in
> ConTeXt in latest standalone.
> 
> Minimal example:
> 
> \starttext
> Compare $u_p''$ and $u''_p$ with $u''$
> \stoptext
> 
> Please see the attached image for the output (here I have also
> included the corresponding output, compiling a similar simple document
> in LaTeX, where things look as I expect.)
> 
> Basically, I have two questions:
> 
> 1) How should I write derivatives (say second derivatives) in ConTeXt?
> I think that the primes are too far away from each other. In
> particular when the subscript $p$ is there (the first formula).
> 
> 2) The math font looks strange (or should I say different) in the
> ConTeXt example. (Wrong size, scaled?)
> 
> For a while I thought that the second problem might be because I
> define no font. But the following example gives a similar result.
> 
> \definefontfamily[myface][rm][Latin Modern Roman]
> \definefontfamily[myface][mm][Latin Modern Math]
> 
> \setupbodyfont[myface]
> 
> \starttext
> Compare $u_p''$ and $u''_p$ with $u''$
> \stoptext
> 
> Any ideas?
> 
> /Mikael
> <latin-modern.png>___________________________________________________________________________________
> 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] 6+ messages in thread

* Location of primes and strange latin modern font
@ 2017-05-11 16:51 Mikael P. Sundqvist
  2017-05-11 18:35 ` Mathias Schickel
  0 siblings, 1 reply; 6+ messages in thread
From: Mikael P. Sundqvist @ 2017-05-11 16:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1216 bytes --]

Dear list,

I posted this question on stack exchange
(https://tex.stackexchange.com/q/369226/52406), and got the suggestion
that it might be a bug, and therefore I post it here as well:

I have a problem with typesetting derivatives (and latin modern) in
ConTeXt in latest standalone.

Minimal example:

\starttext
Compare $u_p''$ and $u''_p$ with $u''$
\stoptext

Please see the attached image for the output (here I have also
included the corresponding output, compiling a similar simple document
in LaTeX, where things look as I expect.)

Basically, I have two questions:

1) How should I write derivatives (say second derivatives) in ConTeXt?
I think that the primes are too far away from each other. In
particular when the subscript $p$ is there (the first formula).

2) The math font looks strange (or should I say different) in the
ConTeXt example. (Wrong size, scaled?)

For a while I thought that the second problem might be because I
define no font. But the following example gives a similar result.

\definefontfamily[myface][rm][Latin Modern Roman]
\definefontfamily[myface][mm][Latin Modern Math]

\setupbodyfont[myface]

\starttext
Compare $u_p''$ and $u''_p$ with $u''$
\stoptext

Any ideas?

/Mikael

[-- Attachment #2: latin-modern.png --]
[-- Type: image/png, Size: 46855 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] 6+ messages in thread

end of thread, other threads:[~2017-05-14 22:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-14 22:28 Location of primes and strange latin modern font Akira Kakuto
  -- strict thread matches above, loose matches on Subject: below --
2017-05-11 16:51 Mikael P. Sundqvist
2017-05-11 18:35 ` Mathias Schickel
2017-05-12 12:11   ` Mikael P. Sundqvist
2017-05-13 17:05   ` Hans Hagen
2017-05-13 17:26     ` Mikael P. Sundqvist

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).