emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bib file path relative to home using tilde ~ in Ubuntu


From: Sanjib Sikder
Subject: Re: [O] Bib file path relative to home using tilde ~ in Ubuntu
Date: Sun, 14 Oct 2012 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

Thanks a lot.
-----------------------------
Sanjib Sikder
Ph.D. Fellow
Chemical Engineering
IIT Bombay






On Sun, Oct 14, 2012 at 7:24 AM, Yagnesh Raghava Yakkala <address@hidden> wrote:

Hello Sanjib,

Sanjib Sikder <address@hidden> writes:

> Hi,
>
> "The easiest way to update is logout from the computer, login again and start
> emacs."
>
> I did that. Still not working :(

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---

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---

If you don't get what you set in your .bashrc, means the shell in Emacs is not
getting BIBINPUTS variable.

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---

BTW how you are starting emacs? (command line or gui mouse click?)

Thanks.,
--
ఎందరో మహానుభావులు అందరికి వందనములు
YYR


reply via email to

[Prev in Thread] Current Thread [Next in Thread]