Re: [gedit-list] Issues with SyncTeX plugin



Hi Ignacio,

I just replaced my synctex.py with the updated one from GitHub. Well, the
TypeError seems to be gone now, but for every file I open I still have to
un-check and re-check the SyncTeX plugin before I can use it. In some more
detail,

1.) Open gedit from the terminal
2.) Open some LaTeX file (.tex) in gedit
3.) Try Ctrl + Click on a word, nothing happens. In addition, the "Forward
Search" option in the Tools menu is greyed out
4.) Go to the Preferences -> Plugins dialog and un-check the SyncTeX
plugin. Then, re-check it. In other words, disable the plugin and then
enable it again
5.) Now the Ctrl + Click works fine, the corresponding part in Evince is
highlighted. Also works the other way, Ctrl + Clicking something in Evince
highlights the right part in gedit. In addition, the "Forward Search"
option is available again (i.e. not greyed out anymore)

Now, if I open another (second) file in a new tab in gedit, Ctrl + Click
doesn't work for that file (but it *does* still work for the first file I
opened). Disabling/Enabling the plugin does the trick, now I can use Ctrl
+ Click for both the first and second file. After closing gedit and
opening it again, I have to go through the same steps to get it working
again.

In short, it seems like the SyncTeX plugin isn't called/activated when a
new file is opened. Any ideas? I'd be happy to run some more tests or
checks.

Cheers,
Pieter

Just fixed this on master and you'll get it in the next patch release

Cheers

On Tue, Nov 4, 2014 at 4:58 PM, Ignacio Casal Quinteiro <
nacho resa gmail com> wrote:


TypeError: on_saved_or_loaded() missing 1 required positional argument:
'data'

this seems like the issue. I'll try to have a look at it today or
tomorrow.

On Tue, Nov 4, 2014 at 3:54 PM, <pieter redpanda nl> wrote:

Well, I do get the following message when I open a file:

TypeError: on_saved_or_loaded() missing 1 required positional argument:
'data'

Apart from that, I just get some warnings when the Preferences ->
Plugins
dialog is displayed (where I can un-check and then re-check the SyncTeX
plugin in order to make it work again):

sys:1: Warning: The property GtkButton:xalign is deprecated and
shouldn't
be used anymore. It will be removed in a future version.
sys:1: Warning: The property GtkAlignment:left-padding is deprecated
and
shouldn't be used anymore. It will be removed in a future version.

Thanks,
Pieter

Hi Pieter,

do you get any error when you run gedit from a terminal?

Cheers.

On Tue, Nov 4, 2014 at 3:25 PM, <pieter redpanda nl> wrote:

Hi all,

The SyncTeX plugin only seems to work when manually adding/checking
it
in
the preferences dialog. After closing gedit and restarting it, the
plugin
is still checked, but it doesn't do anything (and the "Forward
Search"
option is greyed out). How do I fix this? I'm using gedit 3.14 on a
64bit
Arch Linux system.

Cheers,
Pieter
_______________________________________________
gedit-list mailing list
gedit-list gnome org
https://mail.gnome.org/mailman/listinfo/gedit-list




--
Ignacio Casal Quinteiro


_______________________________________________
gedit-list mailing list
gedit-list gnome org
https://mail.gnome.org/mailman/listinfo/gedit-list




--
Ignacio Casal Quinteiro




--
Ignacio Casal Quinteiro




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]