BBCode Wishlist

Any feedback to improve the content of this site is appreciated!
sebi-mylegopage
Posts: 16
Joined: 29 Sep 2010, 13:47
Location: Germany
Contact:

Re: BBCode Wishlist

Post 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?
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: BBCode Wishlist

Post 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
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: BBCode Wishlist

Post 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}".
schodet
Posts: 139
Joined: 29 Sep 2010, 11:21
Contact:

Re: BBCode Wishlist

Post 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.
LEGO things http://ni.fr.eu.org/lego/ - NXT Improved Firmware (GCC) http://nxt-firmware.ni.fr.eu.org/ - Other robots http://apbteam.org
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: BBCode Wishlist

Post 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)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: BBCode Wishlist

Post 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
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: BBCode Wishlist

Post 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
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: BBCode Wishlist

Post 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
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: BBCode Wishlist

Post 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]
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: BBCode Wishlist

Post by mightor »

I assume that by slashed text, you don't mean something like /hello/ but rather strike-through.
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests