I am currently trying out Kile 1.7 and have encountered two problems:
\cite{}:
I have inserted the lines
\bibliographystyle{unsrt}
\bibliography{/path/to/bibliography}
at the end of my document. When I want to insert a citation from my .bib file, the dropdown list I get with 'LaTeX -> References -> cite' is empty. In Xemacs using RefTeX it works just fine.
Comment/uncomment:
The function to comment/uncomment parts of my tex document seems not to work. Nothing happens when I apply 'Tools -> Comment' on a selected region.
Are these bugs or did I simply make a mistake?
Tanks in advance!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That clarifies it. Kile doesn't do shell expansions (yet). Trying giving a relative or absolute path name:
../Bibliography/bibliography.bib
for example.
best,
Jeroen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, stick with the absolute file path. You are most likely not using a project, are you? Create a project add the TeX file and bib file to the project. That should work. Most recently added features only work with projects in Kile.
best,
Jeroen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
\bibliography{../test}
does work but
\bibliography{/home/wijnhout/WORK/test}
doesn't.
Can you confirm that? If you select Project->Refresh Project Tree, you should see that the .bib file becomes a child of the TeX file in the project tree. If not, Remove and then re-add the .bib file from the project.
best,
Jeroen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If I'm not mistaken, Kile works from the current directory. So, in the example of Jeroen, you'd get either /home/wijnhout/WORK/PROEFSCHRIFT//home/wijnhout/WORK/test.bib
or /home/wijnhout/WORK/PROEFSCHRIFT/../test as a path. The first of course would not work. I think this is a bug which comes up in at least a few other parts of the program.
Thijs
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, you are almost right. If the filename is an absolute path, Kile makes an exception. It could very well be that there is a bug in the way the exception is dealt with.
Thanks for the pointer!
best,
Jeroen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
I am currently trying out Kile 1.7 and have encountered two problems:
\cite{}:
I have inserted the lines
\bibliographystyle{unsrt}
\bibliography{/path/to/bibliography}
at the end of my document. When I want to insert a citation from my .bib file, the dropdown list I get with 'LaTeX -> References -> cite' is empty. In Xemacs using RefTeX it works just fine.
Comment/uncomment:
The function to comment/uncomment parts of my tex document seems not to work. Nothing happens when I apply 'Tools -> Comment' on a selected region.
Are these bugs or did I simply make a mistake?
Tanks in advance!
Hi,
Can you specify /path/to/bibliography and the path of the TeX file?
For the commenting/uncommenting bug, this is a known issue with the KDE libraries. AFAIK it is fixed in KDE 3.3.1.
best,
Jeroen
Both files (the .tex file and the .bib) file are in different folders in my home directory
.tex file: ~/Work/Documents/Note.tex
.bib file: ~/Work/Bibliography/bibliography.bib
The lines in my .tex file are:
\bibliographystyle{unsrt}
\bibliography{~/Work/Bibliography/bibliography}
That clarifies it. Kile doesn't do shell expansions (yet). Trying giving a relative or absolute path name:
../Bibliography/bibliography.bib
for example.
best,
Jeroen
Wow, you are quick.
I inserted the full path into the /bibliography{} command now. It still doesn't work. The .bbl file remains empty, too.
I'm super quick ;-)
Ok, stick with the absolute file path. You are most likely not using a project, are you? Create a project add the TeX file and bib file to the project. That should work. Most recently added features only work with projects in Kile.
best,
Jeroen
I am in a project and I added the .bib file. It seems to make no difference.
I tested a bit further with the following files:
/home/wijnhout/WORK/PROEFSCHRIFT/test.tex
/home/wijnhout/WORK/test.bib
\bibliography{../test}
does work but
\bibliography{/home/wijnhout/WORK/test}
doesn't.
Can you confirm that? If you select Project->Refresh Project Tree, you should see that the .bib file becomes a child of the TeX file in the project tree. If not, Remove and then re-add the .bib file from the project.
best,
Jeroen
I can confirm that.
If I'm not mistaken, Kile works from the current directory. So, in the example of Jeroen, you'd get either /home/wijnhout/WORK/PROEFSCHRIFT//home/wijnhout/WORK/test.bib
or /home/wijnhout/WORK/PROEFSCHRIFT/../test as a path. The first of course would not work. I think this is a bug which comes up in at least a few other parts of the program.
Thijs
Well, you are almost right. If the filename is an absolute path, Kile makes an exception. It could very well be that there is a bug in the way the exception is dealt with.
Thanks for the pointer!
best,
Jeroen