Comments (4)
Thanks.. One more todo item :-(
On Jul 13, 2012 1:44 PM, "badge" <
[email protected]>
wrote:
I've been rooting around in the LaTeXTools package (wanting to implement
TeXCount.pl), and discovered that, on Windows, when a non-.tex file is in
the open view, the View PDF and Jump to PDF commands fail to warn the user
as expected. Instead, the following is printed to the console:Traceback (most recent call last): File ".\sublime_plugin.py", line 339, in run_ File ".\viewPDF.py", line 15, in run AttributeError: 'View' object has no attribute 'fileName'
Sadly my lack of knowledge of Windows (usually on *nix!) and Python
(usually in Perl!) make me unable to work out what's going on.
Reply to this email directly or view it on GitHub:
#51
from latextools.
Got it!
sublime.error_message("%s is not a TeX source file: cannot view." % (os.path.basename(view.fileName()),))
should read
sublime.error_message("%s is not a TeX source file: cannot view." % (os.path.basename(view.file_name()),))
Check on OS X, working fine (it was also failing on OS X before).
from latextools.
Ha! Great catch! It's a ST1-ism that I failed to convert. Will do.
from latextools.
Just fixed. Closing, and thanks!
from latextools.
Related Issues (20)
- Can't switch to xelatex or lualatex
- only ctrl+b not working,the editor only not responsed ctrl+b
- script incompatible with sync
- Barckward search broken on evince (GTK4?) HOT 2
- I don't find a way to get rid of error labels after typesetting
- Bibliography doesn't get printed when using biblatex and \nocite{*} HOT 2
- Autofill helper does not appear for cite, ref, input HOT 1
- Bibliography doesn't get printed when using biblatex and \nocite{*} HOT 1
- Bibliography doesn't get printed when using biblatex and \nocite{*} HOT 1
- Bibliography not showing on Windows 10 HOT 2
- Image preview cannot work in sub directory.
- texpath needs to be before $PATH in LaTeXTools.sublime-settings on linux?
- install not popping up on ST4
- PDF hidden on macOS after using aux folder
- Log parsing issue: build panel refers errors to a wrong file.
- LaTeX-cwl prevents snippets from appearing in the autocompletion list HOT 1
- Latextools does not compile document that is compiled in Overleaf
- Disable escaped curly bracket in equation environment
- Focus does not shift to viewer after build
- Basic builder: What to do when biber/bibtex is not invoked for some reason
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from latextools.