Jump to content

QuickLaTeX Integration


Recommended Posts


File Name: QuickLaTeX Integration

File Submitter: RedEnzian

File Submitted: 21 Jul 2013

File Category: Integration

Supported Versions: IP.Board 3.1.x, IP.Board 3.2.x, IP.Board 3.3.x, IP.Board 3.4.x

This BBCode Parser gives board administrators the possibility to allow user the usage of LaTeX in their posts. The parser does not require an installed LaTeX executable on the Host itself. It connects to the http://www.quicklatex.com server to generate the image.


  • Allows the usage of LaTeX Syntax on every place where BBCodes are allowed
  • If set, this Plugin will cache the generated images on your host
  • and many more

  • 1.0.1: Fixed minor bug when viewing the BBCode Help
  • 1.0.0: Initial Version


This Plugin is adapted from Pavel Holoborodko QuickLaTeX Wordpress Plugin
available on http://www.holoborodko.com/pavel/quicklatex/.

This Download is FREE to use however Donations are greatly appreciated!


here to download this file

Link to comment
Share on other sites

  • 1 year later...

Hi @RedEnzian

Thank you very much for the plugin!

I think there is a small bug.

When parsing the following code, I obtained an image with a lot of "/div" characters, while with the same code, parsing directly on http://quicklatex.com/ does not have that problem. Could you please check?


\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1.0cm,y=1.0cm]
\clip(-1.52,-0.5) rectangle (11.57,6.31);
\draw [shift={(6.65,3.23)},color=qqwuqq,fill=qqwuqq,fill opacity=0.1] (0,0) -- (142.19:0.6) arc (142.19:189.18:0.6) -- cycle;
\draw [shift={(3.37,0.16)},color=qqwuqq,fill=qqwuqq,fill opacity=0.1] (0,0) -- (43.23:0.6) arc (43.23:90.23:0.6) -- cycle;
\draw(4.26,0.16) circle (3.89cm);
\draw [domain=-1.52:11.57] plot(\x,{(--0.56--0.02*\x)/3.89});
\draw (3.35,5.79)-- (0.37,0.14);
\draw (3.35,5.79)-- (8.15,0.18);
\draw [domain=-1.52:11.57] plot(\x,{(-1.84-3.47*\x)/-2.32});
\draw [domain=-1.52:11.57] plot(\x,{(--27.66-2.56*\x)/3.3});
\draw (2.08,3.38)-- (8.15,0.18);
\draw (0.37,0.14)-- (4.88,4);
\draw [domain=-1.52:11.57] plot(\x,{(--10.42-3.09*\x)/0.01});
\draw (6.65,3.23)-- (3.37,0.16);
\draw [dash pattern=on 1pt off 1pt,color=ffqqqq] (1.03,2.33)-- (6.65,3.23);
\fill [color=qqqqff] (4.26,0.16) circle (1.5pt);
\draw[color=qqqqff] (4.42,0.44) node {$O$};
\fill [color=qqqqff] (0.37,0.14) circle (1.5pt);
\draw[color=qqqqff] (0.12,-0.04) node {$B$};
\fill [color=qqqqff] (3.35,5.79) circle (1.5pt);
\draw[color=qqqqff] (3.74,5.91) node {$A$};
\fill [color=uuuuuu] (8.15,0.18) circle (1.5pt);
\draw[color=uuuuuu] (8.32,0.46) node {$C$};
\fill [color=uuuuuu] (4.88,4) circle (1.5pt);
\draw[color=uuuuuu] (5.04,4.28) node {$D$};
\fill [color=uuuuuu] (2.08,3.38) circle (1.5pt);
\draw[color=uuuuuu] (1.63,3.7) node {$E$};
\fill [color=uuuuuu] (6.65,3.23) circle (1.5pt);
\draw[color=uuuuuu] (6.79,3.52) node {$J$};
\fill [color=uuuuuu] (1.03,2.33) circle (1.5pt);
\draw[color=uuuuuu] (0.75,2.55) node {$I$};
\fill [color=uuuuuu] (3.36,2.7) circle (1.5pt);
\draw[color=uuuuuu] (3.68,2.39) node {$H$};
\fill [color=uuuuuu] (3.37,0.16) circle (1.5pt);
\draw[color=uuuuuu] (3.18,-0.06) node {$K$};


Image on my forum:




Image obtained when parsing directly on http://quicklatex.com/: 


Link to comment
Share on other sites

Figured it out.

In quickLatex.php find 

$find = array("&#092;", "&amp;", "<br />", "&lt;", "&gt;", 
                      "&quot;", "&#39;", "&#33;", '<p>', '</p>');
        $replace = array("\\", "&", "", "<", ">", '"', "'", "!", "", "");

and replace with

$find = array("&#092;", "&amp;", "<br />", "&lt;", "&gt;", 
                      "&quot;", "&#39;", "&#33;", '<p>', '</p>', '<div>', '</div>');
        $replace = array("\\", "&", "", "<", ">", '"', "'", "!", "", "", "", "");


Link to comment
Share on other sites

Hello ehku,

I'am sorry to say, that i've currently not the time to update this extension ... additionally invision changed a lot in the way how the editor works  (didn't have looked closer but as far as i understand, there are no BBCodes and the plugin has to be integrated into CKEditor ... you can try http://ckeditor.com/addon/eqneditor which is an Latex Plugin for CKEditor)

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...