' doesn't make a prime in math mode
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
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
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
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
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)
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
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
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
participants (5)
-
Aditya Mahajan
-
Mojca Miklavec
-
Patrick Gundlach
-
Ricard Roca
-
Sanjoy Mahajan