Comments (9)
I've looked at the code, and I think the solution is fairly simple. Line 91 in latex_cite_compl.py
already checks the location of the documents. It's just a matter of looking for it in $TEXMF/bibtex/bib
.
from latextools.
Thanks, I ll look into this. M
On Aug 12, 2012 3:18 AM, "Timothée Poisot" [email protected] wrote:
I've looked at the code, and I think the solution is fairly simple. Line
91 in latex_cite_compl.py already checks the location of the documents.
It's just a matter of looking for it in $TEXMF/bibtex/bib.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/60#issuecomment-7671929.
from latextools.
This is related to issue 47.
from latextools.
@msiniscalchi: I can have a look at this. Should we also consider being able to disable cite completion on a per-project basis in case the user doesn't wish to see all of the bib entries from external bib files?
from latextools.
I'm not sure. Right now cite completion only works on files that are
actually referenced in the tex file(s). There should be no need for project
management, right? Unless you mean that your project can determine whether
it's OK to look for bib files in the local texmf tree or not... But I don't
see why this should be configurable per-project.
My "ideal" would be for the plugin to do pretty much what tex&friends do.
So, if indeed bibtex looks in the texmf tree, then so should the plugin.
But I don't see this as a high-priority item: keep in mind that the plugin
has to work across platforms and tex distributions, and getting things
right is usually a big headache
On Fri, Sep 7, 2012 at 10:54 AM, Wallace Wu [email protected]:
@msiniscalchi https://github.com/msiniscalchi: I can have a look at
this. Should we also consider being able to disable cite completion on a
per-project basis in case the user doesn't wish to see all of the bib
entries from external bib files?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/60#issuecomment-8369521.
Marciano Siniscalchi
Economics Department, Northwestern University
http://faculty.wcas.northwestern.edu/~msi661
from latextools.
About the per-project thing, I was considering the latter (determining whether or not it's okay to look for bib files in the local texmf tree), but that was with the mindset that the plugin would manage the directories to search that are specified in sublime-settings files, but the ideal solution you have in mind probably doesn't require this extra layer of user intervention/configuration.
I'm not sure if the shell commands kpsewhich -var-value TEXMFHOME
(gets the local texmf directory path) and/or kpsewhich -var-value BIBINPUTS
(returns the directories that bibtex searches for bib files) would be sufficient to determine whether or not to search the local texmf tree when performing cite completion.
p.s. I'm interested in working on this plugin some more. Are there any (higher-priority) features/fixes that I can look into?
from latextools.
What is the status of this issue? Having the same exact issue here.
Edit:
As apc mentioned, #47 is a possible workaround. That fixes the problem for me.
from latextools.
The work around works, but is there any way to hard code this? I think the LaTeX standard is to keep personal .bib, .bst, .cls, and .sty files in the texmf folder. The linked issue (#47) mentions a hard code solution via texfiledir
, but in my ST3 LaTeXTools this is commented out. Is there a way that I can hard code this? Or add a personal settings?
Thanks! (I hope I don't sound ungrateful, I'm just getting started with ST3 after a long time on Vim and want to make sure that I don't start off on day one with a nest of ../../../../../../ that I have to reverse engineer every time. :) ).
from latextools.
This was fixed quite a while ago now.
from latextools.
Related Issues (20)
- Useless cmd window opened with the viewer HOT 1
- Issue with auto close of dollars
- 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
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.