* BIBINPUT in .bashrc not recognized by Emacs
@ 2012-10-13 19:24 Sanjib Sikder
2012-10-13 20:38 ` Myles English
0 siblings, 1 reply; 3+ messages in thread
From: Sanjib Sikder @ 2012-10-13 19:24 UTC (permalink / raw
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1060 bytes --]
Hi,
I was trying to set a location for my bibliography files which can be found
by org mode. The following lines in .bashrc does not work with orgmode
latex export
export TEXINPUTS=".//:$HOME/bibFiles//:$TEXINPUTS"
export BSTINPUTS=".//:$HOME/bibFiles//:$BIBINPUTS"
export BIBINPUTS=".//:$HOME/bst//:$BSTINPUTS"
I have put these lines in .gnomerc and .profile also
Normal pdflatex and bibtex runs from terminal successfully locates the bib
folder and bib files and generates the document with correct references but
orgmode latex export does not. If I put the .bib file where my .org file
is, then orgmode successfuly creates the document with reeerences.
How can i set BIBINPUT correctly so that emacs finds the bib files ?
the following link says that emacs does not recognize .bashrc. Even after
putting those codes in .gnomerc and .profile, emacs does not find the bib
files
http://lists.gnu.org/archive/html/auctex/2006-01/msg00085.html
Please help
-----------------------------
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*
*
[-- Attachment #2: Type: text/html, Size: 1456 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: BIBINPUT in .bashrc not recognized by Emacs
2012-10-13 19:24 BIBINPUT in .bashrc not recognized by Emacs Sanjib Sikder
@ 2012-10-13 20:38 ` Myles English
2012-10-16 17:01 ` Suvayu Ali
0 siblings, 1 reply; 3+ messages in thread
From: Myles English @ 2012-10-13 20:38 UTC (permalink / raw
To: Sanjib Sikder; +Cc: emacs-orgmode
Hi Sanjib,
Sanjib Sikder writes:
> Hi,
>
> I was trying to set a location for my bibliography files which can be found
> by org mode. The following lines in .bashrc does not work with orgmode
> latex export
>
> export TEXINPUTS=".//:$HOME/bibFiles//:$TEXINPUTS"
> export BSTINPUTS=".//:$HOME/bibFiles//:$BIBINPUTS"
> export BIBINPUTS=".//:$HOME/bst//:$BSTINPUTS"
That doesn't look quite right, this looks better:
export TEXINPUTS="./:${HOME}/bibFiles:${TEXINPUTS}"
Then type "echo $TEXINPUTS" in a terminal to see what it says.
> I have put these lines in .gnomerc and .profile also
I suggest you try one thing at a time.
> Normal pdflatex and bibtex runs from terminal successfully locates the bib
> folder and bib files
If the directory where you run these commands from is the same directory
that your files are in it doesn't have to look up the environment
variables. What happens if you type 'echo $BIBINPUTS' in that
directory?
> and generates the document with correct references but orgmode latex
> export does not. If I put the .bib file where my .org file is, then
> orgmode successfuly creates the document with reeerences.
>
> How can i set BIBINPUT correctly so that emacs finds the bib files ?
>
> the following link says that emacs does not recognize .bashrc. Even after
> putting those codes in .gnomerc and .profile, emacs does not find the bib
> files
>
I wonder if you have another file that is loaded first so that the
~/.profile is not loaded:
$ man bash
"it first reads and executes commands from the file /etc/profile, if
that file exists. After reading that file, it looks for
~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and
reads and executes commands from the first one that exists and is
readable."
Myles
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: BIBINPUT in .bashrc not recognized by Emacs
2012-10-13 20:38 ` Myles English
@ 2012-10-16 17:01 ` Suvayu Ali
0 siblings, 0 replies; 3+ messages in thread
From: Suvayu Ali @ 2012-10-16 17:01 UTC (permalink / raw
To: emacs-orgmode
Hello Sanjib,
Since Myles has already answered your question to some extent, I would
like to take the liberty to point out that your current issue is
off-topic on this list.
I would advise you try to ask this on the Ubuntu list (since you use
Ubuntu), or post on <help-bash@gnu.org> (a dedicated bash help list).
Apart from this, if you prefer web interfaces over email, you could post
your question on superuser.com, a member of the stackexchange network.
Hope this helps,
--
Suvayu
Open source is the future. It sets us free.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-16 17:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-13 19:24 BIBINPUT in .bashrc not recognized by Emacs Sanjib Sikder
2012-10-13 20:38 ` Myles English
2012-10-16 17:01 ` Suvayu Ali
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.