On Sun, Jul 20, 2008 at 12:52:33PM -0500, Dale Schumacher wrote:
> On Sat, Jul 19, 2008 at 11:41 PM, Owen Densmore <[EMAIL PROTECTED]> wrote:
> 
> > It is now (apparently!) possible to include arbitrary LaTeX equations
> > in any web service: blogs, wikis, plain html, and even mime-email.
> >
> > The stunt is to build an image tag in html which includes the LaTeX to
> > be rendered:
> >   http://www.mayer.dial.pipex.com/tex.htm
> >   http://sixthform.info/steve/wordpress/
> > An example given in the above is:
> > <img src="http://www.forkosh.dreamhost.com/mathtex.cgi?c=
> > \sqrt{a^2+b^2}" />
> > which renders a LaTeX image inline.
> >
> > The good news is that it works anywhere an <img> tag can be used.  The
> > bad news is that it is a "dead" image.  But again, the good news is
> > the "LaTeX markup" is still available in the markup too (in the <img>
> > tag), thus can be used by other users via grabbing the original source
> > and pasting into other documents.
> >
> 
> Thanks, Owen.  This is a very useful reference.  One usage note.  This HTML
> causes a server hit on www.forkosh.dreamhost.com and generats a new image
> EACH TIME IT IS REFERENCED.  For efficiencies sake it would be much better
> to generate the image once, save it locally and reference the generated
> image from your page.  You could include the markup in the "title" or
> "longdesc" attribute (but NOT in "alt").
> 
> On my Linux system I used "wget" to retrieve the rendered image and save it
> to a file.

If you're going to do that, why not automate the whole process by
using LaTeX2HTML (or l2h, which by some accounts is better)?

-- 

----------------------------------------------------------------------------
A/Prof Russell Standish                  Phone 0425 253119 (mobile)
Mathematics                              
UNSW SYDNEY 2052                         [EMAIL PROTECTED]
Australia                                http://www.hpcoders.com.au
----------------------------------------------------------------------------

============================================================
FRIAM Applied Complexity Group listserv
Meets Fridays 9a-11:30 at cafe at St. John's College
lectures, archives, unsubscribe, maps at http://www.friam.org

Reply via email to