Giter Site home page Giter Site logo

pidgintex's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

pidgintex's Issues

crush after 3 image-deleting

So the problem conflicting image-deleting function:
I just 
1. open a conversation
2. type $$a$$ $$b$$ $$c$$ -->send. type $$a$$ $$b$$ $$c$$ -->send
3. close conversation
4. reopen conversation
5. type $$a$$ $$b$$ $$c$$ -->send. type $$a$$ $$b$$ $$c$$ -->send
6. After 3 Time  I get this:

(16:42:40) pidginTeX: Clearing imgstore.
(16:42:40) imgstore: retrieved image id 12
(16:42:40) imgstore: retrieved image id 11
(16:42:40) imgstore: retrieved image id 10
(16:42:40) imgstore: retrieved image id 9
(16:42:40) imgstore: retrieved image id 8
(16:42:40) imgstore: retrieved image id 7
(16:42:40) g_log: purple_imgstore_unref_by_id: assertion `img != NULL' failed 


Solution 
in Function deleting_conv(PurpleConversation *conv)

after: g_list_free(imageref);
add: imageref = NULL;

Because this is the "constructor" for a new G_list.

I think PidginTex is now much better then 2 mouth ago .

I hope you can make this compatible with this history plugin.
Have Fun.




Original issue reported on code.google.com by [email protected] on 17 Mar 2009 at 6:24

problem with pidgintex and mimetex.exe

Hello, in order to encode latex on pidgin I followed the steps below
depending on your site to download the  pidginTex plugin(version 1.1.0)
and I, therefore, first installed in C: \ WINDOWS the mimetex.exe file and
then installed the plugin (for windows of course), I got it then select the
menu in the software pidgin but as soon as I enter a code in latex pidgin
on my discussions (in the XMPP protocol in any case)then the program stops
and I receive an error report (I'm sorry but I think I can not copy and
paste this report) .
If however you feel able to decrypt this report an error I can try to
provide it to you to tell me so (I have to make several copies of the
screen and collect the sample). Thank you for help me .

I did not even have a message from the software 's warning that mimetex is
not recognized, but I think but I' m not sure that the path of access to
the mimetex.exe is not well defined for pidgin.


Original issue reported on code.google.com by [email protected] on 29 Mar 2009 at 5:20

Send images via custom smilies.

A very much appreciated feature (at least by me, but probably more people) 
would be the ability to split a rendered image into custom smilies and send 
those. The msn protocol allows for at least 100x100px smilies so that should 
be doable.

Original issue reported on code.google.com by [email protected] on 26 Jan 2010 at 9:55

my own problem with original version: can't split

(01:50:50) oscar: Sending IM, charset=0x0000, charsubset=0x0000, length=44
(01:50:50) pidginTeX: message_write:
$$\frac1 2$$
(01:50:50) g_log: analyse: assertion `!split[1]' failed
(01:50:50) pidginTeX: message_wrote:
$$\frac1 2$$
(01:50:50) g_log: message_wrote: assertion `originalmsg || logflag' failed

 can' splite. always wrong.

with updatet cynwin form kernel.org, glib 2.18
because Gregex in version 1.07 don't exist in 2.0x


Original issue reported on code.google.com by [email protected] on 17 Mar 2009 at 12:56

images and protocols

I don't know if it is the right place to ask it, but I don't know if gmail
or msn support sending images. I tried it but without success.

Thanks and congratulations for the code!


Original issue reported on code.google.com by [email protected] on 12 Apr 2008 at 12:10

no newline using '\\'

What steps will reproduce the problem?
writing multi-line formulas 

What is the expected output? What do you see instead?
In LaTeX, the '\\' command should create a new line, but the plugin 
doesn't respond to it. The only way to create a new line is to do it 
manually, using strg+Enter. 

What version of the product are you using? On what operating system?
PidginTeX 1.0.4; Pidgin 2.4.3; Ubuntu 8.04

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 3 Aug 2008 at 4:22

updated binarys

Hi
pls update the binarys.
32bit windows and linux will be nice.

Original issue reported on code.google.com by [email protected] on 19 Mar 2009 at 11:38

mathtex not found (anymore)

What steps will reproduce the problem?
1. Just type $$somelatex$$ and send it.

What is the expected output? What do you see instead?
No image gets rendered, pidgintex complains about that mathtex is not found.

What version of the product are you using? On what operating system?
Version 1.0.4, make DEBUG=1, ubuntu hardy 8.04, pidgin from the ubuntu
packages.

Please provide any additional information below.
DEBUG=1 just shows the messages, when I type "mathtex" in console, the
program is found and it outputs the help message. The problem occured very
unexpectedly, I did not change the path of mathtex or anything else. But I
guess pidgin was updated by ubuntu, maybe there's the problem?

Some outputs:

andi@work03-an:~$ whereis mathtex
mathtex: /usr/local/bin/mathtex

andi@work03-an:~$ dpkg --list | grep pidgin
ii  pidgin                                     1:2.4.1-1ubuntu2           
                       graphical multi-protocol instant messaging c
ii  pidgin-blinklight                          0.9-1                      
                       Blinks your ThinkPad's ThinkLight upon new m
ii  pidgin-data                                1:2.4.1-1ubuntu2           
                       multi-protocol instant messaging client - da
ii  pidgin-otr                                 3.1.0-1                    
                       Off-the-Record Messaging plugin for pidgin
ii  pidgin-plugin-pack                         2.0.0-1                    
                       30 useful plugins for pidgin



Original issue reported on code.google.com by [email protected] on 15 Apr 2008 at 3:40

Warn user if purple was unable to send image

In order to send images you need to be in direct IM mode, but even if you
aren't Pidgin won't warn you that your image wasn't didn't reach the other
user. 
The rest of the message still seems to be sent though.

Original issue reported on code.google.com by [email protected] on 1 Jan 2008 at 3:03

Apostrophes not correctly displayed

What steps will reproduce the problem?
1. Typing something like $$f''(x)$$ just displayed as $$f(x)$$ instead of f
with two primes.

What version of the product are you using? On what operating system?
ArchLinux
pidgintex 1.0.6-1
mathTeX 1.01

Please provide any additional information below.

On console, the command
  mathtex "f''(x)" -o eq1
produces the correct output gif.

Original issue reported on code.google.com by [email protected] on 25 Feb 2009 at 12:55

LaTeX messages are shown twice in sender window when "send image in IM" is enabled

What steps will reproduce the problem?

1. enable "send image in IM" in the pidginTeX configuration dialog
2. send an IM message with a LaTeX expression

What is the expected output? What do you see instead?

The whole message including the rendered latex is correctly displayed in
the IM window in the usual form:
  (TIMESTAMP) SENDERNAME: MESSAGE
Now, oddly enough, it is also additionally displayed on top of that
"normal" message line in bold red font in the form:
  (TIMESTAMP) MESSAGE
This weird additional line only appears when pidginTeX's "send image in IM"
option is activated. Please see the attached screenshot.

What version of the product are you using? On what operating system?

Using Pidgin 2.5.8 with pidginTeX-1.1.1-DEBIAN-i386.so on Ubuntu Karmic.

Original issue reported on code.google.com by [email protected] on 18 Aug 2009 at 12:42

Attachments:

[feature request:] Properly vertically align the rendered LaTeX images to the rest of the message line

When an IM message includes both pindginTeX-rendered LaTeX as well as
normal text, the baselines of the LaTeX output images are aligned to the
baseline of the text. This doesn't look too good when fractions, integrals,
sums etc. are used resulting in an image considerably higher than the
normal text line (see first screenshot attached below).

In almost all such cases, vertically aligning the middle of the images to
the middle of the text would already be a great improvement over the
current situation.

Also, apparently it must be possible to somehow obtain the exact vertical
offset for the LaTeX output images in order for the logical text base lines
to be exactly aligned, as for example the application "LyX" seems to do
that (see second screenshot). (Maybe you can even just take the code from
the LyX sources...)

If that's not feasible, please at least "vertical-align:middle" the images...

Original issue reported on code.google.com by [email protected] on 18 Aug 2009 at 1:22

Attachments:

message_wrote write (null) in logs

Hi
This is not a big problem:
I find after every real logged message a (null)

(01:13:40) d-man: killprocess
(01:13:40) 330xxxxxx: (null)

I don't know why the log try to write the message 2 times into log.

my easy but not best solution:

    while (log)
    {
        if (originalmsg) \\just add this
        {
            purple_log_write((PurpleLog *)log->data, flags, sender, time(NULL),
originalmsg);
        }
        log = log->next;
    }


Original issue reported on code.google.com by [email protected] on 18 Mar 2009 at 12:36

Mimetex.exe takes 50% CPU

I'm not sure what caused it, but I think it might have something to do with 
the history plugin and having LaTeX in the previous conversation. I've just 
installed Pidgintex yesterday and it's very cool, but sometimes when I open 
up a conversation with someone pidgin locks up and I find that mimetex.exe is 
eating up one CPU core. This also happened once after waking up my computer 
from sleep mode in Vista. I'll try to get some more information about it as 
it happens more. I did change the setting to send the image in the message, 
so maybe it has something to do with not being able to actually embed the 
image, but that shouldn't have anything to do with mimetex?

Original issue reported on code.google.com by [email protected] on 6 May 2009 at 10:34

no latex formulas in chat window (but visible in history)

What steps will reproduce the problem?
1. Enter formula
2. nothing visible in chat

Whenever I enter formula, nothing visible in chat window, so it looks like
problem in pidgin itself. But if I close chat window and open it again I
can see formulas in history!!! so everything works when it's taken from
history, but it's not working during conversation.

What version of the product are you using? On what operating system?

I've tried 2.6.3 and 2.6.4 versions of pidgin. This is pidgintex-1.1.1.

Note that I have similar problem in pidgin-latex, so it definitely looks
like pidgin problem. But I'm unsure where should I dig next...

debug output:

(17:39:41) pidginTeX: message_send:
$$\lambda$$
(17:39:41) offlinemsg: Account "[email protected]/таблетка" supports 
offline
messages.
(17:39:41) jabber: Unable to find caps: buddy might be offline
(17:39:41) jabber: Sending (ssl) ([email protected]/таблетка): <message
type='chat' id='purple3aee70db' to='[email protected]'><active
xmlns='http://jabber.org/protocol/chatstates'/><body>$$\lambda$$</body></message
>
(17:39:41) pidginTeX: displaying_msg: $$\lambda$$
(17:39:41) pidginTeX: Rendering expression: \lambda
(17:39:41) pidginTeX: Trying to execute command: mathtex -m 0
"\\png\\usepackage{color}\\color{black}\\displaystyle\\Huge  \\lambda" -o
/tmp/purpleF1SZ4U

Original issue reported on code.google.com by [email protected] on 18 Dec 2009 at 2:44

Attachments:

ABI mismatch

Hi,

was trying out your plugin but I have some kind of mismatching.
I'm using Ubuntu 7.10 and Pidgin 2.2.1 an the newest version of pidgintex
I also have mimetex installed.

I copied the .so file to /usr/lib/purple and the plugin appears in the
pluginmenu of Pidgin but if I try to activate it it says:

"ABI version mismatch 2.3.x (need 2.2.x)"

(I've translated it from german)

I actually don't know what it means nor what I can do to fix it.

Any hints?



PS: I also tried to compile it myself but this error message confuses me
even more than the first one ^^

[snip]
$make
Package pidgin was not found in the pkg-config search path.
Perhaps you should add the directory containing `pidgin.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pidgin' found
gcc -D"DEBUG_PRINT=//\""  -fPIC -c -DPLUGIN_NAME=\"pidginTeX\"
-DPLUGIN_VERSION=\"1.0.3\"   -c -o pidginTeX.o pidginTeX.c
[snap]

