ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Using \cal, \frak, \goth in math mode
@ 2003-05-08 16:40 Giuseppe Bilotta
  2003-05-09 12:44 ` Francisco V Leung
  0 siblings, 1 reply; 9+ messages in thread
From: Giuseppe Bilotta @ 2003-05-08 16:40 UTC (permalink / raw)


In ConTeXt, \cal, \frak and \goth (etc) are considered "text
only" commands. To use them in math mode one has to use
\gothing, \fraktur, \calligraphic etc, which make a temporary
switch to text mode. This is contrary to the LaTeX
expectations, where $\cal ABC$ makes all three letters
calligraphic. How could such a thing be achieved in ConTeXt?

-- 
Giuseppe "Oblomov" Bilotta

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

* Re: Using \cal, \frak, \goth in math mode
  2003-05-09 12:44 ` Francisco V Leung
@ 2003-05-09 12:41   ` Slawek Zak
  2003-05-09 13:54   ` Re[2]: " Giuseppe Bilotta
  1 sibling, 0 replies; 9+ messages in thread
From: Slawek Zak @ 2003-05-09 12:41 UTC (permalink / raw)


On Fri, May 09, 2003 at 08:44:52PM +0800, Francisco V Leung wrote:
> I don't understand the problem.
> 
> $\cal ABC$ does make all three letters calligraphic in ConTeXt, at least in
> my system.

{ \cg some text } should do it.

/S

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

* Re: Using \cal, \frak, \goth in math mode
  2003-05-08 16:40 Using \cal, \frak, \goth in math mode Giuseppe Bilotta
@ 2003-05-09 12:44 ` Francisco V Leung
  2003-05-09 12:41   ` Slawek Zak
  2003-05-09 13:54   ` Re[2]: " Giuseppe Bilotta
  0 siblings, 2 replies; 9+ messages in thread
From: Francisco V Leung @ 2003-05-09 12:44 UTC (permalink / raw)


I don't understand the problem.

$\cal ABC$ does make all three letters calligraphic in ConTeXt, at least in
my system.

Francisco V Leung

----- Original Message -----
From: "Giuseppe Bilotta" <gip.bilotta@iol.it>
To: <ntg-context@ntg.nl>
Sent: Friday, May 09, 2003 12:40 AM
Subject: [NTG-context] Using \cal, \frak, \goth in math mode


> In ConTeXt, \cal, \frak and \goth (etc) are considered "text
> only" commands. To use them in math mode one has to use
> \gothing, \fraktur, \calligraphic etc, which make a temporary
> switch to text mode. This is contrary to the LaTeX
> expectations, where $\cal ABC$ makes all three letters
> calligraphic. How could such a thing be achieved in ConTeXt?
>
> --
> Giuseppe "Oblomov" Bilotta
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re[2]: Using \cal, \frak, \goth in math mode
  2003-05-09 12:44 ` Francisco V Leung
  2003-05-09 12:41   ` Slawek Zak
@ 2003-05-09 13:54   ` Giuseppe Bilotta
  2003-05-10 10:38     ` Francisco V Leung
  1 sibling, 1 reply; 9+ messages in thread
From: Giuseppe Bilotta @ 2003-05-09 13:54 UTC (permalink / raw)


Friday, May 9, 2003 Francisco V Leung wrote:

FVL> I don't understand the problem.

FVL> $\cal ABC$ does make all three letters calligraphic in ConTeXt, at least in
FVL> my system.

Not in mine.

\starttext
$\cal ABC$
\stoptext

gives normal (math, italic) type ...

-- 
Giuseppe "Oblomov" Bilotta

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

* Re: Re[2]: Using \cal, \frak, \goth in math mode
  2003-05-09 13:54   ` Re[2]: " Giuseppe Bilotta
@ 2003-05-10 10:38     ` Francisco V Leung
  2003-05-10 15:21       ` Re[4]: " Giuseppe Bilotta
  0 siblings, 1 reply; 9+ messages in thread
From: Francisco V Leung @ 2003-05-10 10:38 UTC (permalink / raw)


Could the problem have something to do with the version of the system?

I use pdfTeX Version 3.14159-14h-released-20010417 (Web2C 7.3.3.1) on SuSE
Linux 7.2 with ConTeXt ver: 2002.10.23.

By the way, this version of ConTeXt has a problem with  \angle in math mode:
the Acrobat Reader will complain of missing font when I use \angle.

----- Original Message -----
From: "Giuseppe Bilotta" <gip.bilotta@iol.it>
To: <ntg-context@ntg.nl>
Sent: Friday, May 09, 2003 9:54 PM
Subject: Re[2]: [NTG-context] Using \cal, \frak, \goth in math mode


> Friday, May 9, 2003 Francisco V Leung wrote:
>
> FVL> I don't understand the problem.
>
> FVL> $\cal ABC$ does make all three letters calligraphic in ConTeXt, at
least in
> FVL> my system.
>
> Not in mine.
>
> \starttext
> $\cal ABC$
> \stoptext
>
> gives normal (math, italic) type ...
>
> --
> Giuseppe "Oblomov" Bilotta
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re[4]: Using \cal, \frak, \goth in math mode
  2003-05-10 10:38     ` Francisco V Leung
@ 2003-05-10 15:21       ` Giuseppe Bilotta
  2003-05-12 17:36         ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Giuseppe Bilotta @ 2003-05-10 15:21 UTC (permalink / raw)
  Cc: Hans Hagen

