From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yagnesh Raghava Yakkala Subject: Re: Bib file path relative to home using tilde ~ in Ubuntu Date: Sat, 13 Oct 2012 23:11:48 +0900 Message-ID: <87391i31i3.fsf@yagnesh.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TN2Q9-0001SG-Nu for emacs-orgmode@gnu.org; Sat, 13 Oct 2012 10:10:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TN2Q8-0007ue-Mv for emacs-orgmode@gnu.org; Sat, 13 Oct 2012 10:10:29 -0400 Received: from mailgate4.sys.hokudai.ac.jp ([133.87.1.147]:46572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TN2Q7-0007ge-Uc for emacs-orgmode@gnu.org; Sat, 13 Oct 2012 10:10:28 -0400 Received: from mailgate4.sys.hokudai.ac.jp (localhost.localdomain [127.0.0.1]) by localhost.sys.hokudai.ac.jp (Postfix) with ESMTP id 8AB4413F619 for ; Sat, 13 Oct 2012 23:10:19 +0900 (JST) Received: from okhotsk19 (okhotsk19.lowtem.hokudai.ac.jp [133.87.217.175]) by mailgate4.sys.hokudai.ac.jp (Postfix) with ESMTP id 7F58913F608 for ; Sat, 13 Oct 2012 23:10:19 +0900 (JST) In-Reply-To: (Sanjib Sikder's message of "Sat, 13 Oct 2012 19:24:17 +0530") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sanjib Sikder Cc: emacs-orgmode@gnu.org Hello Sanjib, Sanjib Sikder 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=3D".:$HOME/git/bib:" export BSTINPUTS=3D".:$HOME/git/bib:" export TEXINPUTS=3D".:$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., --=20 =E0=B0=8E=E0=B0=82=E0=B0=A6=E0=B0=B0=E0=B1=8B =E0=B0=AE=E0=B0=B9=E0=B0=BE= =E0=B0=A8=E0=B1=81=E0=B0=AD=E0=B0=BE=E0=B0=B5=E0=B1=81=E0=B0=B2=E0=B1=81 = =E0=B0=85=E0=B0=82=E0=B0=A6=E0=B0=B0=E0=B0=BF=E0=B0=95=E0=B0=BF =E0=B0=B5= =E0=B0=82=E0=B0=A6=E0=B0=A8=E0=B0=AE=E0=B1=81=E0=B0=B2=E0=B1=81 YYR