* math typesetting problem in MKIV
@ 2009-08-17 13:10 Brian R. Landy
2009-08-17 16:22 ` Taco Hoekwater
0 siblings, 1 reply; 4+ messages in thread
From: Brian R. Landy @ 2009-08-17 13:10 UTC (permalink / raw)
To: ntg-context
Hi, I have a small equation I am attempting to typeset. Using MKII it
comes out fine, but under MKIV the text "non-perf. bal." is not
typeset correctly (non-perf is instead nonperf with the dash under the
'p', and extra space appears after 'bal.')
\starttext
\math{\text{adjusted
smm}={{(\text{vTr}+\alpha\times\text{sTr})\times(\text{perf. scheduled
bal.})+\text{iTr}\times(\text{non||perf. bal.})}\over\text{balance}}}
\stoptext
I just updated minimals to ConTeXt 2009.08.17 10:43 and LuaTeX
beta-0.42.0-2009071723 and still see the issue.
Thanks,
Brian
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: math typesetting problem in MKIV
2009-08-17 13:10 math typesetting problem in MKIV Brian R. Landy
@ 2009-08-17 16:22 ` Taco Hoekwater
2009-08-17 18:13 ` Taco Hoekwater
0 siblings, 1 reply; 4+ messages in thread
From: Taco Hoekwater @ 2009-08-17 16:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
Brian R. Landy wrote:
> Hi, I have a small equation I am attempting to typeset. Using MKII it
> comes out fine, but under MKIV the text "non-perf. bal." is not typeset
> correctly (non-perf is instead nonperf with the dash under the 'p', and
> extra space appears after 'bal.')
>
> \starttext
> \math{\text{adjusted
> smm}={{(\text{vTr}+\alpha\times\text{sTr})\times(\text{perf. scheduled
> bal.})+\text{iTr}\times(\text{non||perf. bal.})}\over\text{balance}}}
> \stoptext
It could be an engine problem in the handling of \mathchoice, I
am checking it out. A slightly smaller erroneous file is:
\starttext
\math {(\text{non\discretionary{-}{}{-}perf.})\over1}
\stoptext
more later.
Best wishes,
Taco
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: math typesetting problem in MKIV
2009-08-17 16:22 ` Taco Hoekwater
@ 2009-08-17 18:13 ` Taco Hoekwater
2009-08-18 10:08 ` Brian R. Landy
0 siblings, 1 reply; 4+ messages in thread
From: Taco Hoekwater @ 2009-08-17 18:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
Taco Hoekwater wrote:
> Brian R. Landy wrote:
>> Hi, I have a small equation I am attempting to typeset. Using MKII it
>> comes out fine, but under MKIV the text "non-perf. bal." is not typeset
>> correctly (non-perf is instead nonperf with the dash under the 'p', and
>> extra space appears after 'bal.')
>
> It could be an engine problem in the handling of \mathchoice, I
> am checking it out. A slightly smaller erroneous file is:
>
> \starttext
> \math {(\text{non\discretionary{-}{}{-}perf.})\over1}
> \stoptext
>
> more later.
Properly fixing this could take me a while, so let me propose
a workaround for the time being. Add this to your preamble and
you should have proper output again:
\unexpanded\def\mathchoice#1#2#3#4%
{{\ifcase\mathstyle #1\or#1\or#2\or#2\or#3\or#3\or#4\or#4\fi }}
Best wishes,
Taco
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: math typesetting problem in MKIV
2009-08-17 18:13 ` Taco Hoekwater
@ 2009-08-18 10:08 ` Brian R. Landy
0 siblings, 0 replies; 4+ messages in thread
From: Brian R. Landy @ 2009-08-18 10:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
Thanks Taco, that worked just fine for me.
Best regards,
Brian
On Aug 17, 2009, at 2:13 PM, Taco Hoekwater wrote:
>
> Hi,
>
> Taco Hoekwater wrote:
>> Brian R. Landy wrote:
>>> Hi, I have a small equation I am attempting to typeset. Using
>>> MKII it
>>> comes out fine, but under MKIV the text "non-perf. bal." is not
>>> typeset
>>> correctly (non-perf is instead nonperf with the dash under the
>>> 'p', and
>>> extra space appears after 'bal.')
>> It could be an engine problem in the handling of \mathchoice, I
>> am checking it out. A slightly smaller erroneous file is:
>> \starttext
>> \math {(\text{non\discretionary{-}{}{-}perf.})\over1}
>> \stoptext
>> more later.
>
> Properly fixing this could take me a while, so let me propose
> a workaround for the time being. Add this to your preamble and
> you should have proper output again:
>
> \unexpanded\def\mathchoice#1#2#3#4%
> {{\ifcase\mathstyle #1\or#1\or#2\or#2\or#3\or#3\or#4\or#4\fi }}
>
> Best wishes,
> Taco
> ___________________________________________________________________________________
> 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-08-18 10:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-17 13:10 math typesetting problem in MKIV Brian R. Landy
2009-08-17 16:22 ` Taco Hoekwater
2009-08-17 18:13 ` Taco Hoekwater
2009-08-18 10:08 ` Brian R. Landy
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).