From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sanjib Sikder Subject: Re: Bib file path relative to home using tilde ~ in Ubuntu Date: Sat, 13 Oct 2012 22:47:00 +0530 Message-ID: References: <87391i31i3.fsf@yagnesh.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d044787d34bc63004cbf3fb10 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TN5LK-0000lC-QS for emacs-orgmode@gnu.org; Sat, 13 Oct 2012 13:17:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TN5LJ-0001Kd-7x for emacs-orgmode@gnu.org; Sat, 13 Oct 2012 13:17:42 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:55858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TN5LJ-0001KZ-0Q for emacs-orgmode@gnu.org; Sat, 13 Oct 2012 13:17:41 -0400 Received: by mail-ie0-f169.google.com with SMTP id 10so7773152ied.0 for ; Sat, 13 Oct 2012 10:17:40 -0700 (PDT) In-Reply-To: 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: Yagnesh Raghava Yakkala Cc: emacs-orgmode@gnu.org --f46d044787d34bc63004cbf3fb10 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, The following link says Emacs doesn't read .bashrc at all http://lists.gnu.org/archive/html/auctex/2006-01/msg00085.html any idea ? My BIBINPUTS is not working. I have put the following in my .bashrc file export BIBINPUTS=3D".:$HOME/bib:" export BSTINPUTS=3D".:$HOME/bst:" export TEXINPUTS=3D".:$HOME/bib:" Thanks ----------------------------- *Sanjib Sikder *Ph.D. Fellow Chemical Engineering IIT Bombay* * On Sat, Oct 13, 2012 at 8:06 PM, Sanjib Sikder wrot= e: > Hi, > > Thank you for the reply. > > I have put the following in my .bashrc file > > export BIBINPUTS=3D".:$HOME/bib:" > export BSTINPUTS=3D".:$HOME/bst:" > export TEXINPUTS=3D".:$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* > > * > > > > On Sat, Oct 13, 2012 at 7:41 PM, Yagnesh Raghava Yakkala = wrote: > >> >> 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., >> -- >> =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 >> > > --f46d044787d34bc63004cbf3fb10 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi,

The following link says Emacs doesn't read .bashrc at all
http://lists.gnu.org/archive/html/auctex/2006-01/msg00085.html
any idea ?

My BIBINPUTS is not working.

I h= ave put the following in my .bashrc file

export BIBINPUTS=3D".:= $HOME/bib:"
export BSTINPUTS=3D".:$HOME/bst:"
export T= EXINPUTS=3D".:$HOME/bib:"


Thanks
-----------------------------
<= b>Sanjib Sikder
Ph.D. Fellow
Chemical Engineering
II= T Bombay






On Sat, Oct 13, 2012 at 8:06 PM, Sanjib = Sikder <sanjibju2002@gmail.com> wrote:
Hi,

Thank you for the reply.

I have put the following in my .= bashrc file

export BIBINPUTS=3D".:$HOME/bib:"
export BS= TINPUTS=3D".:$HOME/bst:"
export TEXINPUTS=3D".:$HOME/bib:= "


where bib and bst are my two folders whose actual path are /home/US= ERNAME/bib for example.

But it is still not working.

Thanks<= br>
[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






On Sat, Oct 13, 2012 at 7:41 PM, Yagnesh Raghava Yakkala <hi@yagnesh.or= g> wrote:

Hello Sanjib,

Sanjib Sikder <sanjibju2002@gmail.com> writes:

> Hi,
>
> Can I use the bib file path using tilde (~) when doing latex export ?<= br> >
> 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.,
--
=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


--f46d044787d34bc63004cbf3fb10--