Original issue reported on code.google.com by [email protected] on 7 Mar 2008 at 12:05

images and protocols

I don't know if it is the right place to ask it, but I don't know if gmail
or msn support sending images. I tried it but without success.

Thanks and congratulations for the code!


Original issue reported on code.google.com by [email protected] on 12 Apr 2008 at 12:11

Request for 64-bit linux compilation

There is no pre-compiled .so for 64-bit linux.


(I'm currently having dependency troubles with my package manager so can't
get the libraries to compile myself)

Original issue reported on code.google.com by [email protected] on 8 Mar 2009 at 6:37

Problem with "\\" in LaTeX code

I use the PidginTex 1.0.5 plugin with mathTeX 1.0.1 on ArchLinux.
Whenever I use the latex newline comman "\\", the Problem occurs.
e.g. 
$$ \begin{pmatrix} a \\ b \end{pmatrix}$$
should produce something like
( a )
( b )
Instead I get 
( a b )

The problem also occurs when using mathtex itself:
> mathtex "\begin{pmatrix} a \\ b \end{pmatrix}" 
produces an image looking like above, the logfile says that it received 
    \begin{array}{cc} a & b \ c & d \end{array}

But it works when I use single quotes:
> mathtex '\begin{pmatrix} a \\ b \end{pmatrix}'

