From: Vladimir Lomov <lomov.vl@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Bib file path relative to home using tilde ~ in Ubuntu
Date: Sun, 14 Oct 2012 16:28:30 +0900 [thread overview]
Message-ID: <20121014072830.GA824@smoon> (raw)
In-Reply-To: <CAL1SgUqEktzhUVQtTp91MMhOG7MU5BOxCQv7yaCHB7LypXgWMw@mail.gmail.com>
Hello,
** Sanjib Sikder [2012-10-14 11:53:52 +0530]:
> Hi,
> ----------------------------------------------------------------------------------------------------------------------------------------
>> First of all can you confirm your .bashrc setting is working.?
>> in the terminal
>> --8<---------------cut here---------------start------------->8---
>> echo $BIBINPUTS
> --8<---------------cut here---------------end--------------->8---
> *Here is the output*
> ~$ echo $BIBINPUTS
> .//:/home/USERNAME/bst//:.//:/home/USERNAME/bibFiles//:
> ------------------------------------------------------------------------------------------------------------------------------------------
>> and also can you check what is the value of BIBINPUTS in emacs.? Within
>> Emacs
>> evaluate the following (either in scratch buffer or with key press `M-:' or
>> with `M-x eval-expression')
>> --8<---------------cut here---------------start------------->8---
>> (getenv "BIBINPUTS")
>> --8<---------------cut here---------------end--------------->8---
> *OUTPUT* is: nil
> ---------------------------------------------------------------------------------------------------------------------------------------------
>> May be the last resort would be setting the variable within your .emacs
>> --8<---------------cut here---------------start------------->8---
>> (setenv "BIBINPUTS" ".:$HOME/bib:")
>> --8<---------------cut here---------------end--------------->8---
> I will try this one
> -----------------------------------------------------------------------------------------------------------------
> BTW how you are starting emacs? (command line or gui mouse click?)
> I am starting emacs from GUI mouse click. All the above tests are done only
> with the .bashrc, i.e., after removing the lines from .profile and .gnomerc
You use incorrert path for bibtex files, use
$HOME/texmf/bibtex/bib
this is the standard.
latex as well as bibtex searches for files in standard paths, like the one
above. If your files located in other places you have to set env.
variables (TEXINPUTS and BIBINPUTS). However setting env. variables is a
bit tricky. If one uses only terminal session it is enough to set
variables in apropriate RC files: bash uses ~/.bash_profile and
~/.bashrc depending on type of shell (login or not), for zsh see manual.
When run graphical session it depends what DE and DM are used. GNOME,
Unity launched by gdm or lightdm read user settings from ~/.profile
---
WBR, Vladimir Lomov
--
Walk softly and carry a big stick.
-- Theodore Roosevelt
next prev parent reply other threads:[~2012-10-14 7:28 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
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 [this message]
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=20121014072830.GA824@smoon \
--to=lomov.vl@gmail.com \
--cc=emacs-orgmode@gnu.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).