Hi,
Thank you for the reply.
I have put the following in my .bashrc file
export BIBINPUTS=".:$HOME/bib:"
export BSTINPUTS=".:$HOME/bst:"
export TEXINPUTS=".:$HOME/bib:"
where bib and bst are my two folders whose actual path are /home/USERNAME/bib for example.
But it is still not working.
Thanks
[I did one mistake, initially instead of placing these in .bashrc, i had run those in terminal. Is it causing any problem?]
-----------------------------
Sanjib Sikder
Ph.D. Fellow
Chemical Engineering
IIT Bombay
Hello Sanjib,
Its more of bibtex not finding than org-export problem.
Sanjib Sikder <sanjibju2002@gmail.com> writes:
> Hi,
>
> Can I use the bib file path using tilde (~) when doing latex export ?
>
> for example, Why can not I use \bibliography{~/Bib/RefAbv} ?
> where my bibliography file name is RefAbv.bib
> It gives error : undefined citation
>
> I do not want to use \bibliography{/home/USERNAME/Bib/RefAbv}
>
> I use dropbox. So if I can use tilde , then synchronzation is perfect. I can
> work in any machine without changing the path of my bib files.
>
> Also I do not want to put the bib file in my working directory.
>
> I am using Ubuntu 12.04
I have this in my .bashrc (~/git/bib is the folder I put my citations)
--8<---------------cut here---------------start------------->8---
export BIBINPUTS=".:$HOME/git/bib:"
export BSTINPUTS=".:$HOME/git/bib:"
export TEXINPUTS=".:$HOME/git/bib:"
--8<---------------cut here---------------end--------------->8---
And in my org file I don't even give any path name..
--8<---------------cut here---------------start------------->8---
\bibliographystyle{plain}
\bibliography{bibfile}
--8<---------------cut here---------------end--------------->8---
Thanks.,
--
ఎందరో మహానుభావులు అందరికి వందనములు
YYR