Home Download Buy Blog Forum Support

LaTeX Plugin - LaTeXing for ST2 and ST3

Re: LaTeX Plugin - LaTeXing for ST2 and ST3

Postby schlamar on Thu Jun 27, 2013 12:54 pm

Can't login on your bitbucket mirror with OpenID (and refuse to use standard login on HTTP).

LaTeXing is broken on ST3, build 3046. I'm getting

Code: Select all
reloading plugin LaTeXing.LaTeXing
Traceback (most recent call last):
  File "C:\Users\schlaich\Sublime Text 3\sublime_plugin.py", line 73, in reload_plugin
    m = importlib.import_module(modulename)
  File "X/importlib/__init__.py", line 88, in import_module
  File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
  File "C:\Users\schlaich\Sublime Text 3\sublime_plugin.py", line 671, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "LaTeXing in C:\Users\schlaich\Sublime Text 3\Data\Installed Packages\LaTeXing.sublime-package", line 3, in <module>
ImportError: No module named 'LaTeXing.latexing.bibsonomy'
schlamar
 
Posts: 102
Joined: Tue Feb 19, 2013 2:11 pm

Re: LaTeX Plugin - LaTeXing for ST2 and ST3

Postby Talaf on Fri Jun 28, 2013 9:26 pm

Hi!

You have to unzip the sublime-package file, and place the contents in Packages/LaTeXing. It seems that since LaTeXing contains pyc files, sublime doesn't support the "new" zipped package approach.

Worked for me ;-)
Talaf
 
Posts: 4
Joined: Thu May 30, 2013 2:32 pm

Re: LaTeX Plugin - LaTeXing for ST2 and ST3

Postby gregor.hoch on Wed Jul 17, 2013 12:40 pm

I just saw that you are planing to include Mendeley/Zotero/CiteuLike Support in the next version, which is great!! As far as I can see, you are accessing Zotero through the server API, right? I am not sure what that means for the performance and offline work. Let me know if you are interested in accessing the local copy of the Zotero library. I could send some code for that.
gregor.hoch
 
Posts: 128
Joined: Sat Oct 01, 2011 7:54 pm

Re: LaTeX Plugin - LaTeXing for ST2 and ST3

Postby gregor.hoch on Thu Jul 18, 2013 1:01 pm

I am getting all kind of debug messages in the console when I try to insert a citation. Below is part of the output. Is there anything I can do about it? Something going wrong?

Book wilson1987thetruly
Book thorne1993genderplay
Article wodtke2011neighborhoodeffects
Article spilerman1971raisingacademic
debug: ./latexing/fill.py:20 run {'auto_trigger_source': True}
debug: ./latexing/listener.py:28 on_post_save <sublime.View object at 0x109edade0>
debug: ./latexing/tools.py:240 load_settings {'auto_trigger': True, 'bibsonomy_filename': 'bibsonomy.bib', 'currfile_graphicspath': False, 'output_directory': u'latexing', 'input_include_patterns': [u'*.tex', u'*.TEX'], 'graphics_include_patterns': [u'*.jpeg', u'*.jpg', u'*.png', u'*.eps', u'*.pdf'], 'bibsonomy': False, 'bibliography_include_patterns': [u'*.bib', u'*.BIB']}
debug: ./latexing/tools.py:417 findCommandRange <sublime.View object at 0x10ce7ebb0> 25965
debug: ./latexing/fill.py:42 run dicCommandRange: {'start': 25930, 'end': 25966, 'point': 25965}
debug: ./latexing/fill.py:43 run dicCommand: {'name': u'citep', 'arguments': [{'pair': u'[', 'start': 25937, 'content': u'', 'end': 25937}, {'pair': u'{', 'start': 25939, 'content': u'grigg2012schoolenrollment,', 'end': 25965}]}
debug: ./latexing/fill.py:44 run dicArgument: {'argument': {'pair': u'{', 'start': 25939, 'content': u'grigg2012schoolenrollment,', 'end': 25965}, 'pos': 1}
debug: ./latexing/tools.py:138 rootTexPath <sublime.View object at 0x10ce7ebb0>
debug: ./latexing/tools.py:240 load_settings {'root_option': True}
debug: ./latexing/tools.py:214 option /Users/XXX/Documents/doc.tex root: None
debug: ./latexing/tools.py:214 option /Users/XXX/Documents/doc.tex pdf: doc
debug: ./latexing/tools.py:36 file_lines /Users/XXX/Documents/doc.tex % [^\\]
debug: ./latexing/tools.py:36 file_lines /Users/XXX/Documents/doc.tex % [^\\]
debug: ./latexing/tools.py:36 file_lines /Users/XXX/Documents/peer-effects-mobility.bib % [^\\] (?!20)
Writing file /Users/XXX/Documents/doc.tex with encoding UTF-8
debug: ./latexing/listener.py:28 on_post_save <sublime.View object at 0x10a9d7830>

