Latex into html

1. Jun 27, 2008

vijay_singh

Hi

I am first time user of LATEX. I have LyX editor where I am able to create LATEX documents. But I couldn't find any clear solution for pasting that LATEX content into my posts in the forum. Is there any simple way to copy LATEX document from the editor to forum posts?

2. Jun 27, 2008

cristo

Staff Emeritus
You can put latex code in between [ tex ] and [ /tex] tags (without the spaces inside the square brackets):

i.e. $$y=7x$$

3. Jun 27, 2008

tiny-tim

[noparse]

Hi cristo!

You can type [noparse]$$and$$ (without any spaces!) by surrounding them with [noparse] and [/noparse][/noparse].

4. Jun 27, 2008

matt grime

here's a perl script that turns valid LaTeX files* into forum LaTeX.

This script comes with no warranties, etc. If you hose your machine that's your fault.

usage: save file to script.pl, chmod it to executable, then do ./script.pl file

#!/usr/bin/perl -i