ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Regression: A^\prime causes `Missing { inserted ...`
@ 2011-11-24 10:46 Paul Menzel
  2011-11-24 13:59 ` Xenia
  2011-11-24 14:59 ` Hans Hagen
  0 siblings, 2 replies; 7+ messages in thread
From: Paul Menzel @ 2011-11-24 10:46 UTC (permalink / raw)
  To: ntg-context


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

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.


Thanks,

Paul

[-- Attachment #1.1.2: exponent-regression.tex --]
[-- Type: text/x-tex, Size: 82 bytes --]

\starttext
	\placeformula
	\startformula
		A^\prime
	\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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Regression: A^\prime causes `Missing { inserted ...`
  2011-11-24 10:46 Regression: A^\prime causes `Missing { inserted ...` Paul Menzel
@ 2011-11-24 13:59 ` Xenia
  2011-11-24 14:59 ` Hans Hagen
  1 sibling, 0 replies; 7+ messages in thread
From: Xenia @ 2011-11-24 13:59 UTC (permalink / raw)
  To: ntg-context

Am 24.11.2011 11:46, schrieb Paul Menzel:
> 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.

Right, for me A' produces the same result. But maybe this is a font-issue.
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Regression: A^\prime causes `Missing { inserted ...`
  2011-11-24 10:46 Regression: A^\prime causes `Missing { inserted ...` Paul Menzel
  2011-11-24 13:59 ` Xenia
@ 2011-11-24 14:59 ` Hans Hagen
  2011-11-24 15:39   ` [solved] " Paul Menzel
  2011-11-24 16:26   ` Khaled Hosny
  1 sibling, 2 replies; 7+ messages in thread
From: Hans Hagen @ 2011-11-24 14:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Paul Menzel

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [solved] Regression: A^\prime causes `Missing { inserted ...`
  2011-11-24 14:59 ` Hans Hagen
@ 2011-11-24 15:39   ` Paul Menzel
  2011-11-24 16:26   ` Khaled Hosny
  1 sibling, 0 replies; 7+ messages in thread
From: Paul Menzel @ 2011-11-24 15:39 UTC (permalink / raw)
  To: ntg-context


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Regression: A^\prime causes `Missing { inserted ...`
  2011-11-24 14:59 ` Hans Hagen
  2011-11-24 15:39   ` [solved] " Paul Menzel
@ 2011-11-24 16:26   ` Khaled Hosny
  2011-11-24 16:31     ` Hans Hagen
  1 sibling, 1 reply; 7+ messages in thread
From: Khaled Hosny @ 2011-11-24 16:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Paul Menzel

On Thu, Nov 24, 2011 at 03:59:53PM +0100, Hans Hagen wrote:
> 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.

What about A_\prime? (that is one of the stated reasons in TeXBook on
why \prime in CM is big).

Regards,
 Khaled
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Regression: A^\prime causes `Missing { inserted ...`
  2011-11-24 16:26   ` Khaled Hosny
@ 2011-11-24 16:31     ` Hans Hagen
  2011-11-24 16:40       ` Khaled Hosny
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2011-11-24 16:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Paul Menzel

On 24-11-2011 17:26, Khaled Hosny wrote:

> What about A_\prime? (that is one of the stated reasons in TeXBook on
> why \prime in CM is big).

Is that used at all? (For that purpose we could have \bigprime or so.)

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Regression: A^\prime causes `Missing { inserted ...`
  2011-11-24 16:31     ` Hans Hagen
@ 2011-11-24 16:40       ` Khaled Hosny
  0 siblings, 0 replies; 7+ messages in thread
From: Khaled Hosny @ 2011-11-24 16:40 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users, Paul Menzel

On Thu, Nov 24, 2011 at 05:31:12PM +0100, Hans Hagen wrote:
> On 24-11-2011 17:26, Khaled Hosny wrote:
> 
> >What about A_\prime? (that is one of the stated reasons in TeXBook on
> >why \prime in CM is big).
> 
> Is that used at all? (For that purpose we could have \bigprime or so.)

No idea, I'm not a mathematician. I don't know how \prime is done in
MkIV, but with OpenType Math the sizing is handled by the ssty¹ feature,
so A^\prime and A_\prime should result in properly sized prime as long
as ssty is applied and no other special tricks are involved. \prime on
its own would still show a small glyph in most fonts, but this shouldn't
be an issue.

¹ ssty maps prime to a bigger glyphs that would be in proper size when
scaled down for script size.

Regards,
 Khaled 
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-11-24 16:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-24 10:46 Regression: A^\prime causes `Missing { inserted ...` Paul Menzel
2011-11-24 13:59 ` Xenia
2011-11-24 14:59 ` Hans Hagen
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

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