Plugin Latex

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
Quentin
Harmless
Posts: 2
Joined: Wed Jan 26, 2005 4:56 pm

Plugin Latex

Post by Quentin »

Hello,

I would like to know how du plugin "latex" for adium works. And how i could use it.

Tanks

(Sorry for the english, I speak french)

Quentin
Perez
Frappa
Posts: 150
Joined: Sun Dec 05, 2004 8:51 pm
Contact:

Post by Perez »

To make something in Adium get parsed as LaTeX, put it inside double-dollar-signs:

$$LaTeX$$

This requires that you have Equation Service installed: http://www.esm.psu.edu/mac-tex/EquationService/ .

Also, note that once something has been parsed in the Adium message window, you can click on it to make it revert to text.

There might be more setup involved, but I don't remember for sure... you probably have to log out and back in again after installing, if it doesn't work just to install.
naib.webhop.org | PGP: 0xEC479127
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

You need to have LaTeX installed of course :D

Related Question: What do all of the plugins do and how do you use them?
Blog | X(tras)
Communists code without classes.
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

There are dozens of plugins inside Adium, their purpose is to provide functionality, each a separate part, as seen in the list (Get Info -> Plugins)
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
User avatar
FredAkbar
Crema
Posts: 401
Joined: Sat Dec 04, 2004 1:00 am
Location: Santa Barbara, CA
Contact:

Post by FredAkbar »

The other person can't see the results of your Latex equation though, right? (Unless they use Latex as well.)
Fred / Adium X 1.2.7
20" iMac w/ Intel Core Duo 2.0 GHz / 2 GB RAM / 256 MB Radeon X1600 / 250 GB HD / OS 10.5.4
FreeRice. Play a free vocab game on this ad-supported site to help fight world hunger.
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

FredAkbar wrote:The other person can't see the results of your Latex equation though, right? (Unless they use Latex as well.)
Nope... IIRC it sends as a PDF, could be wrong though.
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

bgannin wrote:
FredAkbar wrote:The other person can't see the results of your Latex equation though, right? (Unless they use Latex as well.)
Nope... IIRC it sends as a PDF, could be wrong though.
In your build it probably does, Brian. Text only in releases... it tries to send over directIM (and usually fails) in development builds.
The duck still burns.
--
My company: Saltatory Software. Check it out :)
User avatar
dchoby98
Adium Team
Posts: 479
Joined: Thu Dec 02, 2004 6:17 am
Location: Canada, Eh?
Contact:

Post by dchoby98 »

Incidentally, LaTeX is a math- and science-oriented typesetting language. For example, $$x^2$$ turns into a nicely-formatted x with exponent 2. It's REALLY handy for math-types (like me). However, you both need the Equation Service (above) AND a working LaTeX installation, which is nontrivial to install. It's tricky but worth it. :)
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

Just a question: why $$text$$?

Why not /latex{text}?
Blog | X(tras)
Communists code without classes.
User avatar
dchoby98
Adium Team
Posts: 479
Joined: Thu Dec 02, 2004 6:17 am
Location: Canada, Eh?
Contact:

Post by dchoby98 »

Because $$ ... $$ is the LaTeX standard for indicating that the stuff is to be formatted. It's second nature for me to use $$ ... $$ around math.
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

really?


Wasn't it $text$ instead?

I guess that's because then "I payed $20 but the price was $15" will become formatted in LaTeX
Blog | X(tras)
Communists code without classes.
User avatar
dchoby98
Adium Team
Posts: 479
Joined: Thu Dec 02, 2004 6:17 am
Location: Canada, Eh?
Contact:

Post by dchoby98 »

Heh, you have a good point about $ vs. $$. Both can be used in LaTeX, but in general, $ x^2 $ is inline formatting and $$ x^2 $$ is display-style (on a separate line, centered) mode. Yeah, we don't do that right, but single dollar-signs would be tricky to parse correctly.
Quentin
Harmless
Posts: 2
Joined: Wed Jan 26, 2005 4:56 pm

Post by Quentin »

Ok, perfect!

Tanks.

Quentin
Post Reply