Re: [NTG-context] ' doesn't make a prime in math mode

2007-05-07 Thread Aditya Mahajan
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
___


Re: [NTG-context] ' doesn't make a prime in math mode (solved)

2007-05-07 Thread Ricard Roca
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
___


Re: [NTG-context] ' doesn't make a prime in math mode

2007-05-07 Thread Patrick Gundlach
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
___


Re: [NTG-context] ' doesn't make a prime in math mode

2007-05-07 Thread Sanjoy Mahajan
 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
___


[NTG-context] ' doesn't make a prime in math mode

2007-05-06 Thread Ricard Roca
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
___


Re: [NTG-context] ' doesn't make a prime in math mode

2007-05-06 Thread Aditya Mahajan
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
___


Re: [NTG-context] ' doesn't make a prime in math mode

2007-05-06 Thread Mojca Miklavec
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
___


Re: [NTG-context] ' doesn't make a prime in math mode

2007-05-06 Thread Ricard Roca
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
___


Re: [NTG-context] ' doesn't make a prime in math mode

2007-05-06 Thread Sanjoy Mahajan
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
___