Replacing Line 155 in pidginTeX.c
"\"%s\" -m 0 \"\\png\\usepackage{color}\\color{%s}%s\\%s %s %s\" -o %s",
by 
"\"%s\" -m 0 '\\png\\usepackage{color}\\color{%s}%s\\%s %s %s' -o %s",

solved the problem for me.


Original issue reported on code.google.com by [email protected] on 27 Sep 2008 at 9:50

conflict with conversation color plugin (from purple plugin pack)

I use the conversation color plugin from the purple plugin pack to tweak the 
colors of the incoming and system messages. However if that plugin is enabled 
pidgintex does not display the rendered images. If I start pidgin, disable the 
conversation color plugin and enable it again, everything works again. So it 
seems that the conversation color plugin must be loaded after pidgintex. Is 
there any way to assure this happens?

What steps will reproduce the problem?
1. Start pidgin with conversation color plugin and pidgintex enabled.
2. Type some TeX code and see that the rendered image is not displayed.
3. Disable conversation color plugin and re-enable it.
4. Images are rendered.

What version of the product are you using? On what operating system?

– purple-plugin-pack 2.6.3
– pidgintex 1.1.1
– Both Arch Linux packaged.


Original issue reported on code.google.com by [email protected] on 11 Nov 2011 at 10:17

