ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Paul Menzel <paulepanter@users.sourceforge.net>
Subject: Re: Regression: A^\prime causes `Missing { inserted ...`
Date: Thu, 24 Nov 2011 15:59:53 +0100	[thread overview]
Message-ID: <4ECE5BE9.3000106@wxs.nl> (raw)
In-Reply-To: <1322131619.3391.14.camel@mattotaupa>

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
___________________________________________________________________________________


  parent reply	other threads:[~2011-11-24 14:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-24 10:46 Paul Menzel
2011-11-24 13:59 ` Xenia
2011-11-24 14:59 ` Hans Hagen [this message]
2011-11-24 15:39   ` [solved] " Paul Menzel
2011-11-24 16:26   ` Khaled Hosny
2011-11-24 16:31     ` Hans Hagen
2011-11-24 16:40       ` Khaled Hosny

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=4ECE5BE9.3000106@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    --cc=paulepanter@users.sourceforge.net \
    /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).