Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'bst' reported in latex_installed_packages.py #1425

Open
dnaihao opened this issue Aug 11, 2019 · 1 comment
Open

KeyError: 'bst' reported in latex_installed_packages.py #1425

dnaihao opened this issue Aug 11, 2019 · 1 comment

Comments

@dnaihao
Copy link

dnaihao commented Aug 11, 2019

Since my sublime cannot fill the bracket for usepackage automatically, I ran LatexTools: Build cache of LaTex packages manually but got
Latextools-key-error

Then I investigated into the file latex_installed_packages.py. After I changed this line
Latextools-fix
and ran LatexTools: Build cache of LaTex packages, the autofill for usepackage worked successfully:
Latextools-fixed

So could we change the method to
Latextools-fix-all
in latex_installed_packages.py?

If you don't mind, could I commit to Latextools to fix this issue?

@ig0774
Copy link
Contributor

ig0774 commented Aug 12, 2019

The default should probably be [] rather than ''. Other than that, feel free to create a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants