On 24-11-2011 11:46, Paul Menzel wrote:
Dear ConTeXt folks,


having upgraded

         ConTeXt  ver: 2011.10.14 22:47 MKIV  fmt: 2011.10.15  int: 
english/english.

to

         ConTeXt  ver: 2011.11.23 18:58 MKIV  fmt: 2011.11.24  int: 
english/english

With

         \starttext
                \placeformula
                \startformula
                        A^\prime
                \stopformula
         \stoptext

I get the following error.

         fonts>  fallback modern rm 12pt is loaded
         ! Missing { inserted.

         system>  tex>  error on line 4 in file exponent-regression..tex: 
Missing { inserted ...

         1     \starttext
         2      \placeformula
         3      \startformula
         4>>              A^\prime
         5      \stopformula
         6     \stoptext
         7

         <to be read again>
                            ^
         \prime ...char \textfont \zerocount "FE325\relax ^
                                                           \bgroup \expandafter 
\dodo...
         l.4            A^\prime

         ?

As a workaround `A^{\prime}` can be used.

Forget about superscripting prime .. that's a traditional tex thing as in cm/lm fonts the prime is so big that it has to be (super)scripted to look okay.

The prime in unicode is a normal one so that's what we now support, also for the lm fonts. Just compare:

\startformula
    A\prime
    \hbox spread 1em{\hss or\hss}
    A^{\prime}
    \hbox spread 1em{\hss or\hss}
    A'
\stopformula

Keep in mind that most users expect ' to be a prime.

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
___________________________________________________________________________________

Reply via email to