Re: bibtex: BIBINPUTS

2008-04-30 Thread Richard Heck

Juergen Spitzmueller wrote:

Maka Mohu wrote:

  

May be I should try to make it clearer here. When I click Bibtex Generated
Bibliography, I can see some default bib files like "test" and I can see
my file "bibfile". But when I try insert citations, I can only see
references from "test.bib" but not from my file. I did "Rescan" in
Tools->TeX Information. It did not help. Thanks.



I think I understand now. This does not work with LyX yet. See:
http://bugzilla.lyx.org/show_bug.cgi?id=2645

  
If that is the problem, then, well, it's a bug. But if you're seeing 
your bibfile, then I think it must be something else. Here's what I have:

BIBINPUTS=/home/rgheck/files/bibtex::
export BIBINPUTS
Now, in LyX, if I do: Inset>Lists and TOC>BibTeX Bibliography, I see not 
very much at first, but then if I hit "Add", I see various default 
things, and all the .bib files in $BIBINPUTS, too. If I add one of 
these, then I'll see the citations.


If that's what you're doing, then it might be that the LyX parser is 
choking on your .bib file for some reason. If you start LyX from a 
terminal, you might get more information.


rh



Re: bibtex: BIBINPUTS

2008-04-30 Thread Juergen Spitzmueller
Maka Mohu wrote:

> May be I should try to make it clearer here. When I click Bibtex Generated
> Bibliography, I can see some default bib files like "test" and I can see
> my file "bibfile". But when I try insert citations, I can only see
> references from "test.bib" but not from my file. I did "Rescan" in
> Tools->TeX Information. I did not help. Thanks.

I think I understand now. This does not work with LyX yet. See:

http://bugzilla.lyx.org/show_bug.cgi?id=2645

Jürgen



Re: bibtex: BIBINPUTS

2008-04-30 Thread Maka Mohu
May be I should try to make it clearer here. When I click Bibtex Generated
Bibliography, I can see some default bib files like "test" and I can see my
file "bibfile". But when I try insert citations, I can only see references
from "test.bib" but not from my file. I did "Rescan" in Tools->TeX
Information. I did not help. Thanks.
Best regards,
Maka.

On Wed, Apr 30, 2008 at 8:04 AM, Juergen Spitzmueller <[EMAIL PROTECTED]>
wrote:

> Maka Mohu wrote:
>
> > I ran texhash, configure, Tools>Tex information>rescan and restarted lyx.
> > Still I can add the bibtex database since it is seen automatically but
> > when using cite the references of only the default bibtex "test" is
> shown.
> > If I add the data base manually through the browse button then the
> > references show in cite dialoge box. Unfortunately, this has the side
> > effect that if I change the place where bibtex files are (being  on
> > another computer for example) then I have to readd all paths to bibtex
> > files used to every document.
>
> I'm not sure I understand the problem. However, if it's about the bibfile
> not showing in the inset bibtex dialog (in the browser widget where the
> databases in the TeX path are shown), then try "Rescan" in Tools->TeX
> Information.
>
> HTH,
> Jürgen
>
>


Re: bibtex: BIBINPUTS

2008-04-29 Thread Juergen Spitzmueller
Maka Mohu wrote:

> I ran texhash, configure, Tools>Tex information>rescan and restarted lyx.
> Still I can add the bibtex database since it is seen automatically but
> when using cite the references of only the default bibtex "test" is shown.
> If I add the data base manually through the browse button then the
> references show in cite dialoge box. Unfortunately, this has the side
> effect that if I change the place where bibtex files are (being  on
> another computer for example) then I have to readd all paths to bibtex
> files used to every document.

I'm not sure I understand the problem. However, if it's about the bibfile
not showing in the inset bibtex dialog (in the browser widget where the
databases in the TeX path are shown), then try "Rescan" in Tools->TeX
Information.

HTH,
Jürgen



Re: bibtex: BIBINPUTS

2008-04-29 Thread Maka Mohu
I ran texhash, configure, Tools>Tex information>rescan and restarted lyx.
Still I can add the bibtex database since it is seen automatically but when
using cite the references of only the default bibtex "test" is shown. If I
add the data base manually through the browse button then the references
show in cite dialoge box. Unfortunately, this has the side effect that if I
change the place where bibtex files are (being  on another computer for
example) then I have to readd all paths to bibtex files used to every
document.

Best regards,
Maka.
On Tue, Apr 29, 2008 at 6:32 PM, rgheck <[EMAIL PROTECTED]> wrote:

> Maka Mohu wrote:
>
>> Hi!
>> I use LyX 1.5.3. I have in my .bashrc the following:
>>
>> export TEXMFLOCAL=/home/maka/me/database/documents/texmf
>> #bibtex, add to default setup.
>> export BIBINPUTS=$TEXMFLOCAL/bibtex/bib:
>>
>> I can add the  "test.bib" which comes with the installation and my bib
>> file
>> say bibfile.bib but when I go to cite the reference I only see references
>> from test.bib but not mine. I tried to add the citation manually to .lyx
>> file since I know the name and it worked but this inconvenient since I can
>> not go edit .lyx file every time I want to insert a citation. Can any body
>> help? Thanks.
>>
>>
>>
> You may need to run texhash so that TeX knows your bibfile is there. And
> you may also need to reconfigure LyX.
>
> rh
>
>


Re: bibtex: BIBINPUTS

2008-04-29 Thread rgheck

Maka Mohu wrote:

Hi!
I use LyX 1.5.3. I have in my .bashrc the following:

export TEXMFLOCAL=/home/maka/me/database/documents/texmf
#bibtex, add to default setup.
export BIBINPUTS=$TEXMFLOCAL/bibtex/bib:

I can add the  "test.bib" which comes with the installation and my bib file
say bibfile.bib but when I go to cite the reference I only see references
from test.bib but not mine. I tried to add the citation manually to .lyx
file since I know the name and it worked but this inconvenient since I can
not go edit .lyx file every time I want to insert a citation. Can any body
help? Thanks.

  
You may need to run texhash so that TeX knows your bibfile is there. And 
you may also need to reconfigure LyX.


rh



bibtex: BIBINPUTS

2008-04-29 Thread Maka Mohu
Hi!
I use LyX 1.5.3. I have in my .bashrc the following:

export TEXMFLOCAL=/home/maka/me/database/documents/texmf
#bibtex, add to default setup.
export BIBINPUTS=$TEXMFLOCAL/bibtex/bib:

I can add the  "test.bib" which comes with the installation and my bib file
say bibfile.bib but when I go to cite the reference I only see references
from test.bib but not mine. I tried to add the citation manually to .lyx
file since I know the name and it worked but this inconvenient since I can
not go edit .lyx file every time I want to insert a citation. Can any body
help? Thanks.

Best regards,
Maka.