Re: Inserting Citations

2012-06-19 Thread William Hanson
Ray,

I've solved the problem (not being able to insert citations or references),
thanks to the advice you gave in your June 15 message.

The key to the solution was getting to the important stuff that is buried
in Mendeley Desktop.  Under Tools  Options  Document Details, the
Citation Key must be checked, as you said.  And under under Tools  Options
 BibTeX, the right choices must be made, including the right path to the
location where Mendeley had stored my bib files, again as you said.

The foregoing was made harder than it otherwise would have been because my
version of Mendeley Desktop has no 'Tags' or 'Keywords'.  All the stuff I
needed to fiddle with was under Tools  Options.

Many thanks,

Bill



On Fri, Jun 15, 2012 at 2:39 PM, Ray Rashif schivmeis...@gmail.com wrote:

 On 15 June 2012 03:17, William Hanson whan...@umn.edu wrote:
  Ray,
 
 
  I'm trying to make progress by taking mini-steps.  In trying to execute
 one
  of your recommendations, I've hit a snag.  Recently you said:
 
  Choose an existing citation in your LyX document, note down its name
  as seen there. For eg., Michael1999. In Mendeley look for that
  specific bibliographic entry, as close as you can remember. Then find
  the field Citation Key. The two must match.
 
  By Mendeley you mean Mendeley Desktop, right?  In the LyX document I'm
  most concerned with I can find, e.g., the citation [Hanson2006]. And in
  Mendeley Desktop I can find the exact bibliographic entry to which this
  citation refers.  But I don't see any field called Citation Key in
  Mendeley Desktop.  So I'm stuck at this point.

 Both Mendeley Web and Desktop have a 'Citation Key' field. Otherwise,
 citations would have no unique identifier, and hence would not be
 usable in any application. In Web, it's Edit document details 
 Additional Fields.

 In Desktop, it's right below 'Tags' and 'Keywords'. If not, go to
 Options  Document Details and make sure 'Citation Key' is selected
 for every document type. It may be wise to make sure you're fully
 updated to the latest version of the program.

  But moving on just one more mini-step, you continue the passage quoted
 above
  as follows:
 
 
  If not, simply reselect the item in LyX bib dialogue from the
  Available Citations pane and delete the old citation from the
  Selected Citations pane
 
  But this is what I'm simply unable to do, because I can't find any way to
  get any file from my Mendeley Desktop into the Available Citations
 pane in
  LyX.  If only I could do that, I'm pretty sure I could solve my original
  problem, namely, getting all the :[?]s in the pdf replaced with real
  references.

 Look in Options  BibTeX. I personally have these checked:

 Escape LaTeX special characters
 Enable BibTeX syncing
 Create one BibTeX file per collection
 And a path where Mendeley will store the bib file(s)

 You may choose not to sync, in which case simply select a folder or
 the files you want and File  Export.


 --
 GPG/PGP ID: C0711BF1



Re: Inserting Citations

2012-06-19 Thread William Hanson
Ray,

I've solved the problem (not being able to insert citations or references),
thanks to the advice you gave in your June 15 message.

The key to the solution was getting to the important stuff that is buried
in Mendeley Desktop.  Under Tools  Options  Document Details, the
Citation Key must be checked, as you said.  And under under Tools  Options
 BibTeX, the right choices must be made, including the right path to the
location where Mendeley had stored my bib files, again as you said.

The foregoing was made harder than it otherwise would have been because my
version of Mendeley Desktop has no 'Tags' or 'Keywords'.  All the stuff I
needed to fiddle with was under Tools  Options.

Many thanks,

Bill



On Fri, Jun 15, 2012 at 2:39 PM, Ray Rashif schivmeis...@gmail.com wrote:

 On 15 June 2012 03:17, William Hanson whan...@umn.edu wrote:
  Ray,
 
 
  I'm trying to make progress by taking mini-steps.  In trying to execute
 one
  of your recommendations, I've hit a snag.  Recently you said:
 
  Choose an existing citation in your LyX document, note down its name
  as seen there. For eg., Michael1999. In Mendeley look for that
  specific bibliographic entry, as close as you can remember. Then find
  the field Citation Key. The two must match.
 
  By Mendeley you mean Mendeley Desktop, right?  In the LyX document I'm
  most concerned with I can find, e.g., the citation [Hanson2006]. And in
  Mendeley Desktop I can find the exact bibliographic entry to which this
  citation refers.  But I don't see any field called Citation Key in
  Mendeley Desktop.  So I'm stuck at this point.

 Both Mendeley Web and Desktop have a 'Citation Key' field. Otherwise,
 citations would have no unique identifier, and hence would not be
 usable in any application. In Web, it's Edit document details 
 Additional Fields.

 In Desktop, it's right below 'Tags' and 'Keywords'. If not, go to
 Options  Document Details and make sure 'Citation Key' is selected
 for every document type. It may be wise to make sure you're fully
 updated to the latest version of the program.

  But moving on just one more mini-step, you continue the passage quoted
 above
  as follows:
 
 
  If not, simply reselect the item in LyX bib dialogue from the
  Available Citations pane and delete the old citation from the
  Selected Citations pane
 
  But this is what I'm simply unable to do, because I can't find any way to
  get any file from my Mendeley Desktop into the Available Citations
 pane in
  LyX.  If only I could do that, I'm pretty sure I could solve my original
  problem, namely, getting all the :[?]s in the pdf replaced with real
  references.

 Look in Options  BibTeX. I personally have these checked:

 Escape LaTeX special characters
 Enable BibTeX syncing
 Create one BibTeX file per collection
 And a path where Mendeley will store the bib file(s)

 You may choose not to sync, in which case simply select a folder or
 the files you want and File  Export.


 --
 GPG/PGP ID: C0711BF1



Re: Inserting Citations

2012-06-19 Thread William Hanson
Ray,

I've solved the problem (not being able to insert citations or references),
thanks to the advice you gave in your June 15 message.

The key to the solution was getting to the important stuff that is buried
in Mendeley Desktop.  Under Tools > Options > Document Details, the
Citation Key must be checked, as you said.  And under under Tools > Options
> BibTeX, the right choices must be made, including the right path to the
location where Mendeley had stored my bib files, again as you said.

The foregoing was made harder than it otherwise would have been because my
version of Mendeley Desktop has no 'Tags' or 'Keywords'.  All the stuff I
needed to fiddle with was under Tools > Options.

Many thanks,

Bill



On Fri, Jun 15, 2012 at 2:39 PM, Ray Rashif  wrote:

> On 15 June 2012 03:17, William Hanson  wrote:
> > Ray,
> >
> >
> > I'm trying to make progress by taking mini-steps.  In trying to execute
> one
> > of your recommendations, I've hit a snag.  Recently you said:
> >
> > "Choose an existing citation in your LyX document, note down its name
> > as seen there. For eg., "Michael1999". In Mendeley look for that
> > specific bibliographic entry, as close as you can remember. Then find
> > the field "Citation Key". The two must match."
> >
> > By "Mendeley" you mean Mendeley Desktop, right?  In the LyX document I'm
> > most concerned with I can find, e.g., the citation "[Hanson2006]". And in
> > Mendeley Desktop I can find the exact bibliographic entry to which this
> > citation refers.  But I don't see any field called "Citation Key" in
> > Mendeley Desktop.  So I'm stuck at this point.
>
> Both Mendeley Web and Desktop have a 'Citation Key' field. Otherwise,
> citations would have no unique identifier, and hence would not be
> usable in any application. In Web, it's Edit document details >
> Additional Fields.
>
> In Desktop, it's right below 'Tags' and 'Keywords'. If not, go to
> Options > Document Details and make sure 'Citation Key' is selected
> for every document type. It may be wise to make sure you're fully
> updated to the latest version of the program.
>
> > But moving on just one more mini-step, you continue the passage quoted
> above
> > as follows:
> >
> >
> > "If not, simply reselect the item in LyX bib dialogue from the
> > "Available Citations" pane and delete the old citation from the
> > "Selected Citations" pane"
> >
> > But this is what I'm simply unable to do, because I can't find any way to
> > get any file from my Mendeley Desktop into the "Available Citations"
> pane in
> > LyX.  If only I could do that, I'm pretty sure I could solve my original
> > problem, namely, getting all the :"[?]"s in the pdf replaced with real
> > references.
>
> Look in Options > BibTeX. I personally have these checked:
>
> Escape LaTeX special characters
> Enable BibTeX syncing
> Create one BibTeX file per collection
> And a path where Mendeley will store the bib file(s)
>
> You may choose not to sync, in which case simply select a folder or
> the files you want and File > Export.
>
>
> --
> GPG/PGP ID: C0711BF1
>


Re: Inserting Citations

2012-06-15 Thread Ray Rashif
On 15 June 2012 03:17, William Hanson whan...@umn.edu wrote:
 Ray,


 I'm trying to make progress by taking mini-steps.  In trying to execute one
 of your recommendations, I've hit a snag.  Recently you said:

 Choose an existing citation in your LyX document, note down its name
 as seen there. For eg., Michael1999. In Mendeley look for that
 specific bibliographic entry, as close as you can remember. Then find
 the field Citation Key. The two must match.

 By Mendeley you mean Mendeley Desktop, right?  In the LyX document I'm
 most concerned with I can find, e.g., the citation [Hanson2006]. And in
 Mendeley Desktop I can find the exact bibliographic entry to which this
 citation refers.  But I don't see any field called Citation Key in
 Mendeley Desktop.  So I'm stuck at this point.

Both Mendeley Web and Desktop have a 'Citation Key' field. Otherwise,
citations would have no unique identifier, and hence would not be
usable in any application. In Web, it's Edit document details 
Additional Fields.

In Desktop, it's right below 'Tags' and 'Keywords'. If not, go to
Options  Document Details and make sure 'Citation Key' is selected
for every document type. It may be wise to make sure you're fully
updated to the latest version of the program.

 But moving on just one more mini-step, you continue the passage quoted above
 as follows:


 If not, simply reselect the item in LyX bib dialogue from the
 Available Citations pane and delete the old citation from the
 Selected Citations pane

 But this is what I'm simply unable to do, because I can't find any way to
 get any file from my Mendeley Desktop into the Available Citations pane in
 LyX.  If only I could do that, I'm pretty sure I could solve my original
 problem, namely, getting all the :[?]s in the pdf replaced with real
 references.

Look in Options  BibTeX. I personally have these checked:

Escape LaTeX special characters
Enable BibTeX syncing
Create one BibTeX file per collection
And a path where Mendeley will store the bib file(s)

You may choose not to sync, in which case simply select a folder or
the files you want and File  Export.


--
GPG/PGP ID: C0711BF1


Re: Inserting Citations

2012-06-15 Thread Ray Rashif
On 15 June 2012 03:17, William Hanson whan...@umn.edu wrote:
 Ray,


 I'm trying to make progress by taking mini-steps.  In trying to execute one
 of your recommendations, I've hit a snag.  Recently you said:

 Choose an existing citation in your LyX document, note down its name
 as seen there. For eg., Michael1999. In Mendeley look for that
 specific bibliographic entry, as close as you can remember. Then find
 the field Citation Key. The two must match.

 By Mendeley you mean Mendeley Desktop, right?  In the LyX document I'm
 most concerned with I can find, e.g., the citation [Hanson2006]. And in
 Mendeley Desktop I can find the exact bibliographic entry to which this
 citation refers.  But I don't see any field called Citation Key in
 Mendeley Desktop.  So I'm stuck at this point.

Both Mendeley Web and Desktop have a 'Citation Key' field. Otherwise,
citations would have no unique identifier, and hence would not be
usable in any application. In Web, it's Edit document details 
Additional Fields.

In Desktop, it's right below 'Tags' and 'Keywords'. If not, go to
Options  Document Details and make sure 'Citation Key' is selected
for every document type. It may be wise to make sure you're fully
updated to the latest version of the program.

 But moving on just one more mini-step, you continue the passage quoted above
 as follows:


 If not, simply reselect the item in LyX bib dialogue from the
 Available Citations pane and delete the old citation from the
 Selected Citations pane

 But this is what I'm simply unable to do, because I can't find any way to
 get any file from my Mendeley Desktop into the Available Citations pane in
 LyX.  If only I could do that, I'm pretty sure I could solve my original
 problem, namely, getting all the :[?]s in the pdf replaced with real
 references.

Look in Options  BibTeX. I personally have these checked:

Escape LaTeX special characters
Enable BibTeX syncing
Create one BibTeX file per collection
And a path where Mendeley will store the bib file(s)

You may choose not to sync, in which case simply select a folder or
the files you want and File  Export.


--
GPG/PGP ID: C0711BF1


Re: Inserting Citations

2012-06-15 Thread Ray Rashif
On 15 June 2012 03:17, William Hanson  wrote:
> Ray,
>
>
> I'm trying to make progress by taking mini-steps.  In trying to execute one
> of your recommendations, I've hit a snag.  Recently you said:
>
> "Choose an existing citation in your LyX document, note down its name
> as seen there. For eg., "Michael1999". In Mendeley look for that
> specific bibliographic entry, as close as you can remember. Then find
> the field "Citation Key". The two must match."
>
> By "Mendeley" you mean Mendeley Desktop, right?  In the LyX document I'm
> most concerned with I can find, e.g., the citation "[Hanson2006]". And in
> Mendeley Desktop I can find the exact bibliographic entry to which this
> citation refers.  But I don't see any field called "Citation Key" in
> Mendeley Desktop.  So I'm stuck at this point.

Both Mendeley Web and Desktop have a 'Citation Key' field. Otherwise,
citations would have no unique identifier, and hence would not be
usable in any application. In Web, it's Edit document details >
Additional Fields.

In Desktop, it's right below 'Tags' and 'Keywords'. If not, go to
Options > Document Details and make sure 'Citation Key' is selected
for every document type. It may be wise to make sure you're fully
updated to the latest version of the program.

> But moving on just one more mini-step, you continue the passage quoted above
> as follows:
>
>
> "If not, simply reselect the item in LyX bib dialogue from the
> "Available Citations" pane and delete the old citation from the
> "Selected Citations" pane"
>
> But this is what I'm simply unable to do, because I can't find any way to
> get any file from my Mendeley Desktop into the "Available Citations" pane in
> LyX.  If only I could do that, I'm pretty sure I could solve my original
> problem, namely, getting all the :"[?]"s in the pdf replaced with real
> references.

Look in Options > BibTeX. I personally have these checked:

Escape LaTeX special characters
Enable BibTeX syncing
Create one BibTeX file per collection
And a path where Mendeley will store the bib file(s)

You may choose not to sync, in which case simply select a folder or
the files you want and File > Export.


--
GPG/PGP ID: C0711BF1


Re: Inserting Citations

2012-06-14 Thread Ray Rashif
On 14 June 2012 11:27, William Hanson whan...@umn.edu wrote:
 Ray,

 Thanks for your careful and detailed response.  Here are my answers to your
 1-4.

 1.  Yes, I had gathered as much.

 2.  I was not limited in the number of .bib files I could add when running
 LyX on my old computer.  But you're right.  This is minor and can wait.

 3.  Yes, this is not an issue.

 4.  No, I'm not dealing with  master-child documents.

Your main problem therefore are citations that appear with a question
mark (?). Correct?

1. The bib file you used on the old computer must be the same on the
new one. Is it? Can you guarantee so? You may want to use a checksum
utility [1] to verify that they both have the same checksums. Chances
are they are not, and if so, proceed to (2).

 NEW INFORMATION:  I now realize that the .bib file I used (on my old
 computer) for the most important of my old papers is in my Mendeley desktop
 on the new computer but not in my BibTeX folder. Yet I can't figure out how
 to move it to the BibTeX folder.  A Windows Explorer search of all my
 documents does not find it, and the Mendeley Desktop doesn't seem to have
 any way to move it.

The bottom line is that the keys in the LyX document must match the
keys in the '.bib' file(s). Mendeley here is a third-party, and all it
does is generate the BibTeX file for you when asked. If what you do is
select the bib file directly from the folder Mendeley exports to,
chances are that you're selecting a new version where in turn chances
are high that keys are not the same as before.

2. Open up _all_ the bib files with a text editor. Search for a known
author, which you have cited in one of your documents but appears as a
'?'. The key is right next to the first curly brace '{'. This key and
the key LyX shows you for that particular citation must match.
Otherwise, you've run into a mismatch. Proceed to (3).

If you're curious, you can manually change the key in the bib file to
match the one known to LyX. Then preview the document, the citation
should now be visible.

3.  Check your Mendeley Desktop settings for where it stores the bib
file. Copy that file into your working directory (where your relevant
LyX files are for this particular document or set of documents).
Update your LyX files now by re-selecting every broken citation.

It is best to not load in LyX bib files that are generated by a
third-party application with no LyX integration, because it may be
overwritten. Mendeley Desktop, for the record, overwrites exported
(bib) files. That's why there's a big thin warning at the top of the
file.

Personally, I prefer to do away with any kind of integration even when
my final step involves KBibTeX (which does support LyX). I always keep
my bib files separate from what's generating them, and they reside
standalone among the related LyX/LaTeX documents. When there are
changes I simply replace them and update my documents accordingly.


--
GPG/PGP ID: C0711BF1


Re: Inserting Citations

2012-06-14 Thread William Hanson
Ray,

I'm trying to make progress by taking mini-steps.  In trying to execute one
of your recommendations, I've hit a snag.  Recently you said:

Choose an existing citation in your LyX document, note down its name
as seen there. For eg., Michael1999. In Mendeley look for that
specific bibliographic entry, as close as you can remember. Then find
the field Citation Key. The two must match.

By Mendeley you mean Mendeley Desktop, right?  In the LyX document I'm
most concerned with I can find, e.g., the citation [Hanson2006]. And in
Mendeley Desktop I can find the exact bibliographic entry to which this
citation refers.  But I don't see any field called Citation Key in
Mendeley Desktop.  So I'm stuck at this point.

But moving on just one more mini-step, you continue the passage quoted
above as follows:

If not, simply reselect the item in LyX bib dialogue from the
Available Citations pane and delete the old citation from the
Selected Citations pane

But this is what I'm simply unable to do, because I can't find any way to
get any file from my Mendeley Desktop into the Available Citations pane
in LyX.  If only I could do that, I'm pretty sure I could solve my original
problem, namely, getting all the :[?]s in the pdf replaced with real
references.

Bill



On Thu, Jun 14, 2012 at 9:52 AM, Ray Rashif schivmeis...@gmail.com wrote:

 On 14 June 2012 11:27, William Hanson whan...@umn.edu wrote:
  Ray,
 
  Thanks for your careful and detailed response.  Here are my answers to
 your
  1-4.
 
  1.  Yes, I had gathered as much.
 
  2.  I was not limited in the number of .bib files I could add when
 running
  LyX on my old computer.  But you're right.  This is minor and can wait.
 
  3.  Yes, this is not an issue.
 
  4.  No, I'm not dealing with  master-child documents.

 Your main problem therefore are citations that appear with a question
 mark (?). Correct?

 1. The bib file you used on the old computer must be the same on the
 new one. Is it? Can you guarantee so? You may want to use a checksum
 utility [1] to verify that they both have the same checksums. Chances
 are they are not, and if so, proceed to (2).

  NEW INFORMATION:  I now realize that the .bib file I used (on my old
  computer) for the most important of my old papers is in my Mendeley
 desktop
  on the new computer but not in my BibTeX folder. Yet I can't figure out
 how
  to move it to the BibTeX folder.  A Windows Explorer search of all my
  documents does not find it, and the Mendeley Desktop doesn't seem to have
  any way to move it.

 The bottom line is that the keys in the LyX document must match the
 keys in the '.bib' file(s). Mendeley here is a third-party, and all it
 does is generate the BibTeX file for you when asked. If what you do is
 select the bib file directly from the folder Mendeley exports to,
 chances are that you're selecting a new version where in turn chances
 are high that keys are not the same as before.

 2. Open up _all_ the bib files with a text editor. Search for a known
 author, which you have cited in one of your documents but appears as a
 '?'. The key is right next to the first curly brace '{'. This key and
 the key LyX shows you for that particular citation must match.
 Otherwise, you've run into a mismatch. Proceed to (3).

 If you're curious, you can manually change the key in the bib file to
 match the one known to LyX. Then preview the document, the citation
 should now be visible.

 3.  Check your Mendeley Desktop settings for where it stores the bib
 file. Copy that file into your working directory (where your relevant
 LyX files are for this particular document or set of documents).
 Update your LyX files now by re-selecting every broken citation.

 It is best to not load in LyX bib files that are generated by a
 third-party application with no LyX integration, because it may be
 overwritten. Mendeley Desktop, for the record, overwrites exported
 (bib) files. That's why there's a big thin warning at the top of the
 file.

 Personally, I prefer to do away with any kind of integration even when
 my final step involves KBibTeX (which does support LyX). I always keep
 my bib files separate from what's generating them, and they reside
 standalone among the related LyX/LaTeX documents. When there are
 changes I simply replace them and update my documents accordingly.


 --
 GPG/PGP ID: C0711BF1



Re: Inserting Citations

2012-06-14 Thread Ray Rashif
On 14 June 2012 11:27, William Hanson whan...@umn.edu wrote:
 Ray,

 Thanks for your careful and detailed response.  Here are my answers to your
 1-4.

 1.  Yes, I had gathered as much.

 2.  I was not limited in the number of .bib files I could add when running
 LyX on my old computer.  But you're right.  This is minor and can wait.

 3.  Yes, this is not an issue.

 4.  No, I'm not dealing with  master-child documents.

Your main problem therefore are citations that appear with a question
mark (?). Correct?

1. The bib file you used on the old computer must be the same on the
new one. Is it? Can you guarantee so? You may want to use a checksum
utility [1] to verify that they both have the same checksums. Chances
are they are not, and if so, proceed to (2).

 NEW INFORMATION:  I now realize that the .bib file I used (on my old
 computer) for the most important of my old papers is in my Mendeley desktop
 on the new computer but not in my BibTeX folder. Yet I can't figure out how
 to move it to the BibTeX folder.  A Windows Explorer search of all my
 documents does not find it, and the Mendeley Desktop doesn't seem to have
 any way to move it.

The bottom line is that the keys in the LyX document must match the
keys in the '.bib' file(s). Mendeley here is a third-party, and all it
does is generate the BibTeX file for you when asked. If what you do is
select the bib file directly from the folder Mendeley exports to,
chances are that you're selecting a new version where in turn chances
are high that keys are not the same as before.

2. Open up _all_ the bib files with a text editor. Search for a known
author, which you have cited in one of your documents but appears as a
'?'. The key is right next to the first curly brace '{'. This key and
the key LyX shows you for that particular citation must match.
Otherwise, you've run into a mismatch. Proceed to (3).

If you're curious, you can manually change the key in the bib file to
match the one known to LyX. Then preview the document, the citation
should now be visible.

3.  Check your Mendeley Desktop settings for where it stores the bib
file. Copy that file into your working directory (where your relevant
LyX files are for this particular document or set of documents).
Update your LyX files now by re-selecting every broken citation.

It is best to not load in LyX bib files that are generated by a
third-party application with no LyX integration, because it may be
overwritten. Mendeley Desktop, for the record, overwrites exported
(bib) files. That's why there's a big thin warning at the top of the
file.

Personally, I prefer to do away with any kind of integration even when
my final step involves KBibTeX (which does support LyX). I always keep
my bib files separate from what's generating them, and they reside
standalone among the related LyX/LaTeX documents. When there are
changes I simply replace them and update my documents accordingly.


--
GPG/PGP ID: C0711BF1


Re: Inserting Citations

2012-06-14 Thread William Hanson
Ray,

I'm trying to make progress by taking mini-steps.  In trying to execute one
of your recommendations, I've hit a snag.  Recently you said:

Choose an existing citation in your LyX document, note down its name
as seen there. For eg., Michael1999. In Mendeley look for that
specific bibliographic entry, as close as you can remember. Then find
the field Citation Key. The two must match.

By Mendeley you mean Mendeley Desktop, right?  In the LyX document I'm
most concerned with I can find, e.g., the citation [Hanson2006]. And in
Mendeley Desktop I can find the exact bibliographic entry to which this
citation refers.  But I don't see any field called Citation Key in
Mendeley Desktop.  So I'm stuck at this point.

But moving on just one more mini-step, you continue the passage quoted
above as follows:

If not, simply reselect the item in LyX bib dialogue from the
Available Citations pane and delete the old citation from the
Selected Citations pane

But this is what I'm simply unable to do, because I can't find any way to
get any file from my Mendeley Desktop into the Available Citations pane
in LyX.  If only I could do that, I'm pretty sure I could solve my original
problem, namely, getting all the :[?]s in the pdf replaced with real
references.

Bill



On Thu, Jun 14, 2012 at 9:52 AM, Ray Rashif schivmeis...@gmail.com wrote:

 On 14 June 2012 11:27, William Hanson whan...@umn.edu wrote:
  Ray,
 
  Thanks for your careful and detailed response.  Here are my answers to
 your
  1-4.
 
  1.  Yes, I had gathered as much.
 
  2.  I was not limited in the number of .bib files I could add when
 running
  LyX on my old computer.  But you're right.  This is minor and can wait.
 
  3.  Yes, this is not an issue.
 
  4.  No, I'm not dealing with  master-child documents.

 Your main problem therefore are citations that appear with a question
 mark (?). Correct?

 1. The bib file you used on the old computer must be the same on the
 new one. Is it? Can you guarantee so? You may want to use a checksum
 utility [1] to verify that they both have the same checksums. Chances
 are they are not, and if so, proceed to (2).

  NEW INFORMATION:  I now realize that the .bib file I used (on my old
  computer) for the most important of my old papers is in my Mendeley
 desktop
  on the new computer but not in my BibTeX folder. Yet I can't figure out
 how
  to move it to the BibTeX folder.  A Windows Explorer search of all my
  documents does not find it, and the Mendeley Desktop doesn't seem to have
  any way to move it.

 The bottom line is that the keys in the LyX document must match the
 keys in the '.bib' file(s). Mendeley here is a third-party, and all it
 does is generate the BibTeX file for you when asked. If what you do is
 select the bib file directly from the folder Mendeley exports to,
 chances are that you're selecting a new version where in turn chances
 are high that keys are not the same as before.

 2. Open up _all_ the bib files with a text editor. Search for a known
 author, which you have cited in one of your documents but appears as a
 '?'. The key is right next to the first curly brace '{'. This key and
 the key LyX shows you for that particular citation must match.
 Otherwise, you've run into a mismatch. Proceed to (3).

 If you're curious, you can manually change the key in the bib file to
 match the one known to LyX. Then preview the document, the citation
 should now be visible.

 3.  Check your Mendeley Desktop settings for where it stores the bib
 file. Copy that file into your working directory (where your relevant
 LyX files are for this particular document or set of documents).
 Update your LyX files now by re-selecting every broken citation.

 It is best to not load in LyX bib files that are generated by a
 third-party application with no LyX integration, because it may be
 overwritten. Mendeley Desktop, for the record, overwrites exported
 (bib) files. That's why there's a big thin warning at the top of the
 file.

 Personally, I prefer to do away with any kind of integration even when
 my final step involves KBibTeX (which does support LyX). I always keep
 my bib files separate from what's generating them, and they reside
 standalone among the related LyX/LaTeX documents. When there are
 changes I simply replace them and update my documents accordingly.


 --
 GPG/PGP ID: C0711BF1



Re: Inserting Citations

2012-06-14 Thread Ray Rashif
On 14 June 2012 11:27, William Hanson  wrote:
> Ray,
>
> Thanks for your careful and detailed response.  Here are my answers to your
> 1-4.
>
> 1.  Yes, I had gathered as much.
>
> 2.  I was not limited in the number of .bib files I could add when running
> LyX on my old computer.  But you're right.  This is minor and can wait.
>
> 3.  Yes, this is not an issue.
>
> 4.  No, I'm not dealing with  master-child documents.

Your main problem therefore are citations that appear with a question
mark (?). Correct?

1. The bib file you used on the old computer must be the same on the
new one. Is it? Can you guarantee so? You may want to use a checksum
utility [1] to verify that they both have the same checksums. Chances
are they are not, and if so, proceed to (2).

> NEW INFORMATION:  I now realize that the .bib file I used (on my old
> computer) for the most important of my old papers is in my Mendeley desktop
> on the new computer but not in my BibTeX folder. Yet I can't figure out how
> to move it to the BibTeX folder.  A Windows Explorer search of all my
> documents does not find it, and the Mendeley Desktop doesn't seem to have
> any way to move it.

The bottom line is that the keys in the LyX document must match the
keys in the '.bib' file(s). Mendeley here is a third-party, and all it
does is generate the BibTeX file for you when asked. If what you do is
select the bib file directly from the folder Mendeley exports to,
chances are that you're selecting a new version where in turn chances
are high that keys are not the same as before.

2. Open up _all_ the bib files with a text editor. Search for a known
author, which you have cited in one of your documents but appears as a
'?'. The key is right next to the first curly brace '{'. This key and
the key LyX shows you for that particular citation must match.
Otherwise, you've run into a mismatch. Proceed to (3).

If you're curious, you can manually change the key in the bib file to
match the one known to LyX. Then preview the document, the citation
should now be visible.

3.  Check your Mendeley Desktop settings for where it stores the bib
file. Copy that file into your working directory (where your relevant
LyX files are for this particular document or set of documents).
Update your LyX files now by re-selecting every broken citation.

It is best to not load in LyX bib files that are generated by a
third-party application with no LyX integration, because it may be
overwritten. Mendeley Desktop, for the record, overwrites exported
(bib) files. That's why there's a big thin warning at the top of the
file.

Personally, I prefer to do away with any kind of integration even when
my final step involves KBibTeX (which does support LyX). I always keep
my bib files separate from what's generating them, and they reside
standalone among the related LyX/LaTeX documents. When there are
changes I simply replace them and update my documents accordingly.


--
GPG/PGP ID: C0711BF1


Re: Inserting Citations

2012-06-14 Thread William Hanson
Ray,

I'm trying to make progress by taking mini-steps.  In trying to execute one
of your recommendations, I've hit a snag.  Recently you said:

"Choose an existing citation in your LyX document, note down its name
as seen there. For eg., "Michael1999". In Mendeley look for that
specific bibliographic entry, as close as you can remember. Then find
the field "Citation Key". The two must match."

By "Mendeley" you mean Mendeley Desktop, right?  In the LyX document I'm
most concerned with I can find, e.g., the citation "[Hanson2006]". And in
Mendeley Desktop I can find the exact bibliographic entry to which this
citation refers.  But I don't see any field called "Citation Key" in
Mendeley Desktop.  So I'm stuck at this point.

But moving on just one more mini-step, you continue the passage quoted
above as follows:

"If not, simply reselect the item in LyX bib dialogue from the
"Available Citations" pane and delete the old citation from the
"Selected Citations" pane"

But this is what I'm simply unable to do, because I can't find any way to
get any file from my Mendeley Desktop into the "Available Citations" pane
in LyX.  If only I could do that, I'm pretty sure I could solve my original
problem, namely, getting all the :"[?]"s in the pdf replaced with real
references.

Bill



On Thu, Jun 14, 2012 at 9:52 AM, Ray Rashif  wrote:

> On 14 June 2012 11:27, William Hanson  wrote:
> > Ray,
> >
> > Thanks for your careful and detailed response.  Here are my answers to
> your
> > 1-4.
> >
> > 1.  Yes, I had gathered as much.
> >
> > 2.  I was not limited in the number of .bib files I could add when
> running
> > LyX on my old computer.  But you're right.  This is minor and can wait.
> >
> > 3.  Yes, this is not an issue.
> >
> > 4.  No, I'm not dealing with  master-child documents.
>
> Your main problem therefore are citations that appear with a question
> mark (?). Correct?
>
> 1. The bib file you used on the old computer must be the same on the
> new one. Is it? Can you guarantee so? You may want to use a checksum
> utility [1] to verify that they both have the same checksums. Chances
> are they are not, and if so, proceed to (2).
>
> > NEW INFORMATION:  I now realize that the .bib file I used (on my old
> > computer) for the most important of my old papers is in my Mendeley
> desktop
> > on the new computer but not in my BibTeX folder. Yet I can't figure out
> how
> > to move it to the BibTeX folder.  A Windows Explorer search of all my
> > documents does not find it, and the Mendeley Desktop doesn't seem to have
> > any way to move it.
>
> The bottom line is that the keys in the LyX document must match the
> keys in the '.bib' file(s). Mendeley here is a third-party, and all it
> does is generate the BibTeX file for you when asked. If what you do is
> select the bib file directly from the folder Mendeley exports to,
> chances are that you're selecting a new version where in turn chances
> are high that keys are not the same as before.
>
> 2. Open up _all_ the bib files with a text editor. Search for a known
> author, which you have cited in one of your documents but appears as a
> '?'. The key is right next to the first curly brace '{'. This key and
> the key LyX shows you for that particular citation must match.
> Otherwise, you've run into a mismatch. Proceed to (3).
>
> If you're curious, you can manually change the key in the bib file to
> match the one known to LyX. Then preview the document, the citation
> should now be visible.
>
> 3.  Check your Mendeley Desktop settings for where it stores the bib
> file. Copy that file into your working directory (where your relevant
> LyX files are for this particular document or set of documents).
> Update your LyX files now by re-selecting every broken citation.
>
> It is best to not load in LyX bib files that are generated by a
> third-party application with no LyX integration, because it may be
> overwritten. Mendeley Desktop, for the record, overwrites exported
> (bib) files. That's why there's a big thin warning at the top of the
> file.
>
> Personally, I prefer to do away with any kind of integration even when
> my final step involves KBibTeX (which does support LyX). I always keep
> my bib files separate from what's generating them, and they reside
> standalone among the related LyX/LaTeX documents. When there are
> changes I simply replace them and update my documents accordingly.
>
>
> --
> GPG/PGP ID: C0711BF1
>


Re: Inserting Citations

2012-06-13 Thread William Hanson
Ray,

Below you suggest:   just reselect your bib files by browsing to the
correct ones.  That's what I've been doing but it doesn't work. the
problem, as I've described it, still exists.

You also suggest:  check to make sure there is no key mismatch. You
might've changed things in Mendeley which changed the keys, which are  now
no longer the same as the keys known to bibtex (because they  retain the
keys of the first ever bib file processed).  I don't know what you mean by
a key or a key mismatch in this context.

Bill



On Wed, Jun 13, 2012 at 12:44 AM, Ray Rashif schivmeis...@gmail.com wrote:

 On 13 June 2012 04:58, William Hanson whan...@umn.edu wrote:
  My problem is not primarily with creating new documents.  It is mainly
 with
  getting existing LyX documents (that have been transferred to my new
  computer) to appear with the references in them when LyX creates pdf
 files
  from them.  At present the pdf versions of these documents have no
  references at the end, and every citation in the text is replaced with a
  question mark inside of square brackets.  I have been partly successful
 in
  doing what Ray suggests with NEW documents:
 
 
  Start LyX, create a new empty document, insert  list  bibliography,
  select your four bib files, press OK, now type something and press the
  Bib icon, you should be able to select an entry from all four bib
  files. Now preview the document. You should see foo [n] or foo
  (xyz, d), and just one entry in the references. If you cannot
  reproduce this, you are looking at a bug, most probably in your
  installation.
 
  However,
  (1) I can't add more than two of my four .bib files to any new or
 existing
  document.  The program simply ignores the third and fourth.
  (2) When I do succeed in adding one or two .bib files to an existing
  document, some but not all of the citations in the body of the document
  connect to the cited reference, even though that reference is in the .bib
  files that have been added to the document.  These renegade citations
 still
  show up as [?] in the pdf.

 This is what's important. That happens when your document cannot find
 the particular key or file. In these old documents, just reselect your
 bib files by browsing to the correct ones. It might help if you could
 shift these files to a directory with or below your lyx file, then
 change the path to be relative (like ../foo.bib).

 Other than that, check to make sure there is no key mismatch. You
 might've changed things in Mendeley which changed the keys, which are
 now no longer the same as the keys known to bibtex (because they
 retain the keys of the first ever bib file processed). In that case
 you'd have to reselect your citations.


 --
 GPG/PGP ID: C0711BF1



Re: Inserting Citations

2012-06-13 Thread Ray Rashif
On 14 June 2012 04:07, William Hanson whan...@umn.edu wrote:
 Ray,

 Below you suggest:   just reselect your bib files by browsing to the
 correct ones.  That's what I've been doing but it doesn't work. the
 problem, as I've described it, still exists.

 You also suggest:  check to make sure there is no key mismatch. You
 might've changed things in Mendeley which changed the keys, which are  now
 no longer the same as the keys known to bibtex (because they  retain the
 keys of the first ever bib file processed).  I don't know what you mean by
 a key or a key mismatch in this context.

Choose an existing citation in your LyX document, note down its name
as seen there. For eg., Michael1999. In Mendeley look for that
specific bibliographic entry, as close as you can remember. Then find
the field Citation Key. The two must match.

If not, simply reselect the item in LyX bib dialogue from the
Available Citations pane and delete the old citation from the
Selected Citations pane. But, let's just run through your initial
complaint so that you know what to expect from LyX.

1. No matter which of my four .bib files I add, I'll get only one or
two References showing up in the final pdf.

This means the LyX document finds your bib file(s), but is having
trouble with some/most of the citations.

Any citation with a '?' will not have a corresponding reference entry
below. Only valid citations that show up properly in the PDF output
will have a reference entry in the backmatter.

2. I don't seem to be able to add more than one of my four .bib files.

This should not happen. You should be able to add as many bib files as
you like, as far as I am aware. It may be wise to file a bug report,
but not before you solve the rest of your problems here. As such, see
this as a different issue for now, and leave it alone / forget about
it.

3. References that do show up are specific to that particular document.

This is correct. How else would you like it?

4. When I go to another LyX document and try to add a reference the
Available Citation field is empty again.

Correct. You need to re-insert a bibliography and select the desired
bib files, for every new document. Only master-child documents can
share bibliographies. You have not mentioned anything about master or
child documents, so we assume you're not dealing with those.


--
GPG/PGP ID: C0711BF1


Re: Inserting Citations

2012-06-13 Thread William Hanson
Ray,

Thanks for your careful and detailed response.  Here are my answers to your
1-4.

1.  Yes, I had gathered as much.

2.  I was not limited in the number of .bib files I could add when running
LyX on my old computer.  But you're right.  This is minor and can wait.

3.  Yes, this is not an issue.

4.  No, I'm not dealing with  master-child documents.

NEW INFORMATION:  I now realize that the .bib file I used (on my old
computer) for the most important of my old papers is in my Mendeley desktop
on the new computer but not in my BibTeX folder. Yet I can't figure out how
to move it to the BibTeX folder.  A Windows Explorer search of all my
documents does not find it, and the Mendeley Desktop doesn't seem to have
any way to move it.

Bill


On Wed, Jun 13, 2012 at 3:47 PM, Ray Rashif schivmeis...@gmail.com wrote:

 On 14 June 2012 04:07, William Hanson whan...@umn.edu wrote:
  Ray,
 
  Below you suggest:   just reselect your bib files by browsing to the
  correct ones.  That's what I've been doing but it doesn't work. the
  problem, as I've described it, still exists.
 
  You also suggest:  check to make sure there is no key mismatch. You
  might've changed things in Mendeley which changed the keys, which are
 now
  no longer the same as the keys known to bibtex (because they  retain the
  keys of the first ever bib file processed).  I don't know what you mean
 by
  a key or a key mismatch in this context.

 Choose an existing citation in your LyX document, note down its name
 as seen there. For eg., Michael1999. In Mendeley look for that
 specific bibliographic entry, as close as you can remember. Then find
 the field Citation Key. The two must match.

 If not, simply reselect the item in LyX bib dialogue from the
 Available Citations pane and delete the old citation from the
 Selected Citations pane. But, let's just run through your initial
 complaint so that you know what to expect from LyX.

 1. No matter which of my four .bib files I add, I'll get only one or
 two References showing up in the final pdf.

 This means the LyX document finds your bib file(s), but is having
 trouble with some/most of the citations.

 Any citation with a '?' will not have a corresponding reference entry
 below. Only valid citations that show up properly in the PDF output
 will have a reference entry in the backmatter.

 2. I don't seem to be able to add more than one of my four .bib files.

 This should not happen. You should be able to add as many bib files as
 you like, as far as I am aware. It may be wise to file a bug report,
 but not before you solve the rest of your problems here. As such, see
 this as a different issue for now, and leave it alone / forget about
 it.

 3. References that do show up are specific to that particular document.

 This is correct. How else would you like it?

 4. When I go to another LyX document and try to add a reference the
 Available Citation field is empty again.

 Correct. You need to re-insert a bibliography and select the desired
 bib files, for every new document. Only master-child documents can
 share bibliographies. You have not mentioned anything about master or
 child documents, so we assume you're not dealing with those.


 --
 GPG/PGP ID: C0711BF1



Re: Inserting Citations

2012-06-13 Thread William Hanson
Ray,

Below you suggest:   just reselect your bib files by browsing to the
correct ones.  That's what I've been doing but it doesn't work. the
problem, as I've described it, still exists.

You also suggest:  check to make sure there is no key mismatch. You
might've changed things in Mendeley which changed the keys, which are  now
no longer the same as the keys known to bibtex (because they  retain the
keys of the first ever bib file processed).  I don't know what you mean by
a key or a key mismatch in this context.

Bill



