emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sanjib Sikder <sanjibju2002@gmail.com>
To: Yagnesh Raghava Yakkala <hi@yagnesh.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bib file path relative to home using tilde ~ in Ubuntu
Date: Sat, 13 Oct 2012 20:06:28 +0530	[thread overview]
Message-ID: <CAL1SgUpWCFKqaSJXPALYKC7xrAR+w60AyTSHxpY5kAoAi8FhDQ@mail.gmail.com> (raw)
In-Reply-To: <87391i31i3.fsf@yagnesh.org>

[-- Attachment #1: Type: text/plain, Size: 2090 bytes --]

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*

*



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

>
> Hello Sanjib,
>
> 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
>
> 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
>

[-- Attachment #2: Type: text/html, Size: 2932 bytes --]

  reply	other threads:[~2012-10-13 14:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-13 13:54 Bib file path relative to home using tilde ~ in Ubuntu Sanjib Sikder
2012-10-13 14:11 ` Yagnesh Raghava Yakkala
2012-10-13 14:36   ` Sanjib Sikder [this message]
2012-10-13 17:17     ` Sanjib Sikder
2012-10-13 17:40     ` Yagnesh Raghava Yakkala
2012-10-13 18:10       ` Sanjib Sikder
2012-10-14  1:54         ` Yagnesh Raghava Yakkala
2012-10-14  6:23           ` Sanjib Sikder
2012-10-14  7:28             ` Vladimir Lomov
2012-10-14 15:49               ` Thomas S. Dye
2012-10-14  4:57         ` Nick Dokos
2012-10-14  6:44           ` Sanjib Sikder
2012-10-14  9:42           ` Yagnesh Raghava Yakkala

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAL1SgUpWCFKqaSJXPALYKC7xrAR+w60AyTSHxpY5kAoAi8FhDQ@mail.gmail.com \
    --to=sanjibju2002@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=hi@yagnesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).