Bug#588621: Problem creating a new LaTeX document - xml code gets in it instead

2012-02-16 Thread Gasparini Andrea
Hi Pietro,
can you please tell me if you experienced the problem even with sid
and gedi-latex-plugin 3.3.2 ?
Thanks,bye
-- 
- Andrea Gasparini -



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#588621: Problem creating a new LaTeX document - xml code gets in it instead

2010-07-10 Thread Pietro Battiston
Package: gedit-latex-plugin
Version: 0.2rc3-2
Severity: important
Tags: squeeze


The plugin ordinarily works ok, but if I create a new LaTeX document, after the 
dialog in which I can put settings and choose the folder to work in, I get, 
instead of the old nice template, an xml file like the following:




rubber --inplace --maxerr -1 --short 
--force --warn all --pdf "$filename"
gnome-open "$shortname.pdf"


rubber --inplace --maxerr -1 --short 
--force --warn all --pdf "$filename"


rubber --inplace --maxerr -1 --short 
--force --warn all --ps "$filename"
gnome-open "$shortname.ps"


rubber --inplace --maxerr -1 --short 
--force --warn all "$filename"
gnome-open "$shortname.dvi"


latex -interaction batchmode -src 
"$filename"
latex -interaction batchmode -src 
"$filename"
xdvi -unique -s 6 -bg white -editor gedit 
"$shortname.dvi"


R 
Sweave "$shortname.Rnw"
rubber --inplace --maxerr -1 --short 
--force --warn all --pdf "$shortname.tex"
gnome-open "$shortname.pdf"


rm -f $directory/*.aux $directory/*.log 
$directory/*.toc $directory/*.bbl $directory/*.blg


bibtex2xml "$filename"




Then, the plugin notices this is not a master .tex file, and hence asks me 
where the master is.

That's what the console says, from the step of starting gedit to the 
messagedialog asking where the master is:


pie...@voubian:~/Università/LMEC/tesi/tesi/slides$ gedit 
2010-07-10 14:33:02,653 DEBUG resources - Initializing resource locating
2010-07-10 14:33:02,696 DEBUG Preferences -  not 
found
2010-07-10 14:33:02,696 DEBUG Preferences -  not 
found
2010-07-10 14:33:02,712 DEBUG Preferences -  not 
found
2010-07-10 14:33:02,722 DEBUG Preferences -  not 
found
2010-07-10 14:33:02,722 DEBUG Preferences -  not 
found
2010-07-10 14:33:02,742 DEBUG JobManager - Created JobManager instance 35379024
2010-07-10 14:33:02,747 DEBUG GeditLaTeXPlugin - activate
2010-07-10 14:33:02,747 DEBUG WindowContext - init
2010-07-10 14:33:02,799 DEBUG GeditWindowDecorator - _init_tab_decorators: 
initialized 0 decorators
2010-07-10 14:33:03,581 DEBUG GeditWindowDecorator - active_tab_changed
2010-07-10 14:33:03,581 DEBUG GeditWindowDecorator - -- ADJUST: None
2010-07-10 14:33:03,581 DEBUG Preferences -  not 
found
2010-07-10 14:33:03,584 DEBUG GeditWindowDecorator - No window-scope views for 
this extension
2010-07-10 14:33:03,584 DEBUG GeditWindowDecorator - _set_selected_bottom_view: 
1
2010-07-10 14:33:03,584 DEBUG GeditWindowDecorator - _set_selected_side_view: 0
added: None
parse None (CTagsParser)
2010-07-10 14:33:03,606 DEBUG GeditWindowDecorator - tab_added
2010-07-10 14:33:04,118 DEBUG ToolView - init
/usr/lib/gedit-2/plugins/GeditLaTeXPlugin/src/util.py:172: GtkWarning: 
GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  self.__tree = glade.XML(self.filename)
2010-07-10 14:33:05,452 DEBUG Environment - Found user pw entry: 
pwd.struct_passwd(pw_name='pietro', pw_passwd='x', pw_uid=1000, pw_gid=1000, 
pw_gecos='Pietro Battiston,,,', pw_dir='/home/pietro', pw_shell='/bin/bash')
2010-07-10 14:33:05,452 DEBUG Preferences -  not found
find: "/home/pietro/texmf": No such file or directory
2010-07-10 14:33:05,665 DEBUG Preferences -  
not found
find: "/usr/share/texmf/tex/latex/base/": No such file or directory
find: "/home/pietro/texmf/tex/latex/base/": No such file or directory
2010-07-10 14:33:05,732 DEBUG Preferences -  
not found
find: "/usr/share/texmf/tex/generic/babel/": No such file or directory
find: "/home/pietro/texmf/tex/generic/babel/": No such file or directory
2010-07-10 14:33:08,784 DEBUG GeditWindowDecorator - 
GeditWindow.create_tab_from_uri(file:///home/pietro/Universit%C3%A0/LMEC/tesi/tesi/slides/document.tex)
2010-07-10 14:33:08,839 DEBUG GeditWindowDecorator - tab_added
added: file:///home/pietro/Universit%C3%A0/LMEC/tesi/tesi/slides/document.tex
2010-07-10 14:33:08,856 DEBUG GeditWindowDecorator - active_tab_changed
2010-07-10 14:33:08,856 DEBUG GeditWindowDecorator - -- ADJUST: None
2010-07-10 14:33:08,857 DEBUG Preferences -  not 
found
2010-07-10 14:33:08,857 DEBUG GeditWindowDecorator - No window-scope views for 
this extension
2010-07-10 14:33:08,857 DEBUG GeditWindowDecorator - _set_selected_bottom_view: 
1
2010-07-10 14:33:08,858 DEBUG GeditWindowDecorator - _set_selected_side_view: 0
parse file:///home/pietro/Universit%C3%A0/LMEC/tesi/tesi/slides/document.tex 
(CTagsParser)
-1
command: ctags -n -f /tmp/tmpUr9z8x 
/home/pietro/Università/LMEC/tesi/tesi/slides/document.*
ctags: invalid option -- 'n'
Try `ctags --help' for a complete list of options.
parse file:///home/pietro/Universit%C3%A0/LMEC/tes