ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Yue Wang" <yuleopen@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: MKIV bug
Date: Sun, 18 Jan 2009 13:06:34 +0800	[thread overview]
Message-ID: <68bfdc900901172106i62a10db1i4648ba71d458247c@mail.gmail.com> (raw)
In-Reply-To: <49723942.9010206@elvenkind.com>

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
___________________________________________________________________________________


  reply	other threads:[~2009-01-18  5:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-17 14:55 Yue Wang
2009-01-17 18:35 ` Longmin Wang
2009-01-17 20:02   ` Taco Hoekwater
2009-01-18  5:06     ` Yue Wang [this message]
2009-01-18 10:52       ` Henning Hraban Ramm
2009-01-18 12:12         ` Yue Wang
2009-01-18 12:54           ` Hans Hagen

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=68bfdc900901172106i62a10db1i4648ba71d458247c@mail.gmail.com \
    --to=yuleopen@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).