|
From: | Sanjib Sikder |
Subject: | Re: [O] Bib file path relative to home using tilde ~ in Ubuntu |
Date: | Sat, 13 Oct 2012 20:06:28 +0530 |
Hello Sanjib,
Its more of bibtex not finding than org-export problem.
Sanjib Sikder <address@hidden> 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
[Prev in Thread] | Current Thread | [Next in Thread] |