ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ' doesn't make a prime in math mode
@ 2007-05-06 17:08 Ricard Roca
  2007-05-06 18:51 ` Aditya Mahajan
  2007-05-06 20:13 ` Mojca Miklavec
  0 siblings, 2 replies; 9+ messages in thread
From: Ricard Roca @ 2007-05-06 17:08 UTC (permalink / raw)
  To: ntg-context

Hi,

In the lastest conTeXt, typing a ' in math mode typesets nothing and 
gives an error (undefined control sequence). You have to use ^\prime, 
instead.

Thanks,

Ricard Roca
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: ' doesn't make a prime in math mode
  2007-05-06 17:08 ' doesn't make a prime in math mode Ricard Roca
@ 2007-05-06 18:51 ` Aditya Mahajan
  2007-05-06 20:13 ` Mojca Miklavec
  1 sibling, 0 replies; 9+ messages in thread
From: Aditya Mahajan @ 2007-05-06 18:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, 6 May 2007, Ricard Roca wrote:

> Hi,
>
> In the lastest conTeXt, typing a ' in math mode typesets nothing and
> gives an error (undefined control sequence). You have to use ^\prime,
> instead.

Which version are you using (check the log file). With

ConTeXt  ver: 2007.04.17 12:51 MKII  fmt: 2007.4.19  int: 
english/english

the following works fine

\starttext
$f'(x)$
\stoptext

Aditya
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: ' doesn't make a prime in math mode
  2007-05-06 17:08 ' doesn't make a prime in math mode Ricard Roca
  2007-05-06 18:51 ` Aditya Mahajan
@ 2007-05-06 20:13 ` Mojca Miklavec
  2007-05-07  1:36   ` Ricard Roca
  1 sibling, 1 reply; 9+ messages in thread
From: Mojca Miklavec @ 2007-05-06 20:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 5/6/07, Ricard Roca wrote:
> Hi,
>
> In the lastest conTeXt, typing a ' in math mode typesets nothing and
> gives an error (undefined control sequence). You have to use ^\prime,
> instead.

Are you using MikTeX by any chance? This is broken exactly in the
version which MikTeX is using (which is the last one uploaded on
CTAN). You can take a recent version of ConTeXt (cont-tmf.zip from
pragma), unzip it, refresh filename database and recreate formats
(either explicitely for cont-en or uncheck the box "exclude this
format when updating" and recreate all formats). (The exact phrases
might be slightly different.)

The problem is that a recent version of ConTeXt requires pdfTeX 1.40
(but the described procedure worked for me in 2.5 and broke the whole
MikTeX in 2.6, although when I tried to reproduce the bug(?) for the
second time, it worked again).

It's up to Taco to decide when to upload a more recent and reasonably
stable version of ConTeXt to CTAN, but now when MikTeX 2.6 with the
latest pdfTeX has officially been released, it would make sense to get
rid of that bug in MikTeX (not necessary without introducing new
ones). The version of ConTeXt on TeX Live (with a fixed "euro bug")
seems stable enough to me, but of course it could be a later version
as well. MikTeX doesn't include XeTeX yet, so the recently broken font
handling wouldn't influence it too much.

(As far as I know, MikTeX is basically the only really important
distribution which fetches ConTeXt from CTAN. Other distributions are
either based on TeXLive or fetch recent files from Pragma.)

Mojca
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: ' doesn't make a prime in math mode
  2007-05-06 20:13 ` Mojca Miklavec
@ 2007-05-07  1:36   ` Ricard Roca
  2007-05-07  2:18     ` Sanjoy Mahajan
  2007-05-07  6:15     ` ' doesn't make a prime in math mode Aditya Mahajan
  0 siblings, 2 replies; 9+ messages in thread
From: Ricard Roca @ 2007-05-07  1:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I'm using the last version, installed with ctxtools. My system is TeXlive.

I thought it happened because of some config file or macro in my system, 
so I tested

\starttext
$f'(x)$
\stoptext

with the live conTeXt in the garden, and it gives an error too.

Ricard
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: ' doesn't make a prime in math mode
  2007-05-07  1:36   ` Ricard Roca
@ 2007-05-07  2:18     ` Sanjoy Mahajan
  2007-05-07  7:14       ` ' doesn't make a prime in math mode (solved) Ricard Roca
  2007-05-07  6:15     ` ' doesn't make a prime in math mode Aditya Mahajan
  1 sibling, 1 reply; 9+ messages in thread
From: Sanjoy Mahajan @ 2007-05-07  2:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I just tried (on Ubuntu/i386, texlive 2007 pkgs):

ConTeXt  ver: 2007.04.17 12:51 MKII  fmt: 2007.4.28  int: english/english

and your test file worked fine.  What version string is output when
you run it?

I remember reporting this problem a while ago (0.5-1 year ago?) and it
got fixed right away.

-Sanjoy

`Not all those who wander are lost.' (J.R.R. Tolkien)
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: ' doesn't make a prime in math mode
  2007-05-07  1:36   ` Ricard Roca
  2007-05-07  2:18     ` Sanjoy Mahajan
@ 2007-05-07  6:15     ` Aditya Mahajan
  2007-05-07  8:13       ` Patrick Gundlach
  1 sibling, 1 reply; 9+ messages in thread
From: Aditya Mahajan @ 2007-05-07  6:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Patrick Gundlach

On Mon, 7 May 2007, Ricard Roca wrote:

> I'm using the last version, installed with ctxtools. My system is TeXlive.
>
> I thought it happened because of some config file or macro in my system,
> so I tested
>
> \starttext
> $f'(x)$
> \stoptext
>
> with the live conTeXt in the garden, and it gives an error too.

The reason it is not working on the garden is due to a bug in live 
interface.

Patrick, there is a quote-char escape problem in live. When you type 
f'(x) in the textarea, the form escapes the quote-char, and what TeX 
sees is f\'(x) and gives an error.

Richard, you should definitely not have this behaviour in your own 
machine. Can you post the log that you get from the above file.

Aditya
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: ' doesn't make a prime in math mode (solved)
  2007-05-07  2:18     ` Sanjoy Mahajan
@ 2007-05-07  7:14       ` Ricard Roca
  0 siblings, 0 replies; 9+ messages in thread
From: Ricard Roca @ 2007-05-07  7:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Solved! It was a bad written own macro that enabled mathpunctuation 
(decimal comma) automatically depending on the language on every 
mathematics. I have rewritten it and now all works.

Sorry for the noise. I thought it could be that, but when I tried the 
live context in the garden I wasn't so sure.

Thanks

Ricard
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: ' doesn't make a prime in math mode
  2007-05-07  6:15     ` ' doesn't make a prime in math mode Aditya Mahajan
@ 2007-05-07  8:13       ` Patrick Gundlach
  2007-05-07 14:27         ` Sanjoy Mahajan
  0 siblings, 1 reply; 9+ messages in thread
From: Patrick Gundlach @ 2007-05-07  8:13 UTC (permalink / raw)
  To: ntg-context

Hello Ricard, Aditya,

>> I thought it happened because of some config file or macro in my system,
>> so I tested
>>
>> \starttext
>> $f'(x)$
>> \stoptext
>>
>> with the live conTeXt in the garden, and it gives an error too.

> The reason it is not working on the garden is due to a bug in live 
> interface.

This is fixed now. PHP sucks :-( Thanks for the report!

Patrick
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: ' doesn't make a prime in math mode
  2007-05-07  8:13       ` Patrick Gundlach
@ 2007-05-07 14:27         ` Sanjoy Mahajan
  0 siblings, 0 replies; 9+ messages in thread
From: Sanjoy Mahajan @ 2007-05-07 14:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

> PHP sucks :-( 

That is very true; it's a ghastly language.  Python with mod_python
work very well, if the hosting provider is willing.

-Sanjoy

`Not all those who wander are lost.' (J.R.R. Tolkien)
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2007-05-07 14:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-06 17:08 ' doesn't make a prime in math mode Ricard Roca
2007-05-06 18:51 ` Aditya Mahajan
2007-05-06 20:13 ` Mojca Miklavec
2007-05-07  1:36   ` Ricard Roca
2007-05-07  2:18     ` Sanjoy Mahajan
2007-05-07  7:14       ` ' doesn't make a prime in math mode (solved) Ricard Roca
2007-05-07  6:15     ` ' doesn't make a prime in math mode Aditya Mahajan
2007-05-07  8:13       ` Patrick Gundlach
2007-05-07 14:27         ` Sanjoy Mahajan

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