Page 3 of 8

Re: BBCode Wishlist

Posted: 10 Oct 2010, 09:06
by sebi-mylegopage
I have downloaded the php script, and have uploaded it on my homepage:
http://my-lego-page.cwsurf.de/latex2png.php
and: http://mylegopage.my.funpic.de/latex2png.php
--> Don't Work. I think a other file is needed too?

Re: BBCode Wishlist

Posted: 10 Oct 2010, 09:13
by mightor
Look at the first couple of lines in the script. They contain the names of the binaries you need on the webserver.

- Xander

Re: BBCode Wishlist

Posted: 10 Oct 2010, 09:26
by HaWe
Xander,
if I take the latex script from http://www.matheboard.de then the script is working well at our forum: http://www.mindstormsforum.com/viewtopic.php?f=14&t=38
(ok:)

Code: Select all

<img src="http://www.matheboard.de/latex2png/latex2png.php?{TEXT}" alt="Formel">
if I take your latex script url instead it doesn't work neither.
(faulty:)

Code: Select all

<img src="http://mindboards.sourceforge.net/latex2png.php?{TEXT}" alt="Formel">
maybe you'll also have to replace

Code: Select all

alt="Formel"
by something different if you don't take our German hosted latex script.

As sebi told me he changed the BBcode definition that he posted before in only 1 respect: he replaced "{IDENTIFIER}" by "{TEXT}".

Re: BBCode Wishlist

Posted: 10 Oct 2010, 21:23
by schodet
doc-helmut wrote:naaah - what do you mean by
"stealing bandwidth and server resources" ?!?
If you are using www.matheboard.de url, then you are asking their server to generate the latex image, this cost computing power and bandwidth to the matheboard server. If you host the script on your server (or mindboards server), that's OK.

Re: BBCode Wishlist

Posted: 11 Oct 2010, 10:26
by HaWe
ok, let's do it!
(1st, Xander may try to run the matheboard script for testing and then
2nd, may use a hosted script on sourceforge or sebis homepage server or where ever)

Re: BBCode Wishlist

Posted: 12 Oct 2010, 17:58
by HaWe
test:

Code: Select all

[math]X = \left\{ \sqrt[n]{abs(c)} \cdot \exp \left( \frac{arg(c) + k \cdot 2 \pi}{n} \ i \right) \ |\ k \in \left\{ 0, 1,..., n-1 \right\} \right\}[/math]
Formula

Re: BBCode Wishlist

Posted: 12 Oct 2010, 18:16
by mightor
Helmut,

It is not working at the moment and I have no idea why. I don't really have the time at the moment to figure out why; it's a week until my robot is going to be on display at Lego World and a lot of work still needs to be done.

- Xander

Re: BBCode Wishlist

Posted: 12 Oct 2010, 19:02
by HaWe
it was only a test, not a hint ;)
who ever likes it when it works: have a look at our mindstormsforum http://www.mindstormsforum.com/viewtopi ... 4&p=53#p53

Re: BBCode Wishlist

Posted: 21 Oct 2010, 23:49
by muntoo
Can we get and to work?

Code: Select all

If you can read this, [s]I will kill you[/s] good job.
<s>Maybe this?</s>

Or even:

Code: Select all

[s=2]Double slashed text. When one slash isn't enough![/s]

Re: BBCode Wishlist

Posted: 23 Oct 2010, 05:40
by mightor
I assume that by slashed text, you don't mean something like /hello/ but rather strike-through.