emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yagnesh Raghava Yakkala <hi@yagnesh.org>
To: Sanjib Sikder <sanjibju2002@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bib file path relative to home using tilde ~ in Ubuntu
Date: Sat, 13 Oct 2012 23:11:48 +0900	[thread overview]
Message-ID: <87391i31i3.fsf@yagnesh.org> (raw)
In-Reply-To: <CAL1SgUrDC9QiVMpu4Gj5QF2zO0VsJv4Buz18Ro0XX0MRDFPEBw@mail.gmail.com> (Sanjib Sikder's message of "Sat, 13 Oct 2012 19:24:17 +0530")


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

  reply	other threads:[~2012-10-13 14:10 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 [this message]
2012-10-13 14:36   ` Sanjib Sikder
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=87391i31i3.fsf@yagnesh.org \
    --to=hi@yagnesh.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=sanjibju2002@gmail.com \
    /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).