Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Latex compiler for Firefox

1 view
Skip to first unread message

Jack

unread,
Apr 15, 2007, 3:03:13 PM4/15/07
to
I know most of the users here do not use an internet browser to access
sci.math, but I realized the other day that a Latex compiler embedded
into a web browser (presumably a Firefox add-on) could allow much
richer posts. Let me clarify: in this hypothetical add-on, Latex
would be embedded in a post with an xml tag (<latex> or something like
that). When rendering the web page, Firefox would recognize the latex
code, compile it, and in the codes place display a .dvi image. An add-
on such as this could be very useful to this forum.

I'd like to add I just thought of this. I didn't check to see if one
already exists, or if not why its not practical.

porky_...@my-deja.com

unread,
Apr 15, 2007, 8:14:32 PM4/15/07
to


A simple LaTeX code is something you can compile and display in your
head. A complex LaTeX code - well, I doubt some Firefox plug-in can
easily compile it on a fly. Think of all add-on packages, user-defined
or redefined commands.

Temp

unread,
Apr 15, 2007, 9:43:00 PM4/15/07
to

Google search words: firefox latex mathml

avital

unread,
Apr 16, 2007, 12:17:29 AM4/16/07
to

I'm just about to release it. Let me sleep for a few hours and I'll
send a new post with the URL to download it from.

Timothy Murphy

unread,
Apr 16, 2007, 7:53:22 AM4/16/07
to
avital wrote:

>> I know most of the users here do not use an internet browser to access
>> sci.math, but I realized the other day that a Latex compiler embedded
>> into a web browser (presumably a Firefox add-on) could allow much
>> richer posts.

...


>> I'd like to add I just thought of this. I didn't check to see if one
>> already exists, or if not why its not practical.
>
> I'm just about to release it. Let me sleep for a few hours and I'll
> send a new post with the URL to download it from.

There is a LaTeX plugin in WordPress,
which does more or less what the OP suggested,
although in a different context.

--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

David C. Ullrich

unread,
Apr 16, 2007, 8:05:58 AM4/16/07
to
On 15 Apr 2007 12:03:13 -0700, "Jack" <tbonep...@gmail.com> wrote:

Doesn't seem necessary - we have no trouble interpreting the
informal quasi-tex that gets posted, and as someone pointed
out already compiling non-trivial tex is going to be very
non-trivial.

If we did need such a thing basing it on mathml seems much
more practical.


************************

David C. Ullrich

avital

unread,
Apr 16, 2007, 8:42:15 AM4/16/07
to

Ok. Here it goes. http://thewe.net/tex
I'd love to hear your comments.

john o goyo

unread,
Apr 16, 2007, 9:18:43 AM4/16/07
to

For what it is worth: Once upon a time, IBM had a free plug-in for their
browser on OS/2 that automatically rendered files written in LaTeX. It
worked remarkably well.

Jack

unread,
Apr 16, 2007, 10:05:09 AM4/16/07
to
> Ok. Here it goes.http://thewe.net/tex

> I'd love to hear your comments.

So far, its working great. The pages load just as quickly as before I
installed the add-on. Right now I don't have much time, but later
I'll start making some html and testing it out more.
Thanks!

avital

unread,
Apr 16, 2007, 11:35:50 AM4/16/07
to

The coolest part is that it works in ANY website, for example
webmails, forums, web chats, google groups (viewing sci.math).

[;e^{\pi i} + 1 = 0;]


[To see formulas: http://thewe.net/tex]


Jack

unread,
Apr 16, 2007, 5:56:27 PM4/16/07
to
> [To see formulas:http://thewe.net/tex]

This looks like a great tool. I wish you luck developing it more.
[;U = \frac{1}{2} \varepsilon_0 \int_V E^2 \,dV + \frac{1}{2 \mu_0}
\int_V B^2 \,dV;]

Jack

unread,
Apr 16, 2007, 5:59:36 PM4/16/07
to

Hm, I think you might have a problem. It seems to only compile the
first instance it locates in the page - as you can see, the formula I
inserted did not display, although it does when put inserted in a
blank html file.

avital

unread,
Apr 16, 2007, 6:11:20 PM4/16/07
to
> > This looks like a great tool. I wish you luck developing it more.
> > [;U = \frac{1}{2} \varepsilon_0 \int_V E^2 \,dV + \frac{1}{2 \mu_0}
> > \int_V B^2 \,dV;]
>
> Hm, I think you might have a problem. It seems to only compile the
> first instance it locates in the page - as you can see, the formula I
> inserted did not display, although it does when put inserted in a
> blank html file.

Yes, it seems google groups adds "hard" <br>'s between the lines
breaking the way the plug-in works (it searches for un-interrupted
text nodes).

Anything that'll fit in one line in google groups will work though.

avital

unread,
Apr 16, 2007, 6:14:13 PM4/16/07
to

[;U = \frac{1}{2} \varepsilon_0\int_V E^2 \,dV+\frac{1}{2 \mu_0};]

Jack

unread,
Apr 16, 2007, 7:02:15 PM4/16/07
to

Could this be fixed by changing the code signalling latex to something
like <code><latex></code> ? Google Groups might recognize that as
html / xml, so it wouldn't interfere with it. I have no idea about
any technical challenges that would present, though.

avital

unread,
Apr 16, 2007, 10:26:44 PM4/16/07
to

It's not that -- google groups just splits all lines into some maximum
character length. It doesn't parse the text inside, since it's
plaintext (usenet posts are not html), so this won't solve it. Also,
it's horribly uncomfortable to write <tex> </tex> each time if you
plan on using it in chats or forums...

Its a bug that can be fixed, and I'm thinking about it right now --
the scan the plug-in does should be able to cross between non-
structural html tags (<br> and <wbr> are the only ones i think of).
It'll be solved in v1.1.

Thanks a lot for finding this bug!
Avital

avital

unread,
Apr 17, 2007, 2:23:10 PM4/17/07
to
Let's continue the discussion about bugs and future developments on
http://groups.google.com/group/tex-the-world

Shmuel (Seymour J.) Metz

unread,
May 2, 2007, 7:44:18 AM5/2/07
to
In <1326ttb...@corp.supernews.com>, on 04/16/2007

at 09:18 AM, john o goyo <j.o....@adogmail.com> said:

>For what it is worth: Once upon a time, IBM had a free plug-in for
>their browser on OS/2 that automatically rendered files written in
>LaTeX. It worked remarkably well.

Which browser, and do you have the URL? Thanks.

--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to spam...@library.lspace.org

0 new messages