Search found 12 matches

by texasmath
Sat Sep 11, 2010 8:20 pm
Forum: [3.0.x] MOD Requests
Topic: LaTeX support in phpBB3
Replies: 346
Views: 50828

Re: LaTeX support in phpBB3

I tried adding the following code line in class.latexrender.php, and it worked: // copy temporary formula file to cahed formula directory $latex_hash = md5($latex_formula); $filename = $this->getPicturePath()."/".$latex_hash.".".$this->_image_format; $status_code = copy($this->_tmp_filename.".".$thi...
by texasmath
Sat Sep 11, 2010 3:43 am
Forum: [3.0.x] MOD Requests
Topic: LaTeX support in phpBB3
Replies: 346
Views: 50828

Re: LaTeX support in phpBB3

Much thanks to all that have helped me here before. I really appreciate it. I recently had a crash, and although I was able to recover my database, I wasn't able to recover my phpbb3 files, and had to reinstall. The issue is that new images don't have the proper permissions set at creation (their pe...
by texasmath
Thu Feb 28, 2008 12:48 pm
Forum: [3.0.x] MOD Requests
Topic: LaTeX support in phpBB3
Replies: 346
Views: 50828

Re: LaTeX support in phpBB3

Excellent. The phpbbacademy link seemed to solve the problem.

Thanks so much for your patience and help!

Tony David Potter
by texasmath
Thu Feb 28, 2008 3:44 am
Forum: [3.0.x] MOD Requests
Topic: LaTeX support in phpBB3
Replies: 346
Views: 50828

Re: LaTeX support in phpBB3

I edited phpbb_hook_2.php as above, adding echo "Now in phpbb_hook_2.php processing $message<br>"; right before the $latex = new LatexRender... command. I now get this from the post above (http://www.texasmath.org/forum/viewtopic.php?f=7&t=603) Now in phpbb_hook_2.php processing American Mathematics...
by texasmath
Wed Feb 27, 2008 2:52 am
Forum: [3.0.x] MOD Requests
Topic: LaTeX support in phpBB3
Replies: 346
Views: 50828

Re: LaTeX support in phpBB3

bbcode.php <?php /** * * @package phpBB3 * @version $Id: bbcode.php,v 1.114 2007/10/07 10:34:45 naderman Exp $ * @copyright (c) 2005 phpBB Group * @license http://opensource.org/licenses/gpl-license.php GNU Public License * */ /** * @ignore */ if (!defined('IN_PHPBB')) { exit; } /** * BBCode class *...
by texasmath
Tue Feb 26, 2008 5:02 pm
Forum: [3.0.x] MOD Requests
Topic: LaTeX support in phpBB3
Replies: 346
Views: 50828

Re: LaTeX support in phpBB3

I do appreciate all the help.

A representative post of "old LaTex" is http://www.texasmath.org/forum/viewtopic.php?f=7&t=603. They both use the [tex] and [/tex] that I'm currently using.

TDP
by texasmath
Mon Feb 25, 2008 11:26 pm
Forum: [3.0.x] MOD Requests
Topic: LaTeX support in phpBB3
Replies: 346
Views: 50828

Re: LaTeX support in phpBB3

Great! That (and fixing the fact I use two different address systems -- forum.texasmath.org and http://www.texasmath.org/forum) did the trick. Now, one last question... I have a lot of old posts that were written in LaTeX. These are now nonfunctioning, and you can see the sourcecode from their entri...
by texasmath
Mon Feb 25, 2008 12:27 am
Forum: [3.0.x] MOD Requests
Topic: LaTeX support in phpBB3
Replies: 346
Views: 50828

Re: LaTeX support in phpBB3

I got convert to work properly. It was a bad ps file. Now the .gif files are being put in the proper directory, but aren't being embedded correctly.

I've got a sample message set up here: http://texasmath.org/forum/viewtopic.php?f=13&t=870

Any ideas would be very much appreciated.

TDP
by texasmath
Sun Feb 24, 2008 5:21 pm
Forum: [3.0.x] MOD Requests
Topic: LaTeX support in phpBB3
Replies: 346
Views: 50828

Re: LaTeX support in phpBB3

I tried both commands, and it told me there were problems with the options: $ convert -density 120 -crop0x0 -transparent #FFFFFF test.ps test.gif convert: unrecognized option `-crop0x0'. $ convert -density 120 -trim -transparent #FFFFFF test.ps test.gif convert: missing an image filename `-transpare...
by texasmath
Sun Feb 24, 2008 2:56 am
Forum: [3.0.x] MOD Requests
Topic: LaTeX support in phpBB3
Replies: 346
Views: 50828

Re: LaTeX support in phpBB3

...particularly if the Ghostscript binary gs is not in /usr/bin... $ which gs /usr/bin/gs Nevertheless, I tried (both) of the suggestions on his page (after changing all the "pretty quotes" to real quotes, and changing my path to /usr/bin/), and still have the [unparsable...] error. I'm now getting...
by texasmath
Sat Feb 23, 2008 12:10 pm
Forum: [3.0.x] MOD Requests
Topic: LaTeX support in phpBB3
Replies: 346
Views: 50828

Re: LaTeX support in phpBB3

(Sorry about the delay. Flu's been beating me up something fierce.) Thanks for all the help, I appreciate it. Now I'm getting [unparseable or potentially dangerous latex formula]. I commented out the unlink commands in class.latexrender.php and it's creating a .aux, .dvi (which appears correct), .lo...
by texasmath
Tue Feb 19, 2008 3:12 am
Forum: [3.0.x] MOD Requests
Topic: LaTeX support in phpBB3
Replies: 346
Views: 50828

Re: LaTeX support in phpBB3

I had no problem getting LatexRender to work when my board was running 2.0.21. Now I can't get it to work with phpBB3. I've done all the steps listed in sisteczko's post but I can't even get an echo statement in phpbb_hook_2.php to run. phpbb_hook_2.php <?php /** * LaTeX Rendering Class - PHPBB Hook...

Go to advanced search