* Bug in maths prime (derivative)
@ 2013-09-16 12:29 Otared Kavian
2013-09-17 12:58 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Otared Kavian @ 2013-09-16 12:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 931 bytes --]
Hi Hans,
I noticed that recently a discrepancy in the way the prime is positioned in the presence of an index as in $f'_n$ or $f_n'$ (please see the attached PDF). However the positioning is correct in expressions such as $u^k_n$.
The problem shows up only in mkiv, and as far as I can say the differnece between the results in mkii and mkiv appeared recently (unfortunately I can't say when…).
%%%% begin minimal-example.tex
\starttext
\startbuffer[math]
If for $n \geq 1$ we consider $f_{n} : {\Bbb R} \longrightarrow {\Bbb R}$ a real valued function, and $u_{n} : {\Bbb Z} \longrightarrow {\Bbb Z}$ then we denote
\startformula
f'_{n}(x) := \lim_{h\to 0}{f_{n}(x + h) - f_{n}(x) \over h}\qquad\mbox{and}\quad u^k_{n} := u_{n}(k)
\stopformula
\stopbuffer
\getbuffer[math]
\switchtobodyfont[times]
\getbuffer[math]
\switchtobodyfont[palatino]
\getbuffer[math]
\stoptext
%%%% end minimal-example.tex
[-- Attachment #2: bug-prime.pdf --]
[-- Type: application/pdf, Size: 30849 bytes --]
[-- Attachment #3: 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug in maths prime (derivative)
2013-09-16 12:29 Bug in maths prime (derivative) Otared Kavian
@ 2013-09-17 12:58 ` Hans Hagen
2013-09-17 19:48 ` Otared Kavian
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2013-09-17 12:58 UTC (permalink / raw)
To: ntg-context
On 9/16/2013 2:29 PM, Otared Kavian wrote:
> Hi Hans,
>
> I noticed that recently a discrepancy in the way the prime is positioned in the presence of an index as in $f'_n$ or $f_n'$ (please see the attached PDF). However the positioning is correct in expressions such as $u^k_n$.
> The problem shows up only in mkiv, and as far as I can say the differnece between the results in mkii and mkiv appeared recently (unfortunately I can't say when…).
something got lost when cleaning up the code ... fixed (but we have
smaller primes .. i'll make a large option one day but rather wait till
there is a trivial extension to luatex (that i need to discuss with taco)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug in maths prime (derivative)
2013-09-17 12:58 ` Hans Hagen
@ 2013-09-17 19:48 ` Otared Kavian
0 siblings, 0 replies; 3+ messages in thread
From: Otared Kavian @ 2013-09-17 19:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
Thanks Hans: I did some testing with several fonts and situations, and everything is perfect.
Best regards: OK
On 17 sept. 2013, at 14:58, Hans Hagen <pragma@wxs.nl> wrote:
> On 9/16/2013 2:29 PM, Otared Kavian wrote:
>> Hi Hans,
>>
>> I noticed that recently a discrepancy in the way the prime is positioned in the presence of an index as in $f'_n$ or $f_n'$ (please see the attached PDF). However the positioning is correct in expressions such as $u^k_n$.
>> The problem shows up only in mkiv, and as far as I can say the differnece between the results in mkii and mkiv appeared recently (unfortunately I can't say when…).
>
> something got lost when cleaning up the code ... fixed (but we have smaller primes .. i'll make a large option one day but rather wait till there is a trivial extension to luatex (that i need to discuss with taco)
>
> Hans
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
> | 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://tex.aanhet.net
> archive : http://foundry.supelec.fr/projects/contextrev/
> 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-09-17 19:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-16 12:29 Bug in maths prime (derivative) Otared Kavian
2013-09-17 12:58 ` Hans Hagen
2013-09-17 19:48 ` Otared Kavian
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).