I am using WinEdt 5.5 with MikTeX 2.7. I have a bibliography file titled ruby.bib that works fine when the file is located in the same directory as the main source latex document. Here is the source code:
\bibliographystyle{unsrt}
\bibliography{ruby}
I then placed ruby.bib in the directory C:\bibfiles.
I went into the Tree.ini file and modified it thusly:
PATH="%P;%p;C:\bibfiles" // add additional locations for your bib files, eg.:
I saved the Tree.ini file, then chose Options->Advanced->Load.
When I compile the main latex document, none of the contents of ruby.bib are accessed. I tried Macros->Run Startup Macro as well. I shut down WinEdt and restarted it, to no effect.
What am I doing wrong? What is the exact procedure to follow when placing bibliography files in a newly created folder?
How would I hard code the location of the bibfiles in my main Latex document?
Thanks for any help I receive.
WinEdt ⇒ WinEdt cannot find bibliography files
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
WinEdt cannot find bibliography files
You can try to use the complete path of your bibliography directly.
This should work similar to paths of graphic files.
Best regards and welcome to the board
Thorsten¹
Code: Select all
\bibliography{C:/bibfiles/ruby}
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Re: WinEdt cannot find bibliography files
I have no tree.ini file. Where is it supposed to be located?
A suggestion: set the environment variable BIBINPUTS=C:\bibfiles at the Windows level. It describes the extra paths for .bib files.
B.A.
A suggestion: set the environment variable BIBINPUTS=C:\bibfiles at the Windows level. It describes the extra paths for .bib files.
B.A.
Re: WinEdt cannot find bibliography files
The Tree.ini file can be found under Options-> Advanced in WinEdt.
What do you mean by "Windows level"?
What do you mean by "Windows level"?
Re: WinEdt cannot find bibliography files
Thanks for the suggestion, balf. It works.
Strange that I was always able to get the Tree.ini file to work before I had to rebuild MikTeX, but after the last build no luck. LaTeX can be really frustrating sometimes. I really dread rebuilds.
Strange that I was always able to get the Tree.ini file to work before I had to rebuild MikTeX, but after the last build no luck. LaTeX can be really frustrating sometimes. I really dread rebuilds.
Re: WinEdt cannot find bibliography files
"At the Windows level" meant those environment variables that are set on starting Windows (you can set them in System Properties, Advanced: I guess it's what you've done, since it now works).
Regards,
B.A.
Regards,
B.A.