Citation based on current word and Citation Ref-TeX style now give me the message, "Could not locate any file named 'bibliography.bib' ". I'm on TM2 beta 12.5 and OS 10.11.6. This problem came up a few days ago. I'm not sure if it was with beta 12.4 or 12.5. Removing my revised LaTeX bundle in Avian did not change behavior, neither did removing Macromates preference files or reinstall of TM. My .bib files are in ~/Library/texmf/bibtex/bib/local and I haven't defined PATH or BIBINPUTS in variables.
Any pointer appreciated. --Gildas
* Skriv a reas Gildas Hamel (gweltaz@ucsc.edu): |> Citation based on current word and Citation Ref-TeX style now give me the message, "Could not locate any file named 'bibliography.bib' ". I'm on TM2 beta 12.5 and OS 10.11.6. This problem came up a few days ago. I'm not sure if it was with beta 12.4 or 12.5. Removing my revised LaTeX bundle in Avian did not change behavior, neither did removing Macromates preference files or reinstall of TM. My .bib files are in ~/Library/texmf/bibtex/bib/local and I haven't defined PATH or BIBINPUTS in variables. |>
It looks like the full path to the .bib files must be spelled out in the preamble. In my standard input-file preamble, I simply had \addbibresource{bibliography.bib}, which is sufficient for TeX but apparently not for the LaTeX bundle. Adding the full path works. --Gildas
Hi Gildas,
On 30 Aug 2016, at 4:03 , Gildas Hamel gweltaz@ucsc.edu wrote:
- Skriv a reas Gildas Hamel (gweltaz@ucsc.edu):
|> Citation based on current word and Citation Ref-TeX style now give me the message, "Could not locate any file named 'bibliography.bib' ". I'm on TM2 beta 12.5 and OS 10.11.6. This problem came up a few days ago. I'm not sure if it was with beta 12.4 or 12.5. Removing my revised LaTeX bundle in Avian did not change behavior, neither did removing Macromates preference files or reinstall of TM. My .bib files are in ~/Library/texmf/bibtex/bib/local and I haven't defined PATH or BIBINPUTS in variables. |>
It looks like the full path to the .bib files must be spelled out in the preamble. In my standard input-file preamble, I simply had \addbibresource{bibliography.bib}, which is sufficient for TeX but apparently not for the LaTeX bundle. Adding the full path works.
are you sure that you did not define `BIBINPUTS`? I could reproduce the problem, but only after I set `BIBINPUTS` to an “incorrect” value.
Could you please do the following:
1. Open a new document in TextMate (`⌘` + `N`) 2. Paste the following commands in the first line of the new document
echo -e "\nBIBINPUTS:\n\n$BIBINPUTS\n\nBibliography Paths:\n"; /Library/TeX/texbin/kpsewhich --show-path=bib
3. Execute the command by pressing `^` + `R` 4. What is the output of the commands from step 3?
—Gildas
Kind regards, René
* Skriv a reas René Schwaiger (sanssecours@f-m.fm): |> |> are you sure that you did not define `BIBINPUTS`? I could reproduce the problem, but only after I set `BIBINPUTS` to an “incorrect” value. |> |> Could you please do the following: |> |> 1. Open a new document in TextMate (`⌘` + `N`) |> 2. Paste the following commands in the first line of the new document |> |> echo -e "\nBIBINPUTS:\n\n$BIBINPUTS\n\nBibliography Paths:\n"; /Library/TeX/texbin/kpsewhich --show-path=bib |> |> 3. Execute the command by pressing `^` + `R` |> 4. What is the output of the commands from step 3? |> Here is what I got:
Bibliography Paths:
.:/Users/gweltaz/Library/texlive/2016/texmf-config/bibtex/bib//:/Users/gweltaz/Library/texlive/2016/texmf-var/bibtex/bib//:/Users/gweltaz/Library/texmf/bibtex/bib//:!!/usr/local/texlive/2016/texmf-config/bibtex/bib//:!!/usr/local/texlive/2016/texmf-var/bibtex/bib//:!!/usr/local/texlive/texmf-local/bibtex/bib//:!!/usr/local/texlive/2016/texmf-dist/bibtex/bib//
--gildas
Hi Gildas,
Here is what I got:
Bibliography Paths:
.:/Users/gweltaz/Library/texlive/2016/texmf-config/bibtex/bib//:/Users/gweltaz/Library/texlive/2016/texmf-var/bibtex/bib//:/Users/gweltaz/Library/texmf/bibtex/bib//:!!/usr/local/texlive/2016/texmf-config/bibtex/bib//:!!/usr/local/texlive/2016/texmf-var/bibtex/bib//:!!/usr/local/texlive/texmf-local/bibtex/bib//:!!/usr/local/texlive/2016/texmf-dist/bibtex/bib//
thank you for the fast response. I just figured out the problem.
Sorry for breaking the functionality in commit 30c428ec [1]. I (hopefully) fixed the problem in one of the latest commits [2].
[1]: https://github.com/textmate/latex.tmbundle/commit/30c428ec [2]: https://github.com/textmate/latex.tmbundle/commit/c6f58ba6
—gildas
Kind regards, René
* Skriv a reas René Schwaiger (sanssecours@f-m.fm): |> > |> thank you for the fast response. I just figured out the problem. |> |> Sorry for breaking the functionality in commit 30c428ec [1]. I (hopefully) fixed the problem in one of the latest commits [2]. |> |> [1]: https://github.com/textmate/latex.tmbundle/commit/30c428ec |> [2]: https://github.com/textmate/latex.tmbundle/commit/c6f58ba6 |> Hi René, Thank you for the fix which works, including in 2.0-beta.12.8. --Gildas
Yeah, it’s working for me as well.