Hello Sanjib,

Sanjib Sikder <sanjibju2...@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

Its more of bibtex not finding than org-export problem.

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

Reply via email to