Extension talk:TeX Editor

Sum-Symbol
as like "3.can not find button $$\sum$$ when editing a page", i cannot find it too. I just (17:27, 25 March 2010 (UTC)) install it on the latest Mediawiki version. Does anyone have a solution?
 * Yeah, I have also the same problem. I can not find the symbol in the edit tool bar.--Simonlsw 15:15, 8 April 2010 (UTC)

I found some bugs in 1.11.2
1.preview doesn't work but it can preview automatically.

2.TEX/Favorites is not loaded.

3.can not find button $$\sum$$ when editing a page


 * Hmmm, I made a minor spelling correction in the content page and now the page is generating errors, presumably due to file permission problems.  DavidJameson 14:58, 1 August 2006 (UTC)
 * Hi David, where do you see errors? on which page? here on the wiki or on your server at home? Mafs 16:15, 1 August 2006 (UTC)
 * The error was on THIS site - the content page - looked like it was trying to reference some files or folders that were not writable.
 * strange ...


 * PS I corrected a bug in Extension:TEX Editor/Code.


 * I just installed TeXEditor - it's very nice but I'm seeing a problem. Whenever I click on a math symbol in your popup window, I get a little dialog popup that says  Error: wfSajaxMath not callable.


 * David, thank you for testing!
 * I can reproduce the error message by disabling the line "$wgAjaxExportList[] = 'wfSajaxMath';" in SpecialTexbox.php, eg

// $wgAjaxExportList[] = 'wfSajaxMath';


 * Does your LocalSettings.php contain something like $wgAjaxExportList[] = array( ...); which would override the value set in SpecialTexbox.php?
 * Mafs 20:16, 1 August 2006 (UTC)
 * Yes - I just installed the FCKeditor to try it out. The following lines were put in LocalSettings

$wgAjaxExportList = array( 'wfSajaxSearch' ); $wgAjaxExportList[] = 'wfSajaxSearchImageFCKeditor'; DavidJameson 21:09, 1 August 2006 (UTC)


 * That's it, provided the FCK part was placed behind the Math part. So, remove

$wgAjaxExportList = array( 'wfSajaxSearch' );


 * which was copied from DefaultSettings.php and it should work (hopefully). I will delete this line also in FCKeditor. Mafs 21:39, 1 August 2006 (UTC)


 * Yep - that fixes the problem - however, it seems to me that the code needs to be generalised so that the array is not assigned if it already exists. Otherwise everyone who writes extensions that need Ajax is going to be bitten by this. Who should this be reported to? DavidJameson 14:18, 2 August 2006 (UTC)


 * Hm, you might want to delete eg 'wfSajaxSearch' from the list in which case you must empty the array.
 * To claify the issue here I move $wgAjaxExportList[] = 'wfSajaxMath'; from the code part to the LocalSetting.php section.
 * Thanks again for testing. Mafs 21:40, 2 August 2006 (UTC)


 * I become the Error: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /includes/SpecialTexbox.php on line 370 - Error was the false Editor :-/ - Problem is cleared

1.8.2
Any update on the 1.8.2-compatibility ?

Preview doesn't work
I've just installed the extension. Everything works smoothly despite preview feature. It simply shows nothing when I click on "preview" button. JavaScript console says "memory is not defined".

MediaWiki 1.9.2, Gentoo Linux, Firefox 1.5.

Any ideas?
 * I too have the same issue. Based on the discussion above, I checked to see where $wgAjaxExportList is set. Here's what I've got:

prompt> grep -R wgAjaxExportList * includes/AjaxDispatcher.php:           global $wgAjaxExportList, $wgOut; includes/AjaxDispatcher.php:           if (! in_array( $this->func_name, $wgAjaxExportList ) ) { includes/Setup.php:if ( $wgAjaxSearch ) $wgAjaxExportList[] = 'wfSajaxSearch'; includes/Setup.php:if ( $wgAjaxWatch ) $wgAjaxExportList[] = 'wfAjaxWatch'; includes/DefaultSettings.php: * Causes wfSajaxSearch to be added to $wgAjaxExportList includes/DefaultSettings.php:$wgAjaxExportList = array; includes/DefaultSettings.php: * Causes wfAjaxWatch to be added to $wgAjaxExportList LocalSettings.php:$wgAjaxExportList[] = 'wfSajaxMath'; I don't see any problems with this. Does anyone else? --Gri6507 12:49, 30 August 2007 (UTC)

Also Preview Problems
Hi,

I have also the problem, that the preview doesnt work. There is no error message. But when I click "preview" nothing happens.

I use mediawiki 1.9.2

Mediawiki 1.9.3
The Tex editor works without any problems except that there is no Icon for the Popupwindow what might be the Problem anybody who can help me?! thanks
 * Has anybody a hint what it might can be?! I have the same Problem. :( -- 12:15, 20 April 2007 (UTC)

Preview doesn't work either
JavaScript returns: memory not defined in both Firefox 2 and Internet Explorer 6. Any clue?

I had the following problems when using this extension:


 * The preview absolutely did not work.
 * The pop-up window was tiny and practically unusable

--ChristopherFair 16:28, 25 April 2007 (UTC)

brackets don't work
Hi!

First of all: nice extension!

I do have a problem with, [, ], { and }. Whenever I press for instance "(", "\left(" appears in the texbox, but the preview window warns that "parsing has failed (unknown error): \left(" [free translation from Dutch].

I wonder why. I have tried setting \left( || \left(, or tried escaping with a double backslash, but that didn't work.

I hope you can help me out here.

Best regards

Danai SAE-HAN

$$danai$$.$$sae-han$$@$$edpnet$$.$$be$$

213.219.157.240 06:03, 6 May 2007 (UTC)

Bugfix
I added a fix for the "memory is not defined" problem. Just copy the newest source from Extension:TEX_Editor/Code --Ilintar 20:21, 13 September 2007 (UTC)

Also find brackets don't work
I found the same problem when opening a left bracket - I would get the error " Failed to parse (syntax error): \left( ", BUT continue with the equation and when one CLOSES the relevant bracket the error message goes away and the equation will appear correctly ...

Nice extension - thank you ... It works on MW 1.12 ...

--Dick 22:24, 13 October 2007 (UTC)

Offset error
Tex editor works well. But I got the following warning "Notice: Undefined offset: 1 in /usr/share/mediawiki/includes/SpecialTexbox.php on line 115"

In line 115, there is $item[1].

Anyline that has $item create warning. How can I fix it?

I have the same problem :-( -- Mathias 19. April 2010

TEX/Favorites
Hi, I got TeX Editor to work, but I don't get all the favorites you have listed. I only get $$\alpha \beta \gamma \sin (x) \cos (x) \tan (x) \lim_{x\rightarrow\infty} f(x) \approx = \frac{a}{b} \int_a^b f(x)\,dx \sum_{a=1}^b \prod_{a=1}^b$$ Can I somehow get all those other favorites? I followed your instructions completely and am using 1.11

$$(12.)\,$$

Does it work in Solaris?
I have set up a corporate wiki in a mainframe that uses Solaris, and am using TeX Editor. I have at least these two problems:


 * Preview works only for a very limited number of elements from the favorites list. I just made it work with $$\sum_{x=1}^{n} \sin (x)$$
 * When I press "Save page", the final page displays an error about the "convert to PNG has been erroneous" --I get the message in local Spanish language--

I am beginning to fear about TeX Editor using some language that exists for Linux but not for Solaris.

Thanks in advance.