Hi,
I think that latex image output is too small (some symbols are difficult to read...). I added a "-x 1300" to dvips parameters (line 351) and seems to be ok. What do you think?
KKnull.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, I had such ideas several times already, but somehow I never found the time to look through the manpages for such an option. Thx for the hint => implemented.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
There is a bug in the plugin. Nicknames are not shown correctly in irc when using latex.
This because of using the function purple_conversation_get_im_data in message_recv (line 625).
I'd rather use this code:
gpointer ret = NULL;
...
...
if (conv_type == PURPLE_CONV_TYPE_CHAT)
ret = purple_conversation_get_chat_data(conv);
else if (conv_type == PURPLE_CONV_TYPE_IM)
ret = purple_conversation_get_im_data(conv);
if (ret != NULL){
...
...
(Thanks to Zmax)
KKnull.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
PurpleConversationType conv_type;
gpointer ret = NULL;
..
..
if (conv_type == PURPLE_CONV_TYPE_CHAT)
ret = purple_conversation_get_chat_data(conv);
else if (conv_type == PURPLE_CONV_TYPE_IM)
ret = purple_conversation_get_im_data(conv);
if (ret != NULL){
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
PurpleConversationType conv_type;
gpointer ret = NULL;
..
..
conv_type = purple_conversation_get_type(conv);
if (conv_type == PURPLE_CONV_TYPE_CHAT)
ret = purple_conversation_get_chat_data(conv);
else if (conv_type == PURPLE_CONV_TYPE_IM)
ret = purple_conversation_get_im_data(conv);
if (ret != NULL){
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I fixed the bug, but otherwise than you proposed, because it was way easier because of the nice API provided by Pidgin. Available in repo and in release pidgin-latex-1.2.1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, is it possible to make the plugin work with irc?
Thanks.
Yes it is, with the latest CVS-sources (official release will be soon).
Hi,
I think that latex image output is too small (some symbols are difficult to read...). I added a "-x 1300" to dvips parameters (line 351) and seems to be ok. What do you think?
KKnull.
Well, I had such ideas several times already, but somehow I never found the time to look through the manpages for such an option. Thx for the hint => implemented.
Hi,
There is a bug in the plugin. Nicknames are not shown correctly in irc when using latex.
This because of using the function purple_conversation_get_im_data in message_recv (line 625).
I'd rather use this code:
gpointer ret = NULL;
...
...
if (conv_type == PURPLE_CONV_TYPE_CHAT)
ret = purple_conversation_get_chat_data(conv);
else if (conv_type == PURPLE_CONV_TYPE_IM)
ret = purple_conversation_get_im_data(conv);
if (ret != NULL){
...
...
(Thanks to Zmax)
KKnull.
sorry,
This is the correct statement:
PurpleConversationType conv_type;
gpointer ret = NULL;
..
..
if (conv_type == PURPLE_CONV_TYPE_CHAT)
ret = purple_conversation_get_chat_data(conv);
else if (conv_type == PURPLE_CONV_TYPE_IM)
ret = purple_conversation_get_im_data(conv);
if (ret != NULL){
Sorry again!
PurpleConversationType conv_type;
gpointer ret = NULL;
..
..
conv_type = purple_conversation_get_type(conv);
if (conv_type == PURPLE_CONV_TYPE_CHAT)
ret = purple_conversation_get_chat_data(conv);
else if (conv_type == PURPLE_CONV_TYPE_IM)
ret = purple_conversation_get_im_data(conv);
if (ret != NULL){
I fixed the bug, but otherwise than you proposed, because it was way easier because of the nice API provided by Pidgin. Available in repo and in release pidgin-latex-1.2.1