After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 543072 - latex support in chat
latex support in chat
Status: RESOLVED WONTFIX
Product: empathy
Classification: Core
Component: Chat
0.23.x
Other All
: Normal enhancement
: ---
Assigned To: empathy-maint
Depends on: 547208
Blocks:
 
 
Reported: 2008-07-15 10:27 UTC by Gaëtan Podevijn
Modified: 2012-12-28 14:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
latex support (4.18 KB, patch)
2008-07-15 10:28 UTC, Gaëtan Podevijn
needs-work Details | Review
empathy-tex2im script (4.89 KB, application/octet-stream)
2008-07-15 10:30 UTC, Gaëtan Podevijn
  Details

Description Gaëtan Podevijn 2008-07-15 10:27:55 UTC
As pidgin does, the following patch can replace $$latex_formula$$ by an image representing the formula.

It uses a bash script (tex2im - http://www.nought.de/tex2im.html).

I actually took the patch that Xavier made for gossip (see #354350). I didn't take the one with the ctrl+v feature for the moment.

Please, take a look at the many gtk_text_buffer_get_end_iter (buffer, &iter); because I'm not sure about all of that...

Other information:
Comment 1 Gaëtan Podevijn 2008-07-15 10:28:58 UTC
Created attachment 114587 [details] [review]
latex support
Comment 2 Gaëtan Podevijn 2008-07-15 10:30:34 UTC
Created attachment 114588 [details]
empathy-tex2im script

This script must be placed on the src/ directory with execute priority.
Comment 3 Xavier Claessens 2008-07-19 08:40:38 UTC
I didn't looked at the code in details, but surely it needs to be disabled with a gconf key and an option in the preference dialog.
Comment 4 Adam Schreiber 2009-04-06 15:09:20 UTC
This patch has bit rotted since the Regex code has been removed from libempathy/empathy-utils.c.  Xavier, if you can comment on where this should be integrated, I'd like to have a go at it.
Comment 5 Guillaume Desmottes 2009-04-13 12:02:57 UTC
I think such feature should be implemented as a plugin.
Comment 6 Jean-François Fortin Tam 2012-06-24 14:47:58 UTC
I think this is quite out of Empathy's scope, or at least you would need to rework the patch into a plugin that works with recent versions of Empathy... I doubt the maintainers are going to implement it themselves anytime soon.
Comment 7 Guillaume Desmottes 2012-12-28 14:00:18 UTC
For the record, this may be implemented using MathJax: bug #685998