I installed the plugin (0.2 rc1), but when i open a .tex file, i can't compile the latex doc because i don't see the latex menu.
When i create a new latex-file with the wizard, i see the menu.
the menu items should be displayed when a local file ending with '.tex' is opened. Can you please
* run gedit from a console
* open the file again and
* post the console output here
can you please attach the document for which the error occured? Thanks!
Here, the plugin not detect tex files in a directory with spaces in its name.
If I open the same tex file
Here, the plugin not detect tex files in a directory with spaces in its
If I open the same tex file on a path that has no spaces the plugin can detect a valid tex file by the extension
And another problem: fell free to open a new issue.
The dialog on new latex file dont work in svn. I changed a name file on glade directory from new_document_dialog.glade to new_document_template_dialog.glade and the diagog works again.
Thanks for posting the issues. Can you please be more precise and explain what you mean by "not working" (run gedit in a console). The "new_document_template_dialog.glade" is an alternative version of the dialog that I'm currently developing...
This do not work: The latex bar don't appear and I'm unable to use the plugin with a tex file.
This do not work too: The dialog on "file" menu on gedit is blanked. I'm unable to create a new tex file.
When i change the name document_dialog.glade to
new_document_template_dialog.glade, the dialog can be invoked from gedit menu again, and i able to create a new latex file.
one more detail to te first issue: the latex bar do not appear if a path file has spaces in its name.
tested in svn.
I also have experienced this problem except that I don't have a space in the name of the file I have opened...
My stack trace is the following:
Traceback (most recent call last):
File "/usr/lib/gedit-2/plugins/GeditLaTeXPlugin/src/base/decorators.py", line 621, in _on_load
File "/usr/lib/gedit-2/plugins/GeditLaTeXPlugin/src/base/decorators.py", line 673, in _adjust_editor
editor_class.__init__(self._editor, self, file)
File "/usr/lib/gedit-2/plugins/GeditLaTeXPlugin/src/base/__init__.py", line 358, in __init__
File "/usr/lib/gedit-2/plugins/GeditLaTeXPlugin/src/latex/editor.py", line 100, in init
File "/usr/lib/gedit-2/plugins/GeditLaTeXPlugin/src/latex/editor.py", line 288, in __parse
expander.expand(self._document, master_file, self, self.charset)
File "/usr/lib/gedit-2/plugins/GeditLaTeXPlugin/src/latex/expander.py", line 56, in expand
File "/usr/lib/gedit-2/plugins/GeditLaTeXPlugin/src/latex/expander.py", line 83, in _expand
fragment = self._document_cache.get_document(File(filename), self._charset, self._issue_handler)
File "/usr/lib/gedit-2/plugins/GeditLaTeXPlugin/src/latex/cache.py", line 130, in get_document
entry = self.Entry(file, charset)
File "/usr/lib/gedit-2/plugins/GeditLaTeXPlugin/src/latex/cache.py", line 72, in __init__
File "/usr/lib/gedit-2/plugins/GeditLaTeXPlugin/src/latex/cache.py", line 93, in synchronize
self.__mtime = self.__file.mtime
File "/usr/lib/gedit-2/plugins/GeditLaTeXPlugin/src/base/__init__.py", line 1094, in mtime
File "/usr/lib/python2.6/genericpath.py", line 54, in getmtime
OSError: [Errno 2] Aucun fichier ou dossier de ce type: '/home/falleri/work/ft/meetings/tache5/rapport-intro.tex.tex'
Fixed in SVN