On Wed, Jun 13, 2012 at 12:44 AM, Ray Rashif schivmeis...@gmail.com wrote:

 On 13 June 2012 04:58, William Hanson whan...@umn.edu wrote:
  My problem is not primarily with creating new documents.  It is mainly
 with
  getting existing LyX documents (that have been transferred to my new
  computer) to appear with the references in them when LyX creates pdf
 files
  from them.  At present the pdf versions of these documents have no
  references at the end, and every citation in the text is replaced with a
  question mark inside of square brackets.  I have been partly successful
 in
  doing what Ray suggests with NEW documents:
 
 
  Start LyX, create a new empty document, insert  list  bibliography,
  select your four bib files, press OK, now type something and press the
  Bib icon, you should be able to select an entry from all four bib
  files. Now preview the document. You should see foo [n] or foo
  (xyz, d), and just one entry in the references. If you cannot
  reproduce this, you are looking at a bug, most probably in your
  installation.
 
  However,
  (1) I can't add more than two of my four .bib files to any new or
 existing
  document.  The program simply ignores the third and fourth.
  (2) When I do succeed in adding one or two .bib files to an existing
  document, some but not all of the citations in the body of the document
  connect to the cited reference, even though that reference is in the .bib
  files that have been added to the document.  These renegade citations
 still
  show up as [?] in the pdf.

 This is what's important. That happens when your document cannot find
 the particular key or file. In these old documents, just reselect your
 bib files by browsing to the correct ones. It might help if you could
 shift these files to a directory with or below your lyx file, then
 change the path to be relative (like ../foo.bib).

 Other than that, check to make sure there is no key mismatch. You
 might've changed things in Mendeley which changed the keys, which are
 now no longer the same as the keys known to bibtex (because they
 retain the keys of the first ever bib file processed). In that case
 you'd have to reselect your citations.


 --
 GPG/PGP ID: C0711BF1



Re: Inserting Citations

2012-06-13 Thread Ray Rashif
On 14 June 2012 04:07, William Hanson whan...@umn.edu wrote:
 Ray,

 Below you suggest:   just reselect your bib files by browsing to the
 correct ones.  That's what I've been doing but it doesn't work. the
 problem, as I've described it, still exists.

 You also suggest:  check to make sure there is no key mismatch. You
 might've changed things in Mendeley which changed the keys, which are  now
 no longer the same as the keys known to bibtex (because they  retain the
 keys of the first ever bib file processed).  I don't know what you mean by
 a key or a key mismatch in this context.

Choose an existing citation in your LyX document, note down its name
as seen there. For eg., Michael1999. In Mendeley look for that
specific bibliographic entry, as close as you can remember. Then find
the field Citation Key. The two must match.

If not, simply reselect the item in LyX bib dialogue from the
Available Citations pane and delete the old citation from the
Selected Citations pane. But, let's just run through your initial
complaint so that you know what to expect from LyX.

1. No matter which of my four .bib files I add, I'll get only one or
two References showing up in the final pdf.

This means the LyX document finds your bib file(s), but is having
trouble with some/most of the citations.

Any citation with a '?' will not have a corresponding reference entry
below. Only valid citations that show up properly in the PDF output
will have a reference entry in the backmatter.

2. I don't seem to be able to add more than one of my four .bib files.

This should not happen. You should be able to add as many bib files as
you like, as far as I am aware. It may be wise to file a bug report,
but not before you solve the rest of your problems here. As such, see
this as a different issue for now, and leave it alone / forget about
it.

3. References that do show up are specific to that particular document.

This is correct. How else would you like it?

4. When I go to another LyX document and try to add a reference the
Available Citation field is empty again.

Correct. You need to re-insert a bibliography and select the desired
bib files, for every new document. Only master-child documents can
share bibliographies. You have not mentioned anything about master or
child documents, so we assume you're not dealing with those.


--
GPG/PGP ID: C0711BF1


Re: Inserting Citations

2012-06-13 Thread William Hanson
Ray,

Thanks for your careful and detailed response.  Here are my answers to your
1-4.

1.  Yes, I had gathered as much.

2.  I was not limited in the number of .bib files I could add when running
LyX on my old computer.  But you're right.  This is minor and can wait.

3.  Yes, this is not an issue.

4.  No, I'm not dealing with  master-child documents.

NEW INFORMATION:  I now realize that the .bib file I used (on my old
computer) for the most important of my old papers is in my Mendeley desktop
on the new computer but not in my BibTeX folder. Yet I can't figure out how
to move it to the BibTeX folder.  A Windows Explorer search of all my
documents does not find it, and the Mendeley Desktop doesn't seem to have
any way to move it.

Bill


On Wed, Jun 13, 2012 at 3:47 PM, Ray Rashif schivmeis...@gmail.com wrote:

 On 14 June 2012 04:07, William Hanson whan...@umn.edu wrote:
  Ray,
 
  Below you suggest:   just reselect your bib files by browsing to the
  correct ones.  That's what I've been doing but it doesn't work. the
  problem, as I've described it, still exists.
 
  You also suggest:  check to make sure there is no key mismatch. You
  might've changed things in Mendeley which changed the keys, which are
 now
  no longer the same as the keys known to bibtex (because they  retain the
  keys of the first ever bib file processed).  I don't know what you mean
 by
  a key or a key mismatch in this context.

 Choose an existing citation in your LyX document, note down its name
 as seen there. For eg., Michael1999. In Mendeley look for that
 specific bibliographic entry, as close as you can remember. Then find
 the field Citation Key. The two must match.

 If not, simply reselect the item in LyX bib dialogue from the
 Available Citations pane and delete the old citation from the
 Selected Citations pane. But, let's just run through your initial
 complaint so that you know what to expect from LyX.

 1. No matter which of my four .bib files I add, I'll get only one or
 two References showing up in the final pdf.

 This means the LyX document finds your bib file(s), but is having
 trouble with some/most of the citations.

 Any citation with a '?' will not have a corresponding reference entry
 below. Only valid citations that show up properly in the PDF output
 will have a reference entry in the backmatter.

 2. I don't seem to be able to add more than one of my four .bib files.

 This should not happen. You should be able to add as many bib files as
 you like, as far as I am aware. It may be wise to file a bug report,
 but not before you solve the rest of your problems here. As such, see
 this as a different issue for now, and leave it alone / forget about
 it.

 3. References that do show up are specific to that particular document.

 This is correct. How else would you like it?

 4. When I go to another LyX document and try to add a reference the
 Available Citation field is empty again.

 Correct. You need to re-insert a bibliography and select the desired
 bib files, for every new document. Only master-child documents can
 share bibliographies. You have not mentioned anything about master or
 child documents, so we assume you're not dealing with those.


 --
 GPG/PGP ID: C0711BF1



Re: Inserting Citations

2012-06-13 Thread William Hanson
Ray,

Below you suggest:  " just reselect your bib files by browsing to the
correct ones."  That's what I've been doing but it doesn't work. the
problem, as I've described it, still exists.

You also suggest:  "check to make sure there is no key mismatch. You
might've changed things in Mendeley which changed the keys, which are  now
no longer the same as the keys known to bibtex (because they  retain the
keys of the first ever bib file processed)."  I don't know what you mean by
a key or a key mismatch in this context.

Bill



On Wed, Jun 13, 2012 at 12:44 AM, Ray Rashif  wrote:

> On 13 June 2012 04:58, William Hanson  wrote:
> > My problem is not primarily with creating new documents.  It is mainly
> with
> > getting existing LyX documents (that have been transferred to my new
> > computer) to appear with the references in them when LyX creates pdf
> files
> > from them.  At present the pdf versions of these documents have no
> > references at the end, and every citation in the text is replaced with a
> > question mark inside of square brackets.  I have been partly successful
> in
> > doing what Ray suggests with NEW documents:
> >
> >
> > Start LyX, create a new empty document, insert > list > bibliography,
> > select your four bib files, press OK, now type something and press the
> > Bib icon, you should be able to select an entry from all four bib
> > files. Now preview the document. You should see "foo [n]" or "foo
> > (xyz, d)", and just one entry in the references. If you cannot
> > reproduce this, you are looking at a bug, most probably in your
> > installation.
> >
> > However,
> > (1) I can't add more than two of my four .bib files to any new or
> existing
> > document.  The program simply ignores the third and fourth.
> > (2) When I do succeed in adding one or two .bib files to an existing
> > document, some but not all of the citations in the body of the document
> > connect to the cited reference, even though that reference is in the .bib
> > files that have been added to the document.  These renegade citations
> still
> > show up as [?] in the pdf.
>
> This is what's important. That happens when your document cannot find
> the particular key or file. In these old documents, just reselect your
> bib files by browsing to the correct ones. It might help if you could
> shift these files to a directory with or below your lyx file, then
> change the path to be relative (like ../foo.bib).
>
> Other than that, check to make sure there is no key mismatch. You
> might've changed things in Mendeley which changed the keys, which are
> now no longer the same as the keys known to bibtex (because they
> retain the keys of the first ever bib file processed). In that case
> you'd have to reselect your citations.
>
>
> --
> GPG/PGP ID: C0711BF1
>


Re: Inserting Citations

2012-06-13 Thread Ray Rashif
On 14 June 2012 04:07, William Hanson  wrote:
> Ray,
>
> Below you suggest:  " just reselect your bib files by browsing to the
> correct ones."  That's what I've been doing but it doesn't work. the
> problem, as I've described it, still exists.
>
> You also suggest:  "check to make sure there is no key mismatch. You
> might've changed things in Mendeley which changed the keys, which are  now
> no longer the same as the keys known to bibtex (because they  retain the
> keys of the first ever bib file processed)."  I don't know what you mean by
> a key or a key mismatch in this context.

Choose an existing citation in your LyX document, note down its name
as seen there. For eg., "Michael1999". In Mendeley look for that
specific bibliographic entry, as close as you can remember. Then find
the field "Citation Key". The two must match.

If not, simply reselect the item in LyX bib dialogue from the
"Available Citations" pane and delete the old citation from the
"Selected Citations" pane. But, let's just run through your initial
complaint so that you know what to expect from LyX.

1. "No matter which of my four .bib files I add, I'll get only one or
two References showing up in the final pdf."

This means the LyX document finds your bib file(s), but is having
trouble with some/most of the citations.

Any citation with a '?' will not have a corresponding reference entry
below. Only valid citations that show up properly in the PDF output
will have a reference entry in the backmatter.

2. "I don't seem to be able to add more than one of my four .bib files."

This should not happen. You should be able to add as many bib files as
you like, as far as I am aware. It may be wise to file a bug report,
but not before you solve the rest of your problems here. As such, see
this as a different issue for now, and leave it alone / forget about
it.

3. "References that do show up are specific to that particular document."

This is correct. How else would you like it?

4. "When I go to another LyX document and try to add a reference the
Available Citation field is empty again."

Correct. You need to re-insert a bibliography and select the desired
bib files, for every new document. Only master-child documents can
share bibliographies. You have not mentioned anything about master or
child documents, so we assume you're not dealing with those.


--
GPG/PGP ID: C0711BF1


Re: Inserting Citations

2012-06-13 Thread William Hanson
Ray,

Thanks for your careful and detailed response.  Here are my answers to your
1-4.

1.  Yes, I had gathered as much.

2.  I was not limited in the number of .bib files I could add when running
LyX on my old computer.  But you're right.  This is minor and can wait.

3.  Yes, this is not an issue.

4.  No, I'm not dealing with  master-child documents.

NEW INFORMATION:  I now realize that the .bib file I used (on my old
computer) for the most important of my old papers is in my Mendeley desktop
on the new computer but not in my BibTeX folder. Yet I can't figure out how
to move it to the BibTeX folder.  A Windows Explorer search of all my
documents does not find it, and the Mendeley Desktop doesn't seem to have
any way to move it.

Bill


On Wed, Jun 13, 2012 at 3:47 PM, Ray Rashif  wrote:

> On 14 June 2012 04:07, William Hanson  wrote:
> > Ray,
> >
> > Below you suggest:  " just reselect your bib files by browsing to the
> > correct ones."  That's what I've been doing but it doesn't work. the
> > problem, as I've described it, still exists.
> >
> > You also suggest:  "check to make sure there is no key mismatch. You
> > might've changed things in Mendeley which changed the keys, which are
> now
> > no longer the same as the keys known to bibtex (because they  retain the
> > keys of the first ever bib file processed)."  I don't know what you mean
> by
> > a key or a key mismatch in this context.
>
> Choose an existing citation in your LyX document, note down its name
> as seen there. For eg., "Michael1999". In Mendeley look for that
> specific bibliographic entry, as close as you can remember. Then find
> the field "Citation Key". The two must match.
>
> If not, simply reselect the item in LyX bib dialogue from the
> "Available Citations" pane and delete the old citation from the
> "Selected Citations" pane. But, let's just run through your initial
> complaint so that you know what to expect from LyX.
>
> 1. "No matter which of my four .bib files I add, I'll get only one or
> two References showing up in the final pdf."
>
> This means the LyX document finds your bib file(s), but is having
> trouble with some/most of the citations.
>
> Any citation with a '?' will not have a corresponding reference entry
> below. Only valid citations that show up properly in the PDF output
> will have a reference entry in the backmatter.
>
> 2. "I don't seem to be able to add more than one of my four .bib files."
>
> This should not happen. You should be able to add as many bib files as
> you like, as far as I am aware. It may be wise to file a bug report,
> but not before you solve the rest of your problems here. As such, see
> this as a different issue for now, and leave it alone / forget about
> it.
>
> 3. "References that do show up are specific to that particular document."
>
> This is correct. How else would you like it?
>
> 4. "When I go to another LyX document and try to add a reference the
> Available Citation field is empty again."
>
> Correct. You need to re-insert a bibliography and select the desired
> bib files, for every new document. Only master-child documents can
> share bibliographies. You have not mentioned anything about master or
> child documents, so we assume you're not dealing with those.
>
>
> --
> GPG/PGP ID: C0711BF1
>


Re: Inserting Citations

2012-06-12 Thread William Hanson
To All,

I'm still having trouble getting LyX 2.0.3 to allow me to insert citations
into documents created on a new Dell (running Windows 7).  (My old HP,
which runs Windows XP, has no trouble doing this). On the Dell LyX works
just fine until I click the Insert Citation tab.  It brings up the usual
LyX: Citation window, but the Available Citation field is empty.

However, my BibTeX folder contains four non-empty BibTeX Database (.bib)
files (the same ones I used earlier on the HP, and which I transferred to
the Dell via Mendeley).  I've tried making my .bib files available to LyX
using  insert  list / TOC  BibTeX bibliography.  But no matter which of
my four .bib files I add, I'll get only one or two References showing up in
the final pdf.  And I don't seem to be able to add more than one of my four
.bib files.  Also the references that do show up are specific to that
particular document.  When I go to another LyX document and try to add a
reference the Available Citation field is empty again.

For more information on the problem, see the correspondence below.

Bill Hanson




On Mon, Jun 11, 2012 at 11:26 PM, Scott Kostyshak skost...@princeton.eduwrote:

  *From:* William Hanson [whan...@umn.edu]
  *Sent:* Tuesday, June 12, 2012 12:08 AM
 **
  Bill,

 Please respond to the list so that others can see your message. This is
 good so that
 (1) if we get a solution it will be searchable by others that have this
 problem in the future
 (2) if we find a solution others will not be working to try to solve your
 problem when it is already solved, and
 (3) most people on this list know a lot more than I do so you're much more
 likely to get a solution.


 Thanks.  My BibTeX bibliography is empty, so that's the problem.  But I
 can't seem to get my .bib files into it.  I don't know what you mean when
 you say I should make sure my BibTeX folder is in the path.  What path?

 I don't know how to deal with this issue for Windows. You could search
 (using windows search) for files in your tex distribution (for example,
 search for .bib files) and put your BibTeX files there and hopefully that
 would be in the path. Or see below.


 When I click rescan nothing happens.  Clicking browse takes me to
 what looks like Windows Explorer, but it won't let me do anything with my
 BibTeX folder.  So I'm still stuck.

 This should work. What do you mean that it won't let you do anything with
 your BibTeX folder? You need to add the individual .bib files. Also, they
 must have the .bib extension otherwise they will not be found in that
 window. If they do not have the extension, you can just rename the files to
 add the extension to them.

 Does that work?

 Also, what version of LyX are you using?

 Scott



Re: Inserting Citations

2012-06-12 Thread Manolo Martínez
Bill,

Once you insert a BibTex bibliography, you can click the BibTex
Generated Bibliography grey rectangle and add more databases with the
Add button at the top right corner of the dialog box that appears.
Probably, you need more than one of your databases. Try adding all four.

Cheers,
Manolo

On 06/12/12 at 01:05pm, William Hanson wrote:
 To All,
 
 I'm still having trouble getting LyX 2.0.3 to allow me to insert citations
 into documents created on a new Dell (running Windows 7).  (My old HP,
 which runs Windows XP, has no trouble doing this). On the Dell LyX works
 just fine until I click the Insert Citation tab.  It brings up the usual
 LyX: Citation window, but the Available Citation field is empty.
 
 However, my BibTeX folder contains four non-empty BibTeX Database (.bib)
 files (the same ones I used earlier on the HP, and which I transferred to
 the Dell via Mendeley).  I've tried making my .bib files available to LyX
 using  insert  list / TOC  BibTeX bibliography.  But no matter which of
 my four .bib files I add, I'll get only one or two References showing up in
 the final pdf.  And I don't seem to be able to add more than one of my four
 .bib files.  Also the references that do show up are specific to that
 particular document.  When I go to another LyX document and try to add a
 reference the Available Citation field is empty again.
 
 For more information on the problem, see the correspondence below.
 
 Bill Hanson
 
 
 
 
 On Mon, Jun 11, 2012 at 11:26 PM, Scott Kostyshak 
 skost...@princeton.eduwrote:
 
   *From:* William Hanson [whan...@umn.edu]
   *Sent:* Tuesday, June 12, 2012 12:08 AM
  **
   Bill,
 
  Please respond to the list so that others can see your message. This is
  good so that
  (1) if we get a solution it will be searchable by others that have this
  problem in the future
  (2) if we find a solution others will not be working to try to solve your
  problem when it is already solved, and
  (3) most people on this list know a lot more than I do so you're much more
  likely to get a solution.
 
 
  Thanks.  My BibTeX bibliography is empty, so that's the problem.  But I
  can't seem to get my .bib files into it.  I don't know what you mean when
  you say I should make sure my BibTeX folder is in the path.  What path?
 
  I don't know how to deal with this issue for Windows. You could search
  (using windows search) for files in your tex distribution (for example,
  search for .bib files) and put your BibTeX files there and hopefully that
  would be in the path. Or see below.
 
 
  When I click rescan nothing happens.  Clicking browse takes me to
  what looks like Windows Explorer, but it won't let me do anything with my
  BibTeX folder.  So I'm still stuck.
 
  This should work. What do you mean that it won't let you do anything with
  your BibTeX folder? You need to add the individual .bib files. Also, they
  must have the .bib extension otherwise they will not be found in that
  window. If they do not have the extension, you can just rename the files to
  add the extension to them.
 
  Does that work?
 
  Also, what version of LyX are you using?
 
  Scott
 

-- 


Re: Inserting Citations

2012-06-12 Thread Ray Rashif
On 13 June 2012 02:05, William Hanson whan...@umn.edu wrote:
 To All,

 I'm still having trouble getting LyX 2.0.3 to allow me to insert citations
 into documents created on a new Dell (running Windows 7).  (My old HP, which
 runs Windows XP, has no trouble doing this). On the Dell LyX works just fine
 until I click the Insert Citation tab.  It brings up the usual LyX: Citation
 window, but the Available Citation field is empty.

 However, my BibTeX folder contains four non-empty BibTeX Database (.bib)
 files (the same ones I used earlier on the HP, and which I transferred to
 the Dell via Mendeley).  I've tried making my .bib files available to LyX
 using  insert  list / TOC  BibTeX bibliography.  But no matter which of my
 four .bib files I add, I'll get only one or two References showing up in the
 final pdf.  And I don't seem to be able to add more than one of my four .bib
 files.  Also the references that do show up are specific to that particular
 document.  When I go to another LyX document and try to add a reference the
 Available Citation field is empty again.

All bibliographic data are available on a per-document basis, and
references will only appear _as cited_. This means there will not be
any reference entry at the end of the document for any works _not_
cited. For child documents, citations can be seen only in the master
preview.

Start LyX, create a new empty document, insert  list  bibliography,
select your four bib files, press OK, now type something and press the
Bib icon, you should be able to select an entry from all four bib
files. Now preview the document. You should see foo [n] or foo
(xyz, d), and just one entry in the references. If you cannot
reproduce this, you are looking at a bug, most probably in your
installation.


--
GPG/PGP ID: C0711BF1


Re: Inserting Citations

2012-06-12 Thread William Hanson
Manolo,

Thanks, but I don't see any BibTex Generated Bibliography grey
rectangle.

Bill

On Tue, Jun 12, 2012 at 1:10 PM, Manolo Martínez
man...@austrohungaro.comwrote:

 Bill,

 Once you insert a BibTex bibliography, you can click the BibTex
 Generated Bibliography grey rectangle and add more databases with the
 Add button at the top right corner of the dialog box that appears.
 Probably, you need more than one of your databases. Try adding all four.

 Cheers,
 Manolo

 On 06/12/12 at 01:05pm, William Hanson wrote:
  To All,
 
  I'm still having trouble getting LyX 2.0.3 to allow me to insert
 citations
  into documents created on a new Dell (running Windows 7).  (My old HP,
  which runs Windows XP, has no trouble doing this). On the Dell LyX works
  just fine until I click the Insert Citation tab.  It brings up the usual
  LyX: Citation window, but the Available Citation field is empty.
 
  However, my BibTeX folder contains four non-empty BibTeX Database (.bib)
  files (the same ones I used earlier on the HP, and which I transferred to
  the Dell via Mendeley).  I've tried making my .bib files available to LyX
  using  insert  list / TOC  BibTeX bibliography.  But no matter which of
  my four .bib files I add, I'll get only one or two References showing up
 in
  the final pdf.  And I don't seem to be able to add more than one of my
 four
  .bib files.  Also the references that do show up are specific to that
  particular document.  When I go to another LyX document and try to add a
  reference the Available Citation field is empty again.
 
  For more information on the problem, see the correspondence below.
 
  Bill Hanson
 
 
 
 
  On Mon, Jun 11, 2012 at 11:26 PM, Scott Kostyshak 
 skost...@princeton.eduwrote:
 
*From:* William Hanson [whan...@umn.edu]
*Sent:* Tuesday, June 12, 2012 12:08 AM
   **
Bill,
  
   Please respond to the list so that others can see your message. This is
   good so that
   (1) if we get a solution it will be searchable by others that have this
   problem in the future
   (2) if we find a solution others will not be working to try to solve
 your
   problem when it is already solved, and
   (3) most people on this list know a lot more than I do so you're much
 more
   likely to get a solution.
  
  
   Thanks.  My BibTeX bibliography is empty, so that's the problem.  But
 I
   can't seem to get my .bib files into it.  I don't know what you mean
 when
   you say I should make sure my BibTeX folder is in the path.  What
 path?
  
   I don't know how to deal with this issue for Windows. You could search
   (using windows search) for files in your tex distribution (for example,
   search for .bib files) and put your BibTeX files there and hopefully
 that
   would be in the path. Or see below.
  
  
   When I click rescan nothing happens.  Clicking browse takes me to
   what looks like Windows Explorer, but it won't let me do anything
 with my
   BibTeX folder.  So I'm still stuck.
  
   This should work. What do you mean that it won't let you do anything
 with
   your BibTeX folder? You need to add the individual .bib files. Also,
 they
   must have the .bib extension otherwise they will not be found in that
   window. If they do not have the extension, you can just rename the
 files to
   add the extension to them.
  
   Does that work?
  
   Also, what version of LyX are you using?
  
   Scott
  

 --



Re: Inserting Citations

2012-06-12 Thread Manolo Martínez
On 06/12/12 at 02:44pm, William Hanson wrote:
 Manolo,
 
 Thanks, but I don't see any BibTex Generated Bibliography grey
 rectangle.
 
When you Insert  List/TOC  BibTex Bibliography, a dialog box appears,
doesn't it? Do you Add a database then? (that is: click Add; click
Browse; choose your .bib file; close the box). If you do, the rectangle
I was referring to should appear there and then.

Manolo


Re: Inserting Citations

2012-06-12 Thread Alex Vergara Gil

Dear William

If you doesn't see any grey rectangle mentioning BibTeX bibliography 
then you have not inserted it yet, so you cannot expect to have 
references when you try to add a citation.


So first of all you must insert your BibTeX Bibliography into your 
project


Alex


Re: Inserting Citations

2012-06-12 Thread William Hanson
My problem is not primarily with creating new documents.  It is mainly with
getting existing LyX documents (that have been transferred to my new
computer) to appear with the references in them when LyX creates pdf files
from them.  At present the pdf versions of these documents have no
references at the end, and every citation in the text is replaced with a
question mark inside of square brackets.  I have been partly successful in
doing what Ray suggests with NEW documents:

Start LyX, create a new empty document, insert  list  bibliography,
select your four bib files, press OK, now type something and press the
Bib icon, you should be able to select an entry from all four bib
files. Now preview the document. You should see foo [n] or foo
(xyz, d), and just one entry in the references. If you cannot
reproduce this, you are looking at a bug, most probably in your
installation.

However,
(1) I can't add more than two of my four .bib files to any new or existing
document.  The program simply ignores the third and fourth.
(2) When I do succeed in adding one or two .bib files to an existing
document, some but not all of the citations in the body of the document
connect to the cited reference, even though that reference is in the .bib
files that have been added to the document.  These renegade citations still
show up as [?] in the pdf.

On Tue, Jun 12, 2012 at 1:49 PM, Ray Rashif schivmeis...@gmail.com wrote:

 On 13 June 2012 02:05, William Hanson whan...@umn.edu wrote:
  To All,
 
  I'm still having trouble getting LyX 2.0.3 to allow me to insert
 citations
  into documents created on a new Dell (running Windows 7).  (My old HP,
 which
  runs Windows XP, has no trouble doing this). On the Dell LyX works just
 fine
  until I click the Insert Citation tab.  It brings up the usual LyX:
 Citation
  window, but the Available Citation field is empty.
 
  However, my BibTeX folder contains four non-empty BibTeX Database (.bib)
  files (the same ones I used earlier on the HP, and which I transferred to
  the Dell via Mendeley).  I've tried making my .bib files available to LyX
  using  insert  list / TOC  BibTeX bibliography.  But no matter which
 of my
  four .bib files I add, I'll get only one or two References showing up in
 the
  final pdf.  And I don't seem to be able to add more than one of my four
 .bib
  files.  Also the references that do show up are specific to that
 particular
  document.  When I go to another LyX document and try to add a reference
 the
  Available Citation field is empty again.

 All bibliographic data are available on a per-document basis, and
 references will only appear _as cited_. This means there will not be
 any reference entry at the end of the document for any works _not_
 cited. For child documents, citations can be seen only in the master
 preview.

 Start LyX, create a new empty document, insert  list  bibliography,
 select your four bib files, press OK, now type something and press the
 Bib icon, you should be able to select an entry from all four bib
 files. Now preview the document. You should see foo [n] or foo
 (xyz, d), and just one entry in the references. If you cannot
 reproduce this, you are looking at a bug, most probably in your
 installation.


 --
 GPG/PGP ID: C0711BF1



Re: Inserting Citations

2012-06-12 Thread Manolo Martínez
On 06/12/12 at 03:58pm, William Hanson wrote:
 My problem is not primarily with creating new documents.  It is mainly with
 getting existing LyX documents (that have been transferred to my new
 computer) to appear with the references in them when LyX creates pdf files
 from them.  At present the pdf versions of these documents have no
 references at the end, and every citation in the text is replaced with a

And you say these old documents do _not_ have a grey BibTex box at the
place in which the pdf should show the references? That would explain
why they don't appear :) Although it's hard to see how might you have
lost it while transfering your documents.




Re: Inserting Citations

2012-06-12 Thread Ray Rashif
On 13 June 2012 04:58, William Hanson whan...@umn.edu wrote:
 My problem is not primarily with creating new documents.  It is mainly with
 getting existing LyX documents (that have been transferred to my new
 computer) to appear with the references in them when LyX creates pdf files
 from them.  At present the pdf versions of these documents have no
 references at the end, and every citation in the text is replaced with a
 question mark inside of square brackets.  I have been partly successful in
 doing what Ray suggests with NEW documents:


 Start LyX, create a new empty document, insert  list  bibliography,
 select your four bib files, press OK, now type something and press the
 Bib icon, you should be able to select an entry from all four bib
 files. Now preview the document. You should see foo [n] or foo
 (xyz, d), and just one entry in the references. If you cannot
 reproduce this, you are looking at a bug, most probably in your
 installation.

 However,
 (1) I can't add more than two of my four .bib files to any new or existing
 document.  The program simply ignores the third and fourth.
 (2) When I do succeed in adding one or two .bib files to an existing
 document, some but not all of the citations in the body of the document
 connect to the cited reference, even though that reference is in the .bib
 files that have been added to the document.  These renegade citations still
 show up as [?] in the pdf.

This is what's important. That happens when your document cannot find
the particular key or file. In these old documents, just reselect your
bib files by browsing to the correct ones. It might help if you could
shift these files to a directory with or below your lyx file, then
change the path to be relative (like ../foo.bib).

Other than that, check to make sure there is no key mismatch. You
might've changed things in Mendeley which changed the keys, which are
now no longer the same as the keys known to bibtex (because they
retain the keys of the first ever bib file processed). In that case
you'd have to reselect your citations.


--
GPG/PGP ID: C0711BF1


Re: Inserting Citations

2012-06-12 Thread William Hanson
To All,

I'm still having trouble getting LyX 2.0.3 to allow me to insert citations
into documents created on a new Dell (running Windows 7).  (My old HP,
which runs Windows XP, has no trouble doing this). On the Dell LyX works
just fine until I click the Insert Citation tab.  It brings up the usual
LyX: Citation window, but the Available Citation field is empty.

However, my BibTeX folder contains four non-empty BibTeX Database (.bib)
files (the same ones I used earlier on the HP, and which I transferred to
the Dell via Mendeley).  I've tried making my .bib files available to LyX
using  insert  list / TOC  BibTeX bibliography.  But no matter which of
my four .bib files I add, I'll get only one or two References showing up in
the final pdf.  And I don't seem to be able to add more than one of my four
.bib files.  Also the references that do show up are specific to that
particular document.  When I go to another LyX document and try to add a
reference the Available Citation field is empty again.

For more information on the problem, see the correspondence below.

Bill Hanson




On Mon, Jun 11, 2012 at 11:26 PM, Scott Kostyshak skost...@princeton.eduwrote:

  *From:* William Hanson [whan...@umn.edu]
  *Sent:* Tuesday, June 12, 2012 12:08 AM
 **
  Bill,

 Please respond to the list so that others can see your message. This is
 good so that
 (1) if we get a solution it will be searchable by others that have this
 problem in the future
 (2) if we find a solution others will not be working to try to solve your
 problem when it is already solved, and
 (3) most people on this list know a lot more than I do so you're much more
 likely to get a solution.


 Thanks.  My BibTeX bibliography is empty, so that's the problem.  But I
 can't seem to get my .bib files into it.  I don't know what you mean when
 you say I should make sure my BibTeX folder is in the path.  What path?

 I don't know how to deal with this issue for Windows. You could search
 (using windows search) for files in your tex distribution (for example,
 search for .bib files) and put your BibTeX files there and hopefully that
 would be in the path. Or see below.


 When I click rescan nothing happens.  Clicking browse takes me to
 what looks like Windows Explorer, but it won't let me do anything with my
 BibTeX folder.  So I'm still stuck.

 This should work. What do you mean that it won't let you do anything with
 your BibTeX folder? You need to add the individual .bib files. Also, they
 must have the .bib extension otherwise they will not be found in that
 window. If they do not have the extension, you can just rename the files to
 add the extension to them.

 Does that work?

 Also, what version of LyX are you using?

 Scott



Re: Inserting Citations

2012-06-12 Thread Manolo Martínez
Bill,

Once you insert a BibTex bibliography, you can click the BibTex
Generated Bibliography grey rectangle and add more databases with the
Add button at the top right corner of the dialog box that appears.
Probably, you need more than one of your databases. Try adding all four.

Cheers,
Manolo

On 06/12/12 at 01:05pm, William Hanson wrote:
 To All,
 
 I'm still having trouble getting LyX 2.0.3 to allow me to insert citations
 into documents created on a new Dell (running Windows 7).  (My old HP,
 which runs Windows XP, has no trouble doing this). On the Dell LyX works
 just fine until I click the Insert Citation tab.  It brings up the usual
 LyX: Citation window, but the Available Citation field is empty.
 
 However, my BibTeX folder contains four non-empty BibTeX Database (.bib)
 files (the same ones I used earlier on the HP, and which I transferred to
 the Dell via Mendeley).  I've tried making my .bib files available to LyX
 using  insert  list / TOC  BibTeX bibliography.  But no matter which of
 my four .bib files I add, I'll get only one or two References showing up in
 the final pdf.  And I don't seem to be able to add more than one of my four
 .bib files.  Also the references that do show up are specific to that
 particular document.  When I go to another LyX document and try to add a
 reference the Available Citation field is empty again.
 
 For more information on the problem, see the correspondence below.
 
 Bill Hanson
 
 
 
 
 On Mon, Jun 11, 2012 at 11:26 PM, Scott Kostyshak 
 skost...@princeton.eduwrote:
 
   *From:* William Hanson [whan...@umn.edu]
   *Sent:* Tuesday, June 12, 2012 12:08 AM
  **
   Bill,
 
  Please respond to the list so that others can see your message. This is
  good so that
  (1) if we get a solution it will be searchable by others that have this
  problem in the future
  (2) if we find a solution others will not be working to try to solve your
  problem when it is already solved, and
  (3) most people on this list know a lot more than I do so you're much more
  likely to get a solution.
 
 
  Thanks.  My BibTeX bibliography is empty, so that's the problem.  But I
  can't seem to get my .bib files into it.  I don't know what you mean when
  you say I should make sure my BibTeX folder is in the path.  What path?
 
  I don't know how to deal with this issue for Windows. You could search
  (using windows search) for files in your tex distribution (for example,
  search for .bib files) and put your BibTeX files there and hopefully that
  would be in the path. Or see below.
 
 
  When I click rescan nothing happens.  Clicking browse takes me to
  what looks like Windows Explorer, but it won't let me do anything with my
  BibTeX folder.  So I'm still stuck.
 
  This should work. What do you mean that it won't let you do anything with
  your BibTeX folder? You need to add the individual .bib files. Also, they
  must have the .bib extension otherwise they will not be found in that
  window. If they do not have the extension, you can just rename the files to
  add the extension to them.
 
  Does that work?
 
  Also, what version of LyX are you using?
 
  Scott
 

-- 


Re: Inserting Citations

2012-06-12 Thread Ray Rashif
On 13 June 2012 02:05, William Hanson whan...@umn.edu wrote:
 To All,

 I'm still having trouble getting LyX 2.0.3 to allow me to insert citations
 into documents created on a new Dell (running Windows 7).  (My old HP, which
 runs Windows XP, has no trouble doing this). On the Dell LyX works just fine
 until I click the Insert Citation tab.  It brings up the usual LyX: Citation
 window, but the Available Citation field is empty.

 However, my BibTeX folder contains four non-empty BibTeX Database (.bib)
 files (the same ones I used earlier on the HP, and which I transferred to
 the Dell via Mendeley).  I've tried making my .bib files available to LyX
 using  insert  list / TOC  BibTeX bibliography.  But no matter which of my
 four .bib files I add, I'll get only one or two References showing up in the
 final pdf.  And I don't seem to be able to add more than one of my four .bib
 files.  Also the references that do show up are specific to that particular
 document.  When I go to another LyX document and try to add a reference the
 Available Citation field is empty again.

All bibliographic data are available on a per-document basis, and
references will only appear _as cited_. This means there will not be
any reference entry at the end of the document for any works _not_
cited. For child documents, citations can be seen only in the master
preview.

Start LyX, create a new empty document, insert  list  bibliography,
select your four bib files, press OK, now type something and press the
Bib icon, you should be able to select an entry from all four bib
files. Now preview the document. You should see foo [n] or foo
(xyz, d), and just one entry in the references. If you cannot
reproduce this, you are looking at a bug, most probably in your
installation.


--
GPG/PGP ID: C0711BF1


Re: Inserting Citations

2012-06-12 Thread William Hanson
Manolo,

Thanks, but I don't see any BibTex Generated Bibliography grey
rectangle.

Bill

On Tue, Jun 12, 2012 at 1:10 PM, Manolo Martínez
man...@austrohungaro.comwrote:

 Bill,

 Once you insert a BibTex bibliography, you can click the BibTex
 Generated Bibliography grey rectangle and add more databases with the
 Add button at the top right corner of the dialog box that appears.
 Probably, you need more than one of your databases. Try adding all four.

 Cheers,
 Manolo

 On 06/12/12 at 01:05pm, William Hanson wrote:
  To All,
 
  I'm still having trouble getting LyX 2.0.3 to allow me to insert
 citations
  into documents created on a new Dell (running Windows 7).  (My old HP,
  which runs Windows XP, has no trouble doing this). On the Dell LyX works
  just fine until I click the Insert Citation tab.  It brings up the usual
  LyX: Citation window, but the Available Citation field is empty.
 
  However, my BibTeX folder contains four non-empty BibTeX Database (.bib)
  files (the same ones I used earlier on the HP, and which I transferred to
  the Dell via Mendeley).  I've tried making my .bib files available to LyX
  using  insert  list / TOC  BibTeX bibliography.  But no matter which of
  my four .bib files I add, I'll get only one or two References showing up
 in
  the final pdf.  And I don't seem to be able to add more than one of my
 four
  .bib files.  Also the references that do show up are specific to that
  particular document.  When I go to another LyX document and try to add a
  reference the Available Citation field is empty again.
 
  For more information on the problem, see the correspondence below.
 
  Bill Hanson
 
 
 
 
  On Mon, Jun 11, 2012 at 11:26 PM, Scott Kostyshak 
 skost...@princeton.eduwrote:
 
*From:* William Hanson [whan...@umn.edu]
*Sent:* Tuesday, June 12, 2012 12:08 AM
   **
Bill,
  
   Please respond to the list so that others can see your message. This is
   good so that
   (1) if we get a solution it will be searchable by others that have this
   problem in the future
   (2) if we find a solution others will not be working to try to solve
 your
   problem when it is already solved, and
   (3) most people on this list know a lot more than I do so you're much
 more
   likely to get a solution.
  
  
   Thanks.  My BibTeX bibliography is empty, so that's the problem.  But
 I
   can't seem to get my .bib files into it.  I don't know what you mean
 when
   you say I should make sure my BibTeX folder is in the path.  What
 path?
  
   I don't know how to deal with this issue for Windows. You could search
   (using windows search) for files in your tex distribution (for example,
   search for .bib files) and put your BibTeX files there and hopefully
 that
   would be in the path. Or see below.
  
  
   When I click rescan nothing happens.  Clicking browse takes me to
   what looks like Windows Explorer, but it won't let me do anything
 with my
   BibTeX folder.  So I'm still stuck.
  
   This should work. What do you mean that it won't let you do anything
 with
   your BibTeX folder? You need to add the individual .bib files. Also,
 they
   must have the .bib extension otherwise they will not be found in that
   window. If they do not have the extension, you can just rename the
 files to
   add the extension to them.
  
   Does that work?
  
   Also, what version of LyX are you using?
  
   Scott
  

 --



Re: Inserting Citations

2012-06-12 Thread Manolo Martínez
On 06/12/12 at 02:44pm, William Hanson wrote:
 Manolo,
 
 Thanks, but I don't see any BibTex Generated Bibliography grey
 rectangle.
 
When you Insert  List/TOC  BibTex Bibliography, a dialog box appears,
doesn't it? Do you Add a database then? (that is: click Add; click
Browse; choose your .bib file; close the box). If you do, the rectangle
I was referring to should appear there and then.

Manolo


Re: Inserting Citations

2012-06-12 Thread Alex Vergara Gil

Dear William

If you doesn't see any grey rectangle mentioning BibTeX bibliography 
then you have not inserted it yet, so you cannot expect to have 
references when you try to add a citation.


So first of all you must insert your BibTeX Bibliography into your 
project


Alex


Re: Inserting Citations

2012-06-12 Thread William Hanson
My problem is not primarily with creating new documents.  It is mainly with
getting existing LyX documents (that have been transferred to my new
computer) to appear with the references in them when LyX creates pdf files
from them.  At present the pdf versions of these documents have no
references at the end, and every citation in the text is replaced with a
question mark inside of square brackets.  I have been partly successful in
doing what Ray suggests with NEW documents:

Start LyX, create a new empty document, insert  list  bibliography,
select your four bib files, press OK, now type something and press the
Bib icon, you should be able to select an entry from all four bib
files. Now preview the document. You should see foo [n] or foo
(xyz, d), and just one entry in the references. If you cannot
reproduce this, you are looking at a bug, most probably in your
installation.

However,
(1) I can't add more than two of my four .bib files to any new or existing
document.  The program simply ignores the third and fourth.
(2) When I do succeed in adding one or two .bib files to an existing
document, some but not all of the citations in the body of the document
connect to the cited reference, even though that reference is in the .bib
files that have been added to the document.  These renegade citations still
show up as [?] in the pdf.