gregor.hoch
 
Posts: 128
Joined: Sat Oct 01, 2011 7:54 pm

Re: LaTeX Plugin - LaTeXing for ST2 and ST3

Postby Chris--- on Fri Jul 19, 2013 11:24 am

Yes it is through the server api BUT the data are going to be cached online which makes it just possible to have a good working speed and also makes it possible to work offline without a problem.

Are you sure that you are using the latest test version? Before we are going through some error searching now?

Cheers
Chris
LaTeXing: LaTeX Plugin for Sublime Text 2 and 3
http://www.latexing.com
Chris---
 
Posts: 25
Joined: Sat Apr 20, 2013 4:49 pm

Re: LaTeX Plugin - LaTeXing for ST2 and ST3

Postby gregor.hoch on Fri Jul 19, 2013 12:14 pm

Server API with cache sounds awesome! This is really a great feature.

I am not on the development branch right now. Just the regular one. I will try with the development version an report back.

Another question: show_log_panel_on is supposed to hide the log panel when I format the document, right? But adding the option "show_log_panel_on": false to my user 'LaTeXing.sublime-settings' file doesn't do anything. Or am I putting it in the wrong file? Some more documentation for cite_panel_format would also be good. Just an example formatting because I also can't find it in the default settings file.

Edit: Is it also possible to format the second line in the citation panel using cite_panel_format? LatexTools does that with an array such as ["{author} {year} - {title_short} ({keyword})","{title}"]
gregor.hoch
 
Posts: 128
Joined: Sat Oct 01, 2011 7:54 pm

Re: LaTeX Plugin - LaTeXing for ST2 and ST3

Postby Chris--- on Fri Jul 19, 2013 1:39 pm

Yes it is not working in the regular (stable release 0.7.6) version, this is just included in the testing version for now. I will underline that in the post on the website.

The behaviour of "show_log_panel_on" is also fixed in that version, that was a silly mistake in 0.7. Since the version 0.8 is close to a release I will leave that tiny bug in 0.7.

Sure it is possible to format the cite_panel with exactly what you said. This one is (should be) located in the default setting file:
Code: Select all
"cite_panel_format": [ "#{key}: {title}", "{type} ({origin}) by {author}" ]


Here also the documentation for the development version with a guide how to setup zotero etc..

Cheers
Chris
LaTeXing: LaTeX Plugin for Sublime Text 2 and 3
http://www.latexing.com
Chris---
 
Posts: 25
Joined: Sat Apr 20, 2013 4:49 pm

Re: LaTeX Plugin - LaTeXing for ST2 and ST3

Postby gregor.hoch on Tue Jul 23, 2013 1:56 pm

I am a little confused about the different versions of Latexing (my problems might also be connected to that).
I am still using ST2 for most of my work and the Latexing package is on version 0.5.8. Is that the most recent version for ST2 or does Latexing3 work in ST2?

The other question is about the oauth package required for zotero etc support. The only package I can find is oauthlib. I assume you mean that one?

Thanks!
gregor.hoch
 
Posts: 128
Joined: Sat Oct 01, 2011 7:54 pm

Re: LaTeX Plugin - LaTeXing for ST2 and ST3

Postby gregor.hoch on Tue Jul 23, 2013 7:08 pm

and I follow: Now I tried version 0.8 in ST3 but I am getting this error when I am trying to compile with this setting "show_log_panel_on": false:

Code: Select all
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 524, in run_
    return self.run(**args)
  File "/Development/LaTeXing3/latexing/compiler.py", line 62, in run
TypeError: argument of type 'bool' is not iterable


When I remove "show_log_panel_on": false from the setting files the error is slightly different:
Code: Select all
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 524, in run_
    return self.run(**args)
  File "/Development/LaTeXing3/latexing/compiler.py", line 44, in run
AttributeError: 'LtxCompilerCommand' object has no attribute 'logPanel'


Also, I am ask for my license when I am trying to compile although I have entered one.
gregor.hoch
 
Posts: 128
Joined: Sat Oct 01, 2011 7:54 pm

Re: LaTeX Plugin - LaTeXing for ST2 and ST3

Postby Chris--- on Tue Jul 23, 2013 7:23 pm

Hi Gregor,

after you asked the last time for the "show_log_panel_on" option (which is just available for the ST3 version) I was assuming you are on ST3. Indeed the new features are just coming to LaTeXing3 (also written on the website) which is the ST3 version of LaTeXing and working with Python 3.3.

The oauth libary is indeed oauthlib in the package control. I fixed that name in the documentation, sorry for the confusion.

Cheers
Chris
LaTeXing: LaTeX Plugin for Sublime Text 2 and 3
http://www.latexing.com
Chris---
 
Posts: 25
Joined: Sat Apr 20, 2013 4:49 pm

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: Yahoo [Bot] and 8 guests

cron