Explaining maths via Internet is a lot easier if you are able to display formulas correctly, instead of typing things like:
e^(x + i*y) = e^(x)*(cos(y) + i*sin(y))
Surprisingly, this problem is not quite solved. During my searches I found found the TeXIM Plugin, which should work with Gaim and amsn, thus allowing both Windows, MacOS, Linux and FreeBSD users to chat.
I, however, tried gaim-latex. The version in the ports of FreeBSD didn't work, so I downloaded the release version (0.3) at sourceforge and compiled it (you have to use gmake instead of the standard FreeBSD make). The resulting binary LaTeX.so is to be copied to ~/.gaim/plugins. Then Gaim has to be restarted and told to use this plugin - done.
There are also a number of other plugins out there, for example a MathMode plugin for Miranda (an ICQ client for Windows). But they don't work like gaim-latex or Kopete's plugin: Instead of typing $$ my Tex code $$ you have to use strings like [MathMode] [/MathMode] or something like that. There is definitely a need for some standards - or aren't there mathematicians longing for LaTeX conversations (please note the spelling!)?
The battery of my Thinkpad has a very limited capacity of about 15 minutes. So I bought a new one at eBay. To prevent memory / leakage effects, I accidentally stumbled over a diagnostic program for IBM Thinkpad T2x series. It is provided by David Jason Smith and can be downloaded here. Being the nice man I am, I set up a local mirror.
Using the program is straightforward. Just boot with the .ISO and go through
the menus. There are some interesting options such as benchmarks and generic
system information. Battery rundown can be found under Utility. I hope it
works for you, too.
Being the playful nerd I am, I changed some things in the plugin's sourcecode. There is a diff file available, although the list of changes is rather small:
- The packages
amssymbandamsmathare now used, thus providing you with - more symbols and equations. I changed the deprecated
equationenvironment - to the
gatherenvironment. I don't know if that makes sense.
Still, rendering some symbols such as \LaTeX doesn't work. Apparently, this
is a restriction of LaTeX's math mode. However, the LaTeX plugin for
kopete seems to handle this.
Addendum: I found a solution: If the plugin ignores any errors LaTeX
encounters while trying to build the .dvi, the use of \TeX works in math
mode. Download and apply this diff if you want a more
kopete-like solution.
After countless hours of portupgrade and make buildworld, my Thinkpad is
now running FreeBSD 6.1. There were no major problems except:
- Gaim doesn't accept the
gaim-latexanymore. I will have to get the CVS version and adjust it to my needs. - Opera complains about a missing motifwrapper.
sysconsis somewhat buggy.
At least I have found a solution for the Opera problem. It's right in
pkg-message. For your convenience, I will post it here. Just add the
following to /etc/libmap.conf:
# Opera - Motif
[/usr/X11R6/share/opera/plugins/operamotifwrapper-1]
libXm.so.1 libXm.so.3
libXThrStub.so.6 libXtst.so.6
[/usr/X11R6/share/opera/plugins/operamotifwrapper-2]
libXm.so.2 libXm.so.3
libXThrStub.so.6 libXtst.so.6
[/usr/X11R6/share/opera/plugins/operamotifwrapper-3]
libXThrStub.so.6 libXtst.so.6
Maybe you are lucky and it works...