Regression: A^\prime causes `Missing { inserted ...`
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
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.
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 -----------------------------------------------------------------
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
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
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 -----------------------------------------------------------------
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
participants (4)
-
Hans Hagen
-
Khaled Hosny
-
Paul Menzel
-
Xenia