No Images Displayed mimetex vista

I have set up the plugin with mimetex exactly as was instructed,
mimetex.exe in c:\Windows
in cmd: mimetex "x^2" -e test.gif, produces a image in the 
C:\users\[username]
placed dll in pidgin/plugins

plugin configured, all check boxes unchecked, everything else set to 
auto/default

Anyone has any idea how to fix this?? Any help appreciated

Original issue reported on code.google.com by [email protected] on 17 Apr 2009 at 7:41

Rendering the output from the history plugin.

Just try to merge this plugin with history.c
Workes fine.
last history show math in the correct way, with mathtex.
http://g.imagehost.org/0364/Bildschirmfoto-HiTMaN.png

But it crashs, if I write some html code into the input
pidginTeX.c http://rafb.net/p/yYU70226.html

What is the problem?


Original issue reported on code.google.com by [email protected] on 16 Mar 2009 at 2:14

Compile plugin for Windows

I do not have windows myself, therefore I am unable to test any plugin I
compile. This project is in need of developer who can compile through MinGW
and get the plugin working on Windows. It might even work right now if
compiled properly.

Original issue reported on code.google.com by [email protected] on 31 Dec 2007 at 11:17

mimetex

PidginTex.h:
tex = g_regex_replace(regex, tex, -1, 0, "\\\\\\\\", 0, NULL);
works fine with mathtex.

But mimetex will produced wrong pics.



Original issue reported on code.google.com by [email protected] on 16 Mar 2009 at 3:41

Failed to execute command

I installed plugin and mimetex and when I tried the expression '$$x$$'. this 
message appeared.

http://i56.tinypic.com/11aahok.jpg


I use Windows 7 Home Premium 64, Pidgin 2.7.3, pidgintex 1.1.1


Debug:
(23:17:39) pidginTeX: displaying_msg: $$x$$
(23:17:39) pidginTeX: Rendering expression: x
(23:17:39) pidginTeX: Trying to execute command: mimetex "\color{black}\large{ 
x}" -e C:\Users\User\AppData\Local\Temp\purpleQMUOKV
(23:17:39) pidginTeX: Failed to create process for: mimetex 
"\color{black}\large{ x}" -e C:\Users\User\AppData\Local\Temp\purpleQMUOKV
(23:17:39) pidginTeX: Failed to execute command: mimetex "\color{black}\large{ 
x}" -e C:\Users\User\AppData\Local\Temp\purpleQMUOKV

Original issue reported on code.google.com by [email protected] on 14 Oct 2010 at 10:23

Attachments:

Sending image as custom smiley?

Dear developers of pidginTeX,

Thank you very much for making this great plugin.

I'd like to bring forward one feature desire.

Wouldn't it be nice to be able to send the rendered images using the custom
smiley feature of Pidgin for MSN?

Then your messenger friends will be able to read your rendered math with
their ordinary client. At least personally, it will be very great.

I'd also like to try adding the feature myself, if you recommend that; not
knowing sure whether I could succeed. :)

Sori

Original issue reported on code.google.com by [email protected] on 27 Nov 2008 at 9:11

Sending message to irc (chat) crashes pidgin

What steps will reproduce the problem?
1. Enable pidgintex
2. Enable "Send image. Make sure..." option
3. Enter some irc channer (or other group chat)
4. Send a message (commands works ok)

What is the expected output? What do you see instead?
Pidgin crashes, bugreport is generating.

What version of the product are you using? On what operating system?
pidginTex 1.0.6
pidgin 2.5.3 (self compiled from source)
Debian lenny



Original issue reported on code.google.com by [email protected] on 12 Jan 2009 at 9:49

Escaped apostrophes

Apostrophes (which are not normally escaped in html) show up as &apos; in
recieved messages (only).

It is in fact already fixed and will not be an issue in the next release.

Original issue reported on code.google.com by [email protected] on 24 Jan 2008 at 2:52

Request: Send image via Attachment

Hi,
thus the direct-sending of images is only available in ICQ-direct-connect
it would be very nice if you made it possible to send the image via
pidgin's send-file function.
Of course it's better if both sides have the plugin enabled, but often the
other ones have real ICQ or whatever and it's annoying to always render and
send the image per hand.

btw: Good work, love the plugin. Maybe you should host a .deb package for
the new ubuntu/debian users who can't copy the file by hand...
and maybe it will be included in future releases... hope so.
best regards.

Original issue reported on code.google.com by [email protected] on 3 Nov 2009 at 11:06

image doesn't get rendered

this propably isn't the correct way to get help, but i couldn't find
another way to get help, so please excuse me...

i installed mathtex and it seems to work:
nukm@nukm-desktop:~$ mathtex "\frac{a}{b}"
+-----------------------------------------------------------------------+
|mathTeX vers 1.01, Copyright(c) 2007-2008, John Forkosh Associates, Inc|
+-----------------------------------------------------------------------+
| mathTeX is free software, licensed to you under terms of the GNU/GPL  |
|           and comes with absolutely no warranty whatsoever.           |
|     See http://www.forkosh.com/mathtex.html for complete details.     |
+-----------------------------------------------------------------------+

mathTeX> input expression:  "\frac{a}{b}"

mathTeX> output image file: mathtex/033b571c237d78ae1c9908427fdf52ce.png

when i now activate your plugin in pidgin 2.4.0 and write a msg with latex
code in the $$ brackets, no image gets rendered, i just see the latex code
(like i should with my settings)...

hope this provides all information you need to help me.

Original issue reported on code.google.com by [email protected] on 9 Apr 2008 at 10:54

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.