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


[-- Attachment #1.1.1: Type: text/plain, Size: 1914 bytes --]

Am Donnerstag, den 24.11.2011, 15:59 +0100 schrieb Hans Hagen:
> On 24-11-2011 11:46, Paul Menzel wrote:

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

Interesting. Thank you for the clarification. I will use A' from now on
I guess.


Thanks,

Paul

[-- Attachment #1.1.2: prime.pdf --]
[-- Type: application/pdf, Size: 12475 bytes --]

[-- Attachment #1.1.3: prime.tex --]
[-- Type: text/x-tex, Size: 164 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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	other threads:[~2011-11-24 15:39 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
2011-11-24 15:39   ` Paul Menzel [this message]
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=1322149188.3391.53.camel@mattotaupa \
    --to=paulepanter@users.sourceforge.net \
    --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).