ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Bug in maths prime (derivative)
Date: Mon, 16 Sep 2013 14:29:04 +0200	[thread overview]
Message-ID: <15226265-2CA4-4479-8A64-3899FA604372@gmail.com> (raw)

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

             reply	other threads:[~2013-09-16 12:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-16 12:29 Otared Kavian [this message]
2013-09-17 12:58 ` Hans Hagen
2013-09-17 19:48   ` Otared Kavian

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=15226265-2CA4-4479-8A64-3899FA604372@gmail.com \
    --to=otared@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).