Saturday, May 10, 2003 Francisco V Leung wrote:

FVL> Could the problem have something to do with the version of the system?

FVL> I use pdfTeX Version 3.14159-14h-released-20010417 (Web2C 7.3.3.1) on SuSE
FVL> Linux 7.2 with ConTeXt ver: 2002.10.23.

FVL> By the way, this version of ConTeXt has a problem
FVL> with  \angle in math mode:
FVL> the Acrobat Reader will complain of missing font when I use \angle.

I have version 2003.04.29. Yes, there have been many changes,
and along the fixes to your problems (you should upgrade!)
there have been also some changes in approach to font handling.

I'm not going to suggest a change in the core, since the
current approach seems to be the one preferred by Hans.
Rather, I'll implement the relative changes in a separate
module specifically designed for AMS-LaTeX compatibility.




Hans: there's a bug in your current implementation: in
font-ini.tex there's a line reading:

\def\caligraphic#1{\mathortext\mathtext\donothing{\cal #1}}

while it should read

\def\calligraphic#1{\mathortext\mathtext\donothing{\cal #1}}

(two ells)

-- 
Giuseppe "Oblomov" Bilotta

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

* Re[4]: Using \cal, \frak, \goth in math mode
  2003-05-10 15:21       ` Re[4]: " Giuseppe Bilotta
@ 2003-05-12 17:36         ` Hans Hagen
  2003-05-12 22:59           ` Re[5]: " Giuseppe Bilotta
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2003-05-12 17:36 UTC (permalink / raw)


At 17:21 10/05/2003 +0200, you wrote:

>I'm not going to suggest a change in the core, since the
>current approach seems to be the one preferred by Hans.
>Rather, I'll implement the relative changes in a separate
>module specifically designed for AMS-LaTeX compatibility.

changing it now would result in reverting to previous behavior, and then 
request for other behavior .. so we keep circling

We can make this configurable wong with more things (stable thingies can 
move to the newmath module (m-newmat) [my stepwise growing math module with 
configurable math; gb's not too latex specific goodies may go in there when 
approved -)]

[features like calligraphic are rather font dependent and currently can be 
configured by remapping fonts and families; tricky things]

>Hans: there's a bug in your current implementation: in
>font-ini.tex there's a line reading:


>\def\calligraphic#1{\mathortext\mathtext\donothing{\cal #1}}

ok done, also in mult-con?

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

* Re[5]: Using \cal, \frak, \goth in math mode
  2003-05-12 17:36         ` Hans Hagen
@ 2003-05-12 22:59           ` Giuseppe Bilotta
  2003-05-13  8:12             ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Giuseppe Bilotta @ 2003-05-12 22:59 UTC (permalink / raw)


Monday, May 12, 2003 Hans Hagen wrote:

HH> At 17:21 10/05/2003 +0200, you wrote:

>>I'm not going to suggest a change in the core, since the
>>current approach seems to be the one preferred by Hans.
>>Rather, I'll implement the relative changes in a separate
>>module specifically designed for AMS-LaTeX compatibility.

HH> changing it now would result in reverting to previous behavior, and then
HH> request for other behavior .. so we keep circling

HH> We can make this configurable wong with more things (stable thingies can
HH> move to the newmath module (m-newmat) [my stepwise growing math module with
HH> configurable math; gb's not too latex specific goodies may go in there when
HH> approved -)]

We can discuss this in Hawaii, if you're coming there. BTW, I'm
now torn between presenting the math stuff (rather incomplete)
or presenting e-Omega 1.15--2.1, now that it seems to pass the
trip test. What would you suggest?

HH> [features like calligraphic are rather font dependent and currently can be
HH> configured by remapping fonts and families; tricky things]

>>Hans: there's a bug in your current implementation: in
>>font-ini.tex there's a line reading:


>>\def\calligraphic#1{\mathortext\mathtext\donothing{\cal #1}}

HH> ok done, also in mult-con?

Haven't looked into it I must say :)

-- 
Giuseppe "Oblomov" Bilotta

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

* Re[5]: Using \cal, \frak, \goth in math mode
  2003-05-12 22:59           ` Re[5]: " Giuseppe Bilotta
@ 2003-05-13  8:12             ` Hans Hagen
  0 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2003-05-13  8:12 UTC (permalink / raw)
  Cc: ntg-context

At 00:59 13/05/2003 +0200, Giuseppe Bilotta wrote:

>We can discuss this in Hawaii, if you're coming there. BTW, I'm

i'll be there (in the committee actually so i have to come)

>now torn between presenting the math stuff (rather incomplete)
>or presenting e-Omega 1.15--2.1, now that it seems to pass the
>trip test. What would you suggest?

eomega would be fun esp if it could run a decent large job without problems

maybe there's room for two talks: math + a small e-omega one (i'll ask)

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

end of thread, other threads:[~2003-05-13  8:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-08 16:40 Using \cal, \frak, \goth in math mode Giuseppe Bilotta
2003-05-09 12:44 ` Francisco V Leung
2003-05-09 12:41   ` Slawek Zak
2003-05-09 13:54   ` Re[2]: " Giuseppe Bilotta
2003-05-10 10:38     ` Francisco V Leung
2003-05-10 15:21       ` Re[4]: " Giuseppe Bilotta
2003-05-12 17:36         ` Hans Hagen
2003-05-12 22:59           ` Re[5]: " Giuseppe Bilotta
2003-05-13  8:12             ` Hans Hagen

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