Stuart Rackham <[email protected]> writes:
>> The plugin also has the advantage that it's not asciidoc/blogpost
>> specific. There are some tools already that allow wordpress to show
>> maths, but the latex-u-like capabilities of javascript is attractive to
>> me. 
>>
>> For me, also, lack of inline equations would be a big thing. I'm not a
>> heavy maths user, just need the occasional term included. 
>
> The image route is really a LaTeX filter, it would accept any valid LaTeX so
> it's not confined to math.
>
> The only drawback I've experienced with the existing
> approach is that it requires mathML fonts installed in the target browser,
> Firefox is OK, but neither IE or Chrome work out of the box.


Stuart

In a classic "not find the right documentation" or "RTFM" depending on
which way you look at it, it turns out that wordpress.com (and wordpress
by a plugin) already supports image generated latex. 

http://wordpress.org/extend/plugins/wp-latex/


In short, transforming

latexmath:[$dr/dt$] 

into either 

[latex]dr/dt[/latex]

or

$latex dr/dt$

should do the trick; even I should be able to get this working with asciidoc!

It does a reasonable thing from an accessibility point of view because
it just puts the source in as an alt tag -- for instance

<img
src='http://l.wordpress.com/latex.php?latex=dr%2Fdt&#038;bg=ffffff&#038;fg=333333&#038;s=0'
alt='dr/dt' title='dr/dt' class='latex' />


I'll have a go and report back. 

Phil

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to