Math Markup

Discuss the talk-polywell site itself, including appearance, policies, and help-wanted requests from the administrators.

Moderators: tonybarry, MSimon

BenTC
Posts: 410
Joined: Tue Jun 09, 2009 4:54 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Postby BenTC » Sat Apr 03, 2010 3:18 pm

I saw someone tried to use the [tex] bbcode. That was something I was playing with and didn't complete. I aborted since custom bbcodes are only available with phpBB ver3, whereas talk-polywell.org is hosted on phpBB ver2. The method used by ASCIMath is to surround the math with `single-back-quotes`.
In theory there is no difference between theory and practice, but in practice there is.

BenTC
Posts: 410
Joined: Tue Jun 09, 2009 4:54 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Postby BenTC » Sat Apr 03, 2010 3:41 pm

In theory there is no difference between theory and practice, but in practice there is.

Indrek
Posts: 113
Joined: Wed Jul 04, 2007 1:51 pm
Location: Estonia
Contact:

Postby Indrek » Sat Apr 03, 2010 4:47 pm


Indrek
Posts: 113
Joined: Wed Jul 04, 2007 1:51 pm
Location: Estonia
Contact:

Postby Indrek » Sat Apr 03, 2010 4:57 pm


blaisepascal
Posts: 191
Joined: Thu Jun 05, 2008 3:57 am
Location: Ithaca, NY
Contact:

MathML is limited, unfortunately.

Postby blaisepascal » Sat Apr 03, 2010 6:04 pm


icarus
Posts: 819
Joined: Mon Jul 07, 2008 12:48 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Postby icarus » Sat Apr 03, 2010 8:41 pm


Betruger
Posts: 2310
Joined: Tue May 06, 2008 11:54 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Postby Betruger » Sat Apr 03, 2010 8:57 pm


BenTC
Posts: 410
Joined: Tue Jun 09, 2009 4:54 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Postby BenTC » Tue Apr 13, 2010 4:30 pm

As much as I'd like to push a Firefox agenda, I went looking for a bitmap solution, since that would ensure everyone sees the same thing with wide compatability. I found which I have put up for testing at http://www.bentest.dreamhosters.com/bb. Forum password is polywell.

Note, that is not my normal webhost and the trial account may expire on the 18th April. I tracked down talk-polywell.org to be hosted with dreamhost.com, and their plan was fairly attractive (see following post) so I thought I would try it out. Testing on their system should make it easier to then implement on talk-polywell.org, so I signed on for a two-week trial, set up phpBB and installed LatexRender. Fairly straightforward. .

For anyone wanting to use LatexRender with pbpBB on DreamHost, here is what I did: (with the bold bits needing to be customised for your account)
-----------------
[1] From the DreamHost Panel, Enabled Shell Access. Used Putty application for MSWindows to SSH into the dreamhost server.
Alternatively you could unpack/edit files locally and FTP them.

[2]$ mkdir tmpinstall ; cd tmpinstall

[3]$ wget http://www.mayer.dial.pipex.com/latexrender.zip

[4]$ unzip latexrender.zip

[5]$ cp -r ~/tmpinstall/phpBB/latexrender ~/bentest.dreamhosters.com/bb/latexrender

[6]$ cd ~/bentest.dreamhosters.com/bb

[7]$ vi latexrender/phpbb_hook_2.php
Edited according to README_phpBB3.txt (although talk-polywell.org may require README_phpBB2.txt instead)
Used...
< $latexrender_path = "/home/coman/bentest.dreamhosters.com/bb/latexrender";
< $latexrender_path_http = "/bb/latexrender";

[8]vi latexrender/class.latexrender.php
Used...
< var $_image_format = "png"; //change to png if you prefer
(since gifs were pixelated)

[9]$ vi includes/bbcode.php
Edited according to README_phpBB3.txt

[10] In the phpBB Admin Control Panel, added a new bbcode tag.
As described in README_phpBB3.txt

Thats it for phpBB3. (although there is a bit more to do for phpBB2 that talk-polywell.org runs on)

Hope that helps.
In theory there is no difference between theory and practice, but in practice there is.

Betruger
Posts: 2310
Joined: Tue May 06, 2008 11:54 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Postby Betruger » Wed Aug 11, 2010 4:38 am


BenTC
Posts: 410
Joined: Tue Jun 09, 2009 4:54 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Postby BenTC » Wed Aug 11, 2010 1:17 pm

In theory there is no difference between theory and practice, but in practice there is.

Betruger
Posts: 2310
Joined: Tue May 06, 2008 11:54 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Postby Betruger » Sun Aug 15, 2010 5:35 am

Sorry, just dropped the link without reading.

The search is somewhat broken and there's some minor thing amiss with the way the forum handles login for at least one browser (opera). So the forum ain't quite not-broke.

Still, in the admins' hands as you say. Hopefully they give the safe rollback feature a look.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Return to “Administration”

Who is online

Users browsing this forum: No registered users and 2 guests