On Tue, Jun 12, 2012 at 1:49 PM, Ray Rashif schivmeis...@gmail.com wrote:

 On 13 June 2012 02:05, William Hanson whan...@umn.edu wrote:
  To All,
 
  I'm still having trouble getting LyX 2.0.3 to allow me to insert
 citations
  into documents created on a new Dell (running Windows 7).  (My old HP,
 which
  runs Windows XP, has no trouble doing this). On the Dell LyX works just
 fine
  until I click the Insert Citation tab.  It brings up the usual LyX:
 Citation
  window, but the Available Citation field is empty.
 
  However, my BibTeX folder contains four non-empty BibTeX Database (.bib)
  files (the same ones I used earlier on the HP, and which I transferred to
  the Dell via Mendeley).  I've tried making my .bib files available to LyX
  using  insert  list / TOC  BibTeX bibliography.  But no matter which
 of my
  four .bib files I add, I'll get only one or two References showing up in
 the
  final pdf.  And I don't seem to be able to add more than one of my four
 .bib
  files.  Also the references that do show up are specific to that
 particular
  document.  When I go to another LyX document and try to add a reference
 the
  Available Citation field is empty again.

 All bibliographic data are available on a per-document basis, and
 references will only appear _as cited_. This means there will not be
 any reference entry at the end of the document for any works _not_
 cited. For child documents, citations can be seen only in the master
 preview.

 Start LyX, create a new empty document, insert  list  bibliography,
 select your four bib files, press OK, now type something and press the
 Bib icon, you should be able to select an entry from all four bib
 files. Now preview the document. You should see foo [n] or foo
 (xyz, d), and just one entry in the references. If you cannot
 reproduce this, you are looking at a bug, most probably in your
 installation.


 --
 GPG/PGP ID: C0711BF1



Re: Inserting Citations

2012-06-12 Thread Manolo Martínez
On 06/12/12 at 03:58pm, William Hanson wrote:
 My problem is not primarily with creating new documents.  It is mainly with
 getting existing LyX documents (that have been transferred to my new
 computer) to appear with the references in them when LyX creates pdf files
 from them.  At present the pdf versions of these documents have no
 references at the end, and every citation in the text is replaced with a

And you say these old documents do _not_ have a grey BibTex box at the
place in which the pdf should show the references? That would explain
why they don't appear :) Although it's hard to see how might you have
lost it while transfering your documents.




Re: Inserting Citations

2012-06-12 Thread Ray Rashif
On 13 June 2012 04:58, William Hanson whan...@umn.edu wrote:
 My problem is not primarily with creating new documents.  It is mainly with
 getting existing LyX documents (that have been transferred to my new
 computer) to appear with the references in them when LyX creates pdf files
 from them.  At present the pdf versions of these documents have no
 references at the end, and every citation in the text is replaced with a
 question mark inside of square brackets.  I have been partly successful in
 doing what Ray suggests with NEW documents:


 Start LyX, create a new empty document, insert  list  bibliography,
 select your four bib files, press OK, now type something and press the
 Bib icon, you should be able to select an entry from all four bib
 files. Now preview the document. You should see foo [n] or foo
 (xyz, d), and just one entry in the references. If you cannot
 reproduce this, you are looking at a bug, most probably in your
 installation.

 However,
 (1) I can't add more than two of my four .bib files to any new or existing
 document.  The program simply ignores the third and fourth.
 (2) When I do succeed in adding one or two .bib files to an existing
 document, some but not all of the citations in the body of the document
 connect to the cited reference, even though that reference is in the .bib
 files that have been added to the document.  These renegade citations still
 show up as [?] in the pdf.

This is what's important. That happens when your document cannot find
the particular key or file. In these old documents, just reselect your
bib files by browsing to the correct ones. It might help if you could
shift these files to a directory with or below your lyx file, then
change the path to be relative (like ../foo.bib).

Other than that, check to make sure there is no key mismatch. You
might've changed things in Mendeley which changed the keys, which are
now no longer the same as the keys known to bibtex (because they
retain the keys of the first ever bib file processed). In that case
you'd have to reselect your citations.


--
GPG/PGP ID: C0711BF1


Re: Inserting Citations

2012-06-12 Thread William Hanson
To All,

I'm still having trouble getting LyX 2.0.3 to allow me to insert citations
into documents created on a new Dell (running Windows 7).  (My old HP,
which runs Windows XP, has no trouble doing this). On the Dell LyX works
just fine until I click the Insert Citation tab.  It brings up the usual
LyX: Citation window, but the Available Citation field is empty.

However, my BibTeX folder contains four non-empty BibTeX Database (.bib)
files (the same ones I used earlier on the HP, and which I transferred to
the Dell via Mendeley).  I've tried making my .bib files available to LyX
using  insert > list / TOC > BibTeX bibliography.  But no matter which of
my four .bib files I add, I'll get only one or two References showing up in
the final pdf.  And I don't seem to be able to add more than one of my four
.bib files.  Also the references that do show up are specific to that
particular document.  When I go to another LyX document and try to add a
reference the Available Citation field is empty again.

For more information on the problem, see the correspondence below.

Bill Hanson




On Mon, Jun 11, 2012 at 11:26 PM, Scott Kostyshak wrote:

>  *From:* William Hanson [whan...@umn.edu]
>  *Sent:* Tuesday, June 12, 2012 12:08 AM
> **
>  Bill,
>
> Please respond to the list so that others can see your message. This is
> good so that
> (1) if we get a solution it will be searchable by others that have this
> problem in the future
> (2) if we find a solution others will not be working to try to solve your
> problem when it is already solved, and
> (3) most people on this list know a lot more than I do so you're much more
> likely to get a solution.
>
>
> >Thanks.  My BibTeX bibliography is empty, so that's the problem.  But I
> can't seem to get my .bib files >into it.  I don't know what you mean when
> you say I should make sure "my BibTeX folder is in the >path".  What path?
>
> I don't know how to deal with this issue for Windows. You could search
> (using windows search) for files in your tex distribution (for example,
> search for .bib files) and put your BibTeX files there and hopefully that
> would be in the path. Or see below.
>
>
> >When I click "rescan" nothing happens.  Clicking "browse" takes me to
> what looks like Windows >Explorer, but it won't let me do anything with my
> BibTeX folder.  So I'm still stuck.
>
> This should work. What do you mean that it won't let you do anything with
> your BibTeX folder? You need to add the individual .bib files. Also, they
> must have the .bib extension otherwise they will not be found in that
> window. If they do not have the extension, you can just rename the files to
> add the extension to them.
>
> Does that work?
>
> Also, what version of LyX are you using?
>
> Scott
>


Re: Inserting Citations

2012-06-12 Thread Manolo Martínez
Bill,

Once you insert a BibTex bibliography, you can click the "BibTex
Generated Bibliography" grey rectangle and add more databases with the
"Add" button at the top right corner of the dialog box that appears.
Probably, you need more than one of your databases. Try adding all four.

Cheers,
Manolo

On 06/12/12 at 01:05pm, William Hanson wrote:
> To All,
> 
> I'm still having trouble getting LyX 2.0.3 to allow me to insert citations
> into documents created on a new Dell (running Windows 7).  (My old HP,
> which runs Windows XP, has no trouble doing this). On the Dell LyX works
> just fine until I click the Insert Citation tab.  It brings up the usual
> LyX: Citation window, but the Available Citation field is empty.
> 
> However, my BibTeX folder contains four non-empty BibTeX Database (.bib)
> files (the same ones I used earlier on the HP, and which I transferred to
> the Dell via Mendeley).  I've tried making my .bib files available to LyX
> using  insert > list / TOC > BibTeX bibliography.  But no matter which of
> my four .bib files I add, I'll get only one or two References showing up in
> the final pdf.  And I don't seem to be able to add more than one of my four
> .bib files.  Also the references that do show up are specific to that
> particular document.  When I go to another LyX document and try to add a
> reference the Available Citation field is empty again.
> 
> For more information on the problem, see the correspondence below.
> 
> Bill Hanson
> 
> 
> 
> 
> On Mon, Jun 11, 2012 at 11:26 PM, Scott Kostyshak 
> wrote:
> 
> >  *From:* William Hanson [whan...@umn.edu]
> >  *Sent:* Tuesday, June 12, 2012 12:08 AM
> > **
> >  Bill,
> >
> > Please respond to the list so that others can see your message. This is
> > good so that
> > (1) if we get a solution it will be searchable by others that have this
> > problem in the future
> > (2) if we find a solution others will not be working to try to solve your
> > problem when it is already solved, and
> > (3) most people on this list know a lot more than I do so you're much more
> > likely to get a solution.
> >
> >
> > >Thanks.  My BibTeX bibliography is empty, so that's the problem.  But I
> > can't seem to get my .bib files >into it.  I don't know what you mean when
> > you say I should make sure "my BibTeX folder is in the >path".  What path?
> >
> > I don't know how to deal with this issue for Windows. You could search
> > (using windows search) for files in your tex distribution (for example,
> > search for .bib files) and put your BibTeX files there and hopefully that
> > would be in the path. Or see below.
> >
> >
> > >When I click "rescan" nothing happens.  Clicking "browse" takes me to
> > what looks like Windows >Explorer, but it won't let me do anything with my
> > BibTeX folder.  So I'm still stuck.
> >
> > This should work. What do you mean that it won't let you do anything with
> > your BibTeX folder? You need to add the individual .bib files. Also, they
> > must have the .bib extension otherwise they will not be found in that
> > window. If they do not have the extension, you can just rename the files to
> > add the extension to them.
> >
> > Does that work?
> >
> > Also, what version of LyX are you using?
> >
> > Scott
> >

-- 


Re: Inserting Citations

2012-06-12 Thread Ray Rashif
On 13 June 2012 02:05, William Hanson  wrote:
> To All,
>
> I'm still having trouble getting LyX 2.0.3 to allow me to insert citations
> into documents created on a new Dell (running Windows 7).  (My old HP, which
> runs Windows XP, has no trouble doing this). On the Dell LyX works just fine
> until I click the Insert Citation tab.  It brings up the usual LyX: Citation
> window, but the Available Citation field is empty.
>
> However, my BibTeX folder contains four non-empty BibTeX Database (.bib)
> files (the same ones I used earlier on the HP, and which I transferred to
> the Dell via Mendeley).  I've tried making my .bib files available to LyX
> using  insert > list / TOC > BibTeX bibliography.  But no matter which of my
> four .bib files I add, I'll get only one or two References showing up in the
> final pdf.  And I don't seem to be able to add more than one of my four .bib
> files.  Also the references that do show up are specific to that particular
> document.  When I go to another LyX document and try to add a reference the
> Available Citation field is empty again.

All bibliographic data are available on a per-document basis, and
references will only appear _as cited_. This means there will not be
any reference entry at the end of the document for any works _not_
cited. For child documents, citations can be seen only in the master
preview.

Start LyX, create a new empty document, insert > list > bibliography,
select your four bib files, press OK, now type something and press the
Bib icon, you should be able to select an entry from all four bib
files. Now preview the document. You should see "foo [n]" or "foo
(xyz, d)", and just one entry in the references. If you cannot
reproduce this, you are looking at a bug, most probably in your
installation.


--
GPG/PGP ID: C0711BF1


Re: Inserting Citations

2012-06-12 Thread William Hanson
Manolo,

Thanks, but I don't see any "BibTex Generated Bibliography" grey
rectangle.

Bill

On Tue, Jun 12, 2012 at 1:10 PM, Manolo Martínez
wrote:

> Bill,
>
> Once you insert a BibTex bibliography, you can click the "BibTex
> Generated Bibliography" grey rectangle and add more databases with the
> "Add" button at the top right corner of the dialog box that appears.
> Probably, you need more than one of your databases. Try adding all four.
>
> Cheers,
> Manolo
>
> On 06/12/12 at 01:05pm, William Hanson wrote:
> > To All,
> >
> > I'm still having trouble getting LyX 2.0.3 to allow me to insert
> citations
> > into documents created on a new Dell (running Windows 7).  (My old HP,
> > which runs Windows XP, has no trouble doing this). On the Dell LyX works
> > just fine until I click the Insert Citation tab.  It brings up the usual
> > LyX: Citation window, but the Available Citation field is empty.
> >
> > However, my BibTeX folder contains four non-empty BibTeX Database (.bib)
> > files (the same ones I used earlier on the HP, and which I transferred to
> > the Dell via Mendeley).  I've tried making my .bib files available to LyX
> > using  insert > list / TOC > BibTeX bibliography.  But no matter which of
> > my four .bib files I add, I'll get only one or two References showing up
> in
> > the final pdf.  And I don't seem to be able to add more than one of my
> four
> > .bib files.  Also the references that do show up are specific to that
> > particular document.  When I go to another LyX document and try to add a
> > reference the Available Citation field is empty again.
> >
> > For more information on the problem, see the correspondence below.
> >
> > Bill Hanson
> >
> >
> >
> >
> > On Mon, Jun 11, 2012 at 11:26 PM, Scott Kostyshak <
> skost...@princeton.edu>wrote:
> >
> > >  *From:* William Hanson [whan...@umn.edu]
> > >  *Sent:* Tuesday, June 12, 2012 12:08 AM
> > > **
> > >  Bill,
> > >
> > > Please respond to the list so that others can see your message. This is
> > > good so that
> > > (1) if we get a solution it will be searchable by others that have this
> > > problem in the future
> > > (2) if we find a solution others will not be working to try to solve
> your
> > > problem when it is already solved, and
> > > (3) most people on this list know a lot more than I do so you're much
> more
> > > likely to get a solution.
> > >
> > >
> > > >Thanks.  My BibTeX bibliography is empty, so that's the problem.  But
> I
> > > can't seem to get my .bib files >into it.  I don't know what you mean
> when
> > > you say I should make sure "my BibTeX folder is in the >path".  What
> path?
> > >
> > > I don't know how to deal with this issue for Windows. You could search
> > > (using windows search) for files in your tex distribution (for example,
> > > search for .bib files) and put your BibTeX files there and hopefully
> that
> > > would be in the path. Or see below.
> > >
> > >
> > > >When I click "rescan" nothing happens.  Clicking "browse" takes me to
> > > what looks like Windows >Explorer, but it won't let me do anything
> with my
> > > BibTeX folder.  So I'm still stuck.
> > >
> > > This should work. What do you mean that it won't let you do anything
> with
> > > your BibTeX folder? You need to add the individual .bib files. Also,
> they
> > > must have the .bib extension otherwise they will not be found in that
> > > window. If they do not have the extension, you can just rename the
> files to
> > > add the extension to them.
> > >
> > > Does that work?
> > >
> > > Also, what version of LyX are you using?
> > >
> > > Scott
> > >
>
> --
>


Re: Inserting Citations

2012-06-12 Thread Manolo Martínez
On 06/12/12 at 02:44pm, William Hanson wrote:
> Manolo,
> 
> Thanks, but I don't see any "BibTex Generated Bibliography" grey
> rectangle.
> 
When you Insert > List/TOC > BibTex Bibliography, a dialog box appears,
doesn't it? Do you Add a database then? (that is: click Add; click
Browse; choose your .bib file; close the box). If you do, the rectangle
I was referring to should appear there and then.

Manolo


Re: Inserting Citations

2012-06-12 Thread Alex Vergara Gil

Dear William

If you doesn't see any grey rectangle mentioning BibTeX bibliography 
then you have not inserted it yet, so you cannot expect to have 
references when you try to add a citation.


So first of all you must insert your BibTeX Bibliography into your 
project


Alex


Re: Inserting Citations

2012-06-12 Thread William Hanson
My problem is not primarily with creating new documents.  It is mainly with
getting existing LyX documents (that have been transferred to my new
computer) to appear with the references in them when LyX creates pdf files
from them.  At present the pdf versions of these documents have no
references at the end, and every citation in the text is replaced with a
question mark inside of square brackets.  I have been partly successful in
doing what Ray suggests with NEW documents:

Start LyX, create a new empty document, insert > list > bibliography,
select your four bib files, press OK, now type something and press the
Bib icon, you should be able to select an entry from all four bib
files. Now preview the document. You should see "foo [n]" or "foo
(xyz, d)", and just one entry in the references. If you cannot
reproduce this, you are looking at a bug, most probably in your
installation.

However,
(1) I can't add more than two of my four .bib files to any new or existing
document.  The program simply ignores the third and fourth.
(2) When I do succeed in adding one or two .bib files to an existing
document, some but not all of the citations in the body of the document
connect to the cited reference, even though that reference is in the .bib
files that have been added to the document.  These renegade citations still
show up as [?] in the pdf.

On Tue, Jun 12, 2012 at 1:49 PM, Ray Rashif  wrote:

> On 13 June 2012 02:05, William Hanson  wrote:
> > To All,
> >
> > I'm still having trouble getting LyX 2.0.3 to allow me to insert
> citations
> > into documents created on a new Dell (running Windows 7).  (My old HP,
> which
> > runs Windows XP, has no trouble doing this). On the Dell LyX works just
> fine
> > until I click the Insert Citation tab.  It brings up the usual LyX:
> Citation
> > window, but the Available Citation field is empty.
> >
> > However, my BibTeX folder contains four non-empty BibTeX Database (.bib)
> > files (the same ones I used earlier on the HP, and which I transferred to
> > the Dell via Mendeley).  I've tried making my .bib files available to LyX
> > using  insert > list / TOC > BibTeX bibliography.  But no matter which
> of my
> > four .bib files I add, I'll get only one or two References showing up in
> the
> > final pdf.  And I don't seem to be able to add more than one of my four
> .bib
> > files.  Also the references that do show up are specific to that
> particular
> > document.  When I go to another LyX document and try to add a reference
> the
> > Available Citation field is empty again.
>
> All bibliographic data are available on a per-document basis, and
> references will only appear _as cited_. This means there will not be
> any reference entry at the end of the document for any works _not_
> cited. For child documents, citations can be seen only in the master
> preview.
>
> Start LyX, create a new empty document, insert > list > bibliography,
> select your four bib files, press OK, now type something and press the
> Bib icon, you should be able to select an entry from all four bib
> files. Now preview the document. You should see "foo [n]" or "foo
> (xyz, d)", and just one entry in the references. If you cannot
> reproduce this, you are looking at a bug, most probably in your
> installation.
>
>
> --
> GPG/PGP ID: C0711BF1
>


Re: Inserting Citations

2012-06-12 Thread Manolo Martínez
On 06/12/12 at 03:58pm, William Hanson wrote:
> My problem is not primarily with creating new documents.  It is mainly with
> getting existing LyX documents (that have been transferred to my new
> computer) to appear with the references in them when LyX creates pdf files
> from them.  At present the pdf versions of these documents have no
> references at the end, and every citation in the text is replaced with a

And you say these old documents do _not_ have a grey BibTex box at the
place in which the pdf should show the references? That would explain
why they don't appear :) Although it's hard to see how might you have
lost it while transfering your documents.




Re: Inserting Citations

2012-06-12 Thread Ray Rashif
On 13 June 2012 04:58, William Hanson  wrote:
> My problem is not primarily with creating new documents.  It is mainly with
> getting existing LyX documents (that have been transferred to my new
> computer) to appear with the references in them when LyX creates pdf files
> from them.  At present the pdf versions of these documents have no
> references at the end, and every citation in the text is replaced with a
> question mark inside of square brackets.  I have been partly successful in
> doing what Ray suggests with NEW documents:
>
>
> Start LyX, create a new empty document, insert > list > bibliography,
> select your four bib files, press OK, now type something and press the
> Bib icon, you should be able to select an entry from all four bib
> files. Now preview the document. You should see "foo [n]" or "foo
> (xyz, d)", and just one entry in the references. If you cannot
> reproduce this, you are looking at a bug, most probably in your
> installation.
>
> However,
> (1) I can't add more than two of my four .bib files to any new or existing
> document.  The program simply ignores the third and fourth.
> (2) When I do succeed in adding one or two .bib files to an existing
> document, some but not all of the citations in the body of the document
> connect to the cited reference, even though that reference is in the .bib
> files that have been added to the document.  These renegade citations still
> show up as [?] in the pdf.

This is what's important. That happens when your document cannot find
the particular key or file. In these old documents, just reselect your
bib files by browsing to the correct ones. It might help if you could
shift these files to a directory with or below your lyx file, then
change the path to be relative (like ../foo.bib).

Other than that, check to make sure there is no key mismatch. You
might've changed things in Mendeley which changed the keys, which are
now no longer the same as the keys known to bibtex (because they
retain the keys of the first ever bib file processed). In that case
you'd have to reselect your citations.


--
GPG/PGP ID: C0711BF1


RE: Inserting Citations

2012-06-11 Thread Scott Kostyshak
From: William Hanson [whan...@umn.edu]
Sent: Monday, June 11, 2012 4:14 PM

I'm having trouble getting LyX to allow me to insert citations into documents 
created on a new Dell (running Windows 7).  (My old HP, which runs Windows 
XP, has no trouble doing this). On the Dell LyX works just fine until I click 
the Insert Citation tab.  It brings up the usual LyX: Citation window, but the 
Available Citation field is empty.  My BibTeX folder contains four non-empty 
BibTeX Database (.bib) files (the same ones I used earlier on the HP, and 
which I transferred to the Dell via Mendeley), but LyX is apparently unaware 
of them.  What should I do?

Do you have a bibliography inserted? If it is not, you need to insert one via 
insert  list / TOC  BibTeX bibliography. If you do have one inserted, click 
on it and see if your databases are listed. If they are not listed, you need to 
make sure LyX can find your .bib files. Make sure your BibTeX folder is in the 
path. (if you moved the folder, click on rescan). Then go to Add and find 
your .bib files.

Scott


RE: Inserting Citations

2012-06-11 Thread Scott Kostyshak
From: William Hanson [whan...@umn.edu]
Sent: Tuesday, June 12, 2012 12:08 AM

Bill,

Please respond to the list so that others can see your message. This is good so 
that
(1) if we get a solution it will be searchable by others that have this problem 
in the future
(2) if we find a solution others will not be working to try to solve your 
problem when it is already solved, and
(3) most people on this list know a lot more than I do so you're much more 
likely to get a solution.

Thanks.  My BibTeX bibliography is empty, so that's the problem.  But I can't 
seem to get my .bib files into it.  I don't know what you mean when you say I 
should make sure my BibTeX folder is in the path.  What path?

I don't know how to deal with this issue for Windows. You could search (using 
windows search) for files in your tex distribution (for example, search for 
.bib files) and put your BibTeX files there and hopefully that would be in the 
path. Or see below.

When I click rescan nothing happens.  Clicking browse takes me to what 
looks like Windows Explorer, but it won't let me do anything with my BibTeX 
folder.  So I'm still stuck.

This should work. What do you mean that it won't let you do anything with your 
BibTeX folder? You need to add the individual .bib files. Also, they must have 
the .bib extension otherwise they will not be found in that window. If they do 
not have the extension, you can just rename the files to add the extension to 
them.

Does that work?

Also, what version of LyX are you using?

Scott


RE: Inserting Citations

2012-06-11 Thread Scott Kostyshak
From: William Hanson [whan...@umn.edu]
Sent: Monday, June 11, 2012 4:14 PM

I'm having trouble getting LyX to allow me to insert citations into documents 
created on a new Dell (running Windows 7).  (My old HP, which runs Windows 
XP, has no trouble doing this). On the Dell LyX works just fine until I click 
the Insert Citation tab.  It brings up the usual LyX: Citation window, but the 
Available Citation field is empty.  My BibTeX folder contains four non-empty 
BibTeX Database (.bib) files (the same ones I used earlier on the HP, and 
which I transferred to the Dell via Mendeley), but LyX is apparently unaware 
of them.  What should I do?

Do you have a bibliography inserted? If it is not, you need to insert one via 
insert  list / TOC  BibTeX bibliography. If you do have one inserted, click 
on it and see if your databases are listed. If they are not listed, you need to 
make sure LyX can find your .bib files. Make sure your BibTeX folder is in the 
path. (if you moved the folder, click on rescan). Then go to Add and find 
your .bib files.

Scott


RE: Inserting Citations

2012-06-11 Thread Scott Kostyshak
From: William Hanson [whan...@umn.edu]
Sent: Tuesday, June 12, 2012 12:08 AM

Bill,

Please respond to the list so that others can see your message. This is good so 
that
(1) if we get a solution it will be searchable by others that have this problem 
in the future
(2) if we find a solution others will not be working to try to solve your 
problem when it is already solved, and
(3) most people on this list know a lot more than I do so you're much more 
likely to get a solution.

Thanks.  My BibTeX bibliography is empty, so that's the problem.  But I can't 
seem to get my .bib files into it.  I don't know what you mean when you say I 
should make sure my BibTeX folder is in the path.  What path?

I don't know how to deal with this issue for Windows. You could search (using 
windows search) for files in your tex distribution (for example, search for 
.bib files) and put your BibTeX files there and hopefully that would be in the 
path. Or see below.

When I click rescan nothing happens.  Clicking browse takes me to what 
looks like Windows Explorer, but it won't let me do anything with my BibTeX 
folder.  So I'm still stuck.

This should work. What do you mean that it won't let you do anything with your 
BibTeX folder? You need to add the individual .bib files. Also, they must have 
the .bib extension otherwise they will not be found in that window. If they do 
not have the extension, you can just rename the files to add the extension to 
them.

Does that work?

Also, what version of LyX are you using?

Scott


RE: Inserting Citations

2012-06-11 Thread Scott Kostyshak
From: William Hanson [whan...@umn.edu]
Sent: Monday, June 11, 2012 4:14 PM

>I'm having trouble getting LyX to allow me to insert citations into documents 
>created on a new Dell >(running Windows 7).  (My old HP, which runs Windows 
>XP, has no trouble doing this). On the Dell LyX >works just fine until I click 
>the Insert Citation tab.  It brings up the usual LyX: Citation window, but the 
>>Available Citation field is empty.  My BibTeX folder contains four non-empty 
>BibTeX Database (.bib) files >(the same ones I used earlier on the HP, and 
>which I transferred to the Dell via Mendeley), but LyX is >apparently unaware 
>of them.  What should I do?

Do you have a bibliography inserted? If it is not, you need to insert one via 
insert > list / TOC > BibTeX bibliography. If you do have one inserted, click 
on it and see if your databases are listed. If they are not listed, you need to 
make sure LyX can find your .bib files. Make sure your BibTeX folder is in the 
path. (if you moved the folder, click on "rescan"). Then go to "Add" and find 
your .bib files.

Scott


RE: Inserting Citations

2012-06-11 Thread Scott Kostyshak
From: William Hanson [whan...@umn.edu]
Sent: Tuesday, June 12, 2012 12:08 AM

Bill,

Please respond to the list so that others can see your message. This is good so 
that
(1) if we get a solution it will be searchable by others that have this problem 
in the future
(2) if we find a solution others will not be working to try to solve your 
problem when it is already solved, and
(3) most people on this list know a lot more than I do so you're much more 
likely to get a solution.

>Thanks.  My BibTeX bibliography is empty, so that's the problem.  But I can't 
>seem to get my .bib files >into it.  I don't know what you mean when you say I 
>should make sure "my BibTeX folder is in the >path".  What path?

I don't know how to deal with this issue for Windows. You could search (using 
windows search) for files in your tex distribution (for example, search for 
.bib files) and put your BibTeX files there and hopefully that would be in the 
path. Or see below.

>When I click "rescan" nothing happens.  Clicking "browse" takes me to what 
>looks like Windows >Explorer, but it won't let me do anything with my BibTeX 
>folder.  So I'm still stuck.

This should work. What do you mean that it won't let you do anything with your 
BibTeX folder? You need to add the individual .bib files. Also, they must have 
the .bib extension otherwise they will not be found in that window. If they do 
not have the extension, you can just rename the files to add the extension to 
them.

Does that work?

Also, what version of LyX are you using?

Scott