Re: [NTG-context] Kerning and Minion Pro

2009-01-17 Thread Taco Hoekwater

Andreas Harder wrote:

Hello,

I've a curious problem: With Palatino or Latin Modern kerning seems to 
work as intended, but what's the matter with Minion (example below)?


This appears to be caused by the fact that in MinionPro most
(not all, but most) of the kerning is specified via kern classes.

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
___


[NTG-context] bug in math mode

2009-01-17 Thread Yue Wang
Hi, Taco:

Last week you invited me to test the trunk version of luatex. Today I
compiled LuaTeX trunk version
(This is LuaTeX, Version snapshot-0.32.0-2009011719, build unknown)
and used first-setup.sh (change --context tag into experimental as
Mojca suggested) to download the ConTeXt
(MtxRun | current version: 2009.01.17 00:15)
distribution. And after compiling one of my thesis, I found there is a
bug in mathmode. I am not sure whether it is a bug in luatex itself or
a bug in ConTeXt.

Yue Wang


new.tex
Description: TeX document
___
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
___


Re: [NTG-context] bug in math mode

2009-01-17 Thread Yue Wang
Hi, Hans and Taco:


Sorry for the noise, I think this problem is a typescript bug, not a
luatex bug. since MKII can reproduce that as well. Another similar
problem can be reproduced using the palatino font:

{{\rm d} C\over {\rm d}t} = aPC_{\rm env}+n\epsilon P_{\rm fs} C_{\rm env}

+ {Sc \over V}+ n(1-\epsilon)P_{\rm fs}C

 - (a+n+k) C + RL_{\rm fl}A_{\rm fl}

Yue Wang


On Sat, Jan 17, 2009 at 7:46 PM, Yue Wang yuleo...@gmail.com wrote:
 Hi, Taco:

 Last week you invited me to test the trunk version of luatex. Today I
 compiled LuaTeX trunk version
 (This is LuaTeX, Version snapshot-0.32.0-2009011719, build unknown)
 and used first-setup.sh (change --context tag into experimental as
 Mojca suggested) to download the ConTeXt
 (MtxRun | current version: 2009.01.17 00:15)
 distribution. And after compiling one of my thesis, I found there is a
 bug in mathmode. I am not sure whether it is a bug in luatex itself or
 a bug in ConTeXt.

 Yue Wang

___
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
___


Re: [NTG-context] bug in math mode

2009-01-17 Thread Taco Hoekwater

Yue Wang wrote:

Hi, Hans and Taco:


Sorry for the noise, I think this problem is a typescript bug, not a
luatex bug. since MKII can reproduce that as well. Another similar
problem can be reproduced using the palatino font:


The map file (original-youngryu-px.map) seems to be using a wrong
encoding for the virtual bits of pxr.tfm.

Minimals:
  rpxpplr  \
TeXGyrePagella-Regular encqrm ReEncodeFont q-rm.enc qplr.pfb

TeXLive:
  rpxpplr  URWPalladioL-Roma   8r.enc uplr8a.pfb



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
___


Re: [NTG-context] bug in math mode

2009-01-17 Thread Mojca Miklavec
On Sat, Jan 17, 2009 at 2:27 PM, Taco Hoekwater wrote:
 Yue Wang wrote:

 Hi, Hans and Taco:


 Sorry for the noise, I think this problem is a typescript bug, not a
 luatex bug. since MKII can reproduce that as well. Another similar
 problem can be reproduced using the palatino font:

 The map file (original-youngryu-px.map) seems to be using a wrong
 encoding for the virtual bits of pxr.tfm.

 Minimals:
  rpxpplr  \
TeXGyrePagella-Regular encqrm ReEncodeFont q-rm.enc qplr.pfb

 TeXLive:
  rpxpplr  URWPalladioL-Roma   8r.enc uplr8a.pfb

Hmmm ... I really have no idea who on earth could have screwed up the
encoding in original-youngryu-px.map ( tx) so badly ...

Should we request adding q-8r.enc to TeX Gyre then? I have to admit
that I have no idea when 8r is used, so someone else would need to
help with providing nice arguments to the Polish group (or Hans could
add that encoding to ConTeXt temporary).

Replacing q-rm.enc with 8r.enc probably works in 95% cases, so that
should be a quick fix for now. I get these warnings when trying the
\showfont[rpxpplr] with modified encoding:

tex-gyre/qplr.pfb): glyph `onesuperior' undefined
tex-gyre/qplr.pfb): glyph `threesuperior' undefined
tex-gyre/qplr.pfb): glyph `twosuperior' undefined

but maybe they are not so harmful ...

Yue, thanks a lot for reporting this.

Mojca
___
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
___


[NTG-context] MKIV bug

2009-01-17 Thread Yue Wang
Hi, Hans

Using context=experimental, the following cross references all appear as ??
MKII works fine.


\placeformula \startformula \startalign
 \NC v \NC = u + at \NR[eq:v]
 \NC h \NC = ut + \frac12 gt^2 \NR[eq:h]
\stopalign \stopformula
Equation (\in[eq:v]) tells the final velocity after
time $t$ and equation (\in[eq:h]) tells the distance
travelled in time $t$.


Yue Wang
___
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
___


Re: [NTG-context] bug in math mode

2009-01-17 Thread Mojca Miklavec
On Sat, Jan 17, 2009 at 3:20 PM, Mojca Miklavec wrote:

 Should we request adding q-8r.enc to TeX Gyre then? I have to admit
 that I have no idea when 8r is used, so someone else would need to
 help with providing nice arguments to the Polish group (or Hans could
 add that encoding to ConTeXt temporary).

Answering my own question ... if we request the file to be added to
TeX Gyre, we would end up:
- requesting the file
- it will take a few months before a new font version comes out
- and a few more months before the files proliferate
- a few monts later TeX Gyre math will come out
- after that we would request removal of that file again and nobody
will understand why we requested it in the first place

So maybe it's best if Hans adds q-8r.enc to ConTeXt? Perhaps making a
copy of 8r.enc and fixing (one|two|three)superior should do for now?

rpxpplr  TeXGyrePagella-Regular encq8r ReEncodeFont q-8r.enc qplr.pfb
rpxpplb  TeXGyrePagella-Boldencq8r ReEncodeFont q-8r.enc qplb.pfb
rpxpplri TeXGyrePagella-Italic  encq8r ReEncodeFont q-8r.enc qplri.pfb
rpxpplbi TeXGyrePagella-BoldItalic  encq8r ReEncodeFont q-8r.enc qplbi.pfb

Mojca

PS: not that one.superior works with the fixed encding that I'm
attaching here, but at least it doesn't complain.


q-8r.enc
Description: Binary data
___
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
___


[NTG-context] weird bug updating minimals

2009-01-17 Thread Thomas A. Schmitz

Hi all, Mojca,

after Taco resolved one issue with the latest luatex, I was trying to  
update on my osx-ppc box, and I am encountering a strange bug: when I  
run the ./first-setup.sh script, the rsync processes fail with this  
message:


MtxRun | using script: ./bin/mtx-update.lua

dyld: Library not loaded: /usr/lib/libiconv.2.dylib
  Referenced from: /bin/sh
  Reason: Incompatible library version: sh requires version 7.0.0 or  
later, but libiconv.2.dylib provides version 5.0.0


and so on. Now this box has several more or less abandoned  
installations of darwinports and fink, but this looks like it's trying  
to link to the library provided by the system (OS X 10.5.6) and  
complaining it's too old. Any pointers to this one?


All best

Thomas
___
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
___


Re: [NTG-context] weird bug updating minimals

2009-01-17 Thread Mojca Miklavec
On Sat, Jan 17, 2009 at 6:02 PM, Thomas A. Schmitz wrote:
 Hi all, Mojca,

 after Taco resolved one issue with the latest luatex, I was trying to update
 on my osx-ppc box, and I am encountering a strange bug: when I run the
 ./first-setup.sh script, the rsync processes fail with this message:

 MtxRun | using script: ./bin/mtx-update.lua

 dyld: Library not loaded: /usr/lib/libiconv.2.dylib
  Referenced from: /bin/sh
  Reason: Incompatible library version: sh requires version 7.0.0 or later,
 but libiconv.2.dylib provides version 5.0.0

 and so on. Now this box has several more or less abandoned installations of
 darwinports and fink, but this looks like it's trying to link to the library
 provided by the system (OS X 10.5.6) and complaining it's too old. Any
 pointers to this one?

Hmmm ... libiconv? Is that comming from luatex? The only dependencies
listed on this computer seem to be:

 otool -L luatex
luatex:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 88.3.11)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0,
current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0,
current version 1.0.0)

I have (cross-)compiled the binaries on 10.4.something, so ... I'm
confused. Is your library too old or is the required library too old
(older than the one you have)?

Mojca
___
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
___


Re: [NTG-context] Kerning and Minion Pro

2009-01-17 Thread Andreas Harder
 I've a curious problem: With Palatino or Latin Modern kerning  
seems to

 work as intended, but what's the matter with Minion (example below)?

 This appears to be caused by the fact that in MinionPro most
 (not all, but most) of the kerning is specified via kern classes.

Than you for explanation! But, is it possible to activate kerning for  
MinionPro?


And what about the following example?

\startbuffer[KernTest]
  \startlines
Tänze,
Tanze,
Väter,
Vater,
  \stoplines
\stopbuffer

The kerned „Väter“ can't be right (with MinionPro).

Greetings,
Andreas

___
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
___


Re: [NTG-context] MKIV bug

2009-01-17 Thread Longmin Wang
But it works fine here with both context=experimental and
context=beta. The versions are ``2009.01.17 00:15'' for experimental
and ``2009.01.14 11:29'' for beta. 

On Sat, Jan 17, 2009 at 10:55:48PM +0800, Yue Wang wrote:
Hi, Hans

Using context=experimental, the following cross references all appear as ??
MKII works fine.


\placeformula \startformula \startalign
 \NC v \NC = u + at \NR[eq:v]
 \NC h \NC = ut + \frac12 gt^2 \NR[eq:h]
\stopalign \stopformula
Equation (\in[eq:v]) tells the final velocity after
time $t$ and equation (\in[eq:h]) tells the distance
travelled in time $t$.


Yue Wang
___
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
___

-- 
Longmin Wang longminw...@gmail.com
Math. Dept., Nankai Univ., China
http://math.nankai.edu.cn/~wanglm/
GnuPG-Key ID: 1024D/2A5CFA5C
Fingerprint: 8587 1246 3AAD C185 D419  ADF1 B620 D8B8 2A5C FA5C
___
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
___


Re: [NTG-context] weird bug updating minimals

2009-01-17 Thread Thomas A. Schmitz


On Jan 17, 2009, at 6:20 PM, Mojca Miklavec wrote:


Hmmm ... libiconv? Is that comming from luatex? The only dependencies
listed on this computer seem to be:



Well, good question... It looks like this happens when the script  
tries to run rsync, but I have no reason why this should involve  
libiconv:


mtx update | running command: rsync -rpztlv --stats 
contextgarden.net::'minimals/current/misc/setuptex/' '/Users/tas/ 
context/tex/.'
run | rsync -rpztlv --statscontextgarden.net::'minimals/current/ 
misc/setuptex/' '/Users/tas/context/tex/.'

dyld: Library not loaded: /usr/lib/libiconv.2.dylib
  Referenced from: /bin/sh
  Reason: Incompatible library version: sh requires version 7.0.0 or  
later, but libiconv.2.dylib provides version 5.0.0


and so on


otool -L luatex

luatex:
   /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 88.3.11)
   /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0,
current version 7.4.0)
   /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0,
current version 1.0.0)

I have (cross-)compiled the binaries on 10.4.something, so ... I'm
confused. Is your library too old or is the required library too old
(older than the one you have)?


I would would seem that the library on my system is too old. But it's  
beyond me to find out which process is calling this library and which  
version I have installed... :-(


Thomas
___
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
___


Re: [NTG-context] weird bug updating minimals

2009-01-17 Thread Taco Hoekwater

Mojca Miklavec wrote:


and so on. Now this box has several more or less abandoned installations of
darwinports and fink, but this looks like it's trying to link to the library
provided by the system (OS X 10.5.6) and complaining it's too old. Any
pointers to this one?


Hmmm ... libiconv? Is that comming from luatex? The only dependencies


The immediate message comes from /bin/sh, probably from a nested call
with a modified library path (rsync sounds like a likely candidate to
me, but that is just guessing). luatex should not depend on libiconv on
any platform, and it doesn't alter the library search path (not that I
know of, in any case).

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
___


Re: [NTG-context] MKIV bug

2009-01-17 Thread Taco Hoekwater

Longmin Wang wrote:

But it works fine here with both context=experimental and
context=beta. The versions are ``2009.01.17 00:15'' for experimental
and ``2009.01.14 11:29'' for beta. 


Appears fine here as well, with context 2009.01.17 00:15. But I assume
your test file was longer thatn just the little block below. Perhaps
you should post a full file.

Btw, the example breaks with cont-xp, but in a different way:
it throws an error at me about an undefined control sequence
(\currentformulassynchronize).

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
___


Re: [NTG-context] Kerning and Minion Pro

2009-01-17 Thread Taco Hoekwater

Andreas Harder wrote:

  I've a curious problem: With Palatino or Latin Modern kerning seems to
  work as intended, but what's the matter with Minion (example below)?

  This appears to be caused by the fact that in MinionPro most
  (not all, but most) of the kerning is specified via kern classes.

Than you for explanation! But, is it possible to activate kerning for 
MinionPro?

And what about the following example?

\startbuffer[KernTest]
  \startlines
Tänze,
Tanze,
Väter,
Vater,
  \stoplines
\stopbuffer

The kerned „Väter“ can't be right (with MinionPro).


Here the blue (= base mode) actually looks correct, but that just means 
that mkiv needs a patch: the base kerns are also generated by the mkiv

font loader, after all. It probably got confused by the kerning classes.

I expect that it actually did work earlier (pre 0.31), and that what you
see now is just a regression. But it is better for me to wait for Hans'
comment than to dive into the code  and maybe spend hours on a problem
that would take him 10 seconds.

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
___


[NTG-context] colored column

2009-01-17 Thread Wolfgang Werners-Lucchini
Hallo!

\setupcolors[state=start]
\starttext
\starttable[ o1 | \{C{red} |]
\VL red \VL\SR
\stoptable
\stoptext

This was an older example which worked some years ago (see: 
http://www.ntg.nl/pipermail/ntg-context/2006/020803.html), but is not 
working anymore.

What is the problem here?

Wolfgang
___
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
___


Re: [NTG-context] A few questions about aligned maths

2009-01-17 Thread Dave
Is there any progress on this?  I notice it is not yet in the core.  I'm in
need of an AMSL split-like environment but the above doesn't work entirely
as expected.  Below is an example.
Any ideas?
Thanks, Dave

\placeformula
\startformula \startalign
  \NC \sigma_{L_s}^2
  \NC= E\left\{ \eps_L^2 \right\} \NR
  \NC \NC= \startmathlines
   \NC E\left\{ \left( \frac{1}{L_{\ref}^2(\nu)}

 \Re{\eps_{\pth}+\eps_{\off}}\,\cos\left(\phi(\nu)\right) +

 \Im{\eps_{\pth}+\eps_{\off}}\,\sin\left(\phi(\nu)\right)
\right)^2 \right\} - \NR
   \NC E\left\{ \frac{2}{L_{\ref}^2(\nu)} \,
\frac{L_{\pth}(\nu)}{L_{\ref}(\nu)}
\left(
  \Re{\eps_{\pth} +
\eps_{\off}}\,\cos\left(\phi(\nu)\right) +
  \Im{\eps_{\pth} +
\eps_{\off}}\,\sin\left(\phi(\nu)\right)
\right) \NR
\NC \left(
  \Re{\eps_{\ref} +
\eps_{\off}}\,\cos\left(\phi(\nu)\right) +
  \Im{\eps_{\ref} +
\eps_{\off}}\,\sin\left(\phi(\nu)\right) +
\right)
\right\} + \NR
   \NC E\left\{ \frac{1}{L_{\ref}^2(\nu)} \,
\frac{L_{\pth}^2(\nu)}{L_{\ref}^2(\nu)}
\left(
  \Re{\eps_{\ref} +
\eps_{\off}}\,\cos\left(\phi(\nu)\right) +
  \Im{\eps_{\ref} +
\eps_{\off}}\,\sin\left(\phi(\nu)\right)
\right)^2 \right\} \NR
\stopmathlines \NR
  \NC \NC= \frac{1}{L_{\ref}^2} \, \left( \sigma_{\pth}^2 +
   \left(\frac{L_{\pth}}{L_{\ref}} - 1\right)^2 \sigma_{\off}^2 +
   \left(\frac{L_{\pth}}{L_{\ref}}\right)^2 \sigma_{\ref}^2 \right)
   \NR[eq:SpcTransVarC2]
\stopalign \stopformula


On Mon, Mar 24, 2008 at 7:17 AM, Aditya Mahajan adit...@umich.edu wrote:

 On Mon, 24 Mar 2008, Hans Hagen wrote:

  Morgan Brassel wrote:
 
  Sorry that I can't help you with the implementation, Aditya... I just
 want
  to confirm that your new macro perfectly fits my needs. I hope it will
  make it into the core, it really is useful!
 
  once aditya is confident that it makes sense and works as expected it
  will probably end up in the core, but as usual i'll wait till he sends
  me an updated core file

 It will be a while before I am able to get all the bells and whistles
 (take care of where the formula number is to be placed, and how how the
 formula is to be aligned).

 Aditya

 ___
 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
___


Re: [NTG-context] MKIV bug

2009-01-17 Thread Yue Wang
Hi, Taco:


 Appears fine here as well, with context 2009.01.17 00:15. But I assume
 your test file was longer thatn just the little block below. Perhaps
 you should post a full file.

 Btw, the example breaks with cont-xp, but in a different way:
 it throws an error at me about an undefined control sequence
 (\currentformulassynchronize).


OK, in fact the whole file is just add \bye at the end of that piece of code.

This works well on both mkii and mkiv:
\starttext
\placeformula \startformula \startalign
 \NC v \NC = u + at \NR[eq:v]
 \NC h \NC = ut + \frac12 gt^2 \NR[eq:h]
\stopalign \stopformula
Equation (\in[eq:v]) tells the final velocity after
time $t$ and equation (\in[eq:h]) tells the distance
travelled in time $t$.
\stoptext

and this only works in MKII, not mkiv:
\placeformula \startformula \startalign
 \NC v \NC = u + at \NR[eq:v]
 \NC h \NC = ut + \frac12 gt^2 \NR[eq:h]
\stopalign \stopformula
Equation (\in[eq:v]) tells the final velocity after
time $t$ and equation (\in[eq:h]) tells the distance
travelled in time $t$.
\bye


Another problem which I reported a few weeks ago is still not solved.
when I use a sans font, like \setupbodyfont[iwona, ss,12pt], the label
for the equation still uses roman font unless i manually change them
by \setupformulae. I think this can be improved.


Yue Wang
___
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
___