Closed mactep closed 6 years ago
Thanks for sharing. Currently I'm working on some changes for another feature, which would require some changes to your code, but also should fix the problem with the tempfile you mentioned. I will look into how we can synctex support after that (e.g. Would be nice if to have a similar forward search function for other pdf viewers as well).
Yeah, I just implemented it with Zathura because is the one I use. We'll need to define a default pdf viewer and a variable to know which one the user wants to use. This will require a function for each of the most used pdf viewers.
In the downtime you can just add a variable with the tempfile name, so we can implement this feature outside of neotex. Something like b:neotex_tempfile
should do the trick.
In the downtime you can just add a variable with the tempfile name
I added the function NeotexTempfile()
to make the filename of the tempfile globally readable.
I'll close the issue by now.
First of all, thank you for making this plugin.
I would like to suggest you the implementation of synctex forward search. I've managed to get it working, but its far from good.
Here is my modified version of
tex.vim
:There is one caveat. Since the
tempfile
changes, the function works only if NeoTex has compiled the file in the current session.I can try to make this implementation if you wish, but I'm totally new to plugins. Let me know if you need something more.
Sorry for bad grammar.