Re: Document class missing after installation

2013-06-07 Thread Y.A. Sharif


 






 


Dear Rubin
Thank you very much for your quick reply. I am sorry for the delayed response 
to your email. I went step by step according to your suggestions. 
1. I could not find any configure.log file under C:\users\...\Roaming\LyX 2.0. 
There was only one folder named cache and a file outside the folder named 
session.
2.I tried to run configuration script in DOS windows: C:\Program 
Files(x86)\LyX20\Python\Python.exe , this one did not show any error. But when 
I ran the other one with configure.py it showed the following messages:
File C:\Program Files (x86)\LyX 2.0\Resources\configure.py, line 11, in , 
module
import  sys, os, re , shutil, glob, logging, subprocess
File C:\python25\lib\subprocess.py, line375, inmodule
import threading
File C:\python25\lib\threading.py, line 13, in module

from collections import deque
Import error: No module named collections

I again apologize for being little late to reply to the group and rubin.

I really appreciate your help and time.

Thank you very much.

Regards
Sharif



 From: Paul A. Rubin ru...@msu.edu
To: Y.A. Sharif yasha...@yahoo.com 
Sent: Friday, June 7, 2013 9:37 AM
Subject: Re: Document class missing after installation
 


Y.A.,

LyX creates a user directory for you, where it stores your
preferences and other local files. On my Windows 7 partition, the
user directory is C:\Users\Paul\AppData\Roaming\LyX2.0. If you have
trouble finding it, Help  About LyX should point you to it.

In that directory, there should be a text file named configure.log.
(If not, keep reading, I'll get to that case.) It's generated when
the Python configuration script runs. (This is script is both run at
installation and when you click Tools  Reconfigure in LyX.) In
it, you should see lines like the following:

INFO: checking for a Latex2e program... 
INFO: +checking for latex...  yes 
INFO: checking for a DVI postprocessing program... 
INFO: +checking for pplatex...  yes 

and eventually

INFO: checking for the pdflatex program... 
INFO: +checking for pdflatex...  yes 

If they read no, it means LyX failed to detect MiKTeX for some
reason. I've seen this happen when the user had Cygwin installed,
for instance. I don't know if it is still true, but Cygwin used to
come with a broken copy of LaTeX, and if Cygwin was in front of
MiKTeX on the system command path, LyX would test the Cygwin version
of latex.exe and conclude that there was no working LaTeX compiler
on the system.

If the log shows that LyX found MiKTeX ('yes' responses), go back to
a DOS prompt and run 'kpsewhich article.cls' (if the article class
is missing according to LyX) and make sure that MiKTeX finds it.
If that looks correct, or if the log file is missing, then I suggest
you cd to your LyX user directory and run the configuration script
in a DOS window. The command line will look something like the
following (allowing for the possibility that your installation path
is different):

C:\Program Files (x86)\LyX20\Python\python.exe C:\Program Files
(x86)\LyX20\Resources\configure.py

See if any error messages appear.

Paul


On 06/06/2013 06:44 PM, Y.A. Sharif wrote:



 
Thankk you Paul for your reply.
I have checked according to your suggestion. It shows in DOS prmopt :this is 
pdfTeX, Version 3.14-...-1.40.13MiKTeX 2.9
But I could not understand your 2nd paragraph. Do you want me to check the log 
generated by lyx ? Little confused, could you explain little more.
Thank you.


Y.A.Sharif






 From: Paul Rubin ru...@msu.edu
To: lyx-users@lists.lyx.org 
Sent: Thursday, June 6, 2013 3:11 PM
Subject: Re: Document class missing after installation
 

Is the MiKTeX bin directory on your system path? Can you
  run latex --version
at a DOS prompt (without supplying a path to MiKTeX) and
  get a response
with a plausible version date?

If yes, take a look at the log generated by the installer
  (should be
in your user directory, I think) and see if it found a
  LaTeX installation.
You might want to publish the log to the list.

Paul






Re: Document class missing after installation

2013-06-07 Thread Y.A. Sharif


 






 


Dear Rubin
Thank you very much for your quick reply. I am sorry for the delayed response 
to your email. I went step by step according to your suggestions. 
1. I could not find any configure.log file under C:\users\...\Roaming\LyX 2.0. 
There was only one folder named cache and a file outside the folder named 
session.
2.I tried to run configuration script in DOS windows: C:\Program 
Files(x86)\LyX20\Python\Python.exe , this one did not show any error. But when 
I ran the other one with configure.py it showed the following messages:
File C:\Program Files (x86)\LyX 2.0\Resources\configure.py, line 11, in , 
module
import  sys, os, re , shutil, glob, logging, subprocess
File C:\python25\lib\subprocess.py, line375, inmodule
import threading
File C:\python25\lib\threading.py, line 13, in module

from collections import deque
Import error: No module named collections

I again apologize for being little late to reply to the group and rubin.

I really appreciate your help and time.

Thank you very much.

Regards
Sharif



 From: Paul A. Rubin ru...@msu.edu
To: Y.A. Sharif yasha...@yahoo.com 
Sent: Friday, June 7, 2013 9:37 AM
Subject: Re: Document class missing after installation
 


Y.A.,

LyX creates a user directory for you, where it stores your
preferences and other local files. On my Windows 7 partition, the
user directory is C:\Users\Paul\AppData\Roaming\LyX2.0. If you have
trouble finding it, Help  About LyX should point you to it.

In that directory, there should be a text file named configure.log.
(If not, keep reading, I'll get to that case.) It's generated when
the Python configuration script runs. (This is script is both run at
installation and when you click Tools  Reconfigure in LyX.) In
it, you should see lines like the following:

INFO: checking for a Latex2e program... 
INFO: +checking for latex...  yes 
INFO: checking for a DVI postprocessing program... 
INFO: +checking for pplatex...  yes 

and eventually

INFO: checking for the pdflatex program... 
INFO: +checking for pdflatex...  yes 

If they read no, it means LyX failed to detect MiKTeX for some
reason. I've seen this happen when the user had Cygwin installed,
for instance. I don't know if it is still true, but Cygwin used to
come with a broken copy of LaTeX, and if Cygwin was in front of
MiKTeX on the system command path, LyX would test the Cygwin version
of latex.exe and conclude that there was no working LaTeX compiler
on the system.

If the log shows that LyX found MiKTeX ('yes' responses), go back to
a DOS prompt and run 'kpsewhich article.cls' (if the article class
is missing according to LyX) and make sure that MiKTeX finds it.
If that looks correct, or if the log file is missing, then I suggest
you cd to your LyX user directory and run the configuration script
in a DOS window. The command line will look something like the
following (allowing for the possibility that your installation path
is different):

C:\Program Files (x86)\LyX20\Python\python.exe C:\Program Files
(x86)\LyX20\Resources\configure.py

See if any error messages appear.

Paul


On 06/06/2013 06:44 PM, Y.A. Sharif wrote:



 
Thankk you Paul for your reply.
I have checked according to your suggestion. It shows in DOS prmopt :this is 
pdfTeX, Version 3.14-...-1.40.13MiKTeX 2.9
But I could not understand your 2nd paragraph. Do you want me to check the log 
generated by lyx ? Little confused, could you explain little more.
Thank you.


Y.A.Sharif






 From: Paul Rubin ru...@msu.edu
To: lyx-users@lists.lyx.org 
Sent: Thursday, June 6, 2013 3:11 PM
Subject: Re: Document class missing after installation
 

Is the MiKTeX bin directory on your system path? Can you
  run latex --version
at a DOS prompt (without supplying a path to MiKTeX) and
  get a response
with a plausible version date?

If yes, take a look at the log generated by the installer
  (should be
in your user directory, I think) and see if it found a
  LaTeX installation.
You might want to publish the log to the list.

Paul






Re: Document class missing after installation

2013-06-07 Thread Y.A. Sharif


 






 


Dear Rubin
Thank you very much for your quick reply. I am sorry for the delayed response 
to your email. I went step by step according to your suggestions. 
1. I could not find any configure.log file under C:\users\...\Roaming\LyX 2.0. 
There was only one folder named "cache" and a file outside the folder named 
"session".
2.I tried to run configuration script in DOS windows: C:\Program 
Files(x86)\LyX20\Python\Python.exe , this one did not show any error. But when 
I ran the other one with configure.py it showed the following messages:
File "C:\Program Files (x86)\LyX 2.0\Resources\configure.py", line 11, in , 

import  sys, os, re , shutil, glob, logging, subprocess
File "C:\python25\lib\subprocess.py", line375, in
import threading
File "C:\python25\lib\threading.py", line 13, in 

from collections import deque
Import error: No module named collections

I again apologize for being little late to reply to the group and rubin.

I really appreciate your help and time.

Thank you very much.

Regards
Sharif


________
 From: Paul A. Rubin <ru...@msu.edu>
To: Y.A. Sharif <yasha...@yahoo.com> 
Sent: Friday, June 7, 2013 9:37 AM
Subject: Re: Document class missing after installation
 


Y.A.,

LyX creates a user directory for you, where it stores your
preferences and other "local" files. On my Windows 7 partition, the
user directory is C:\Users\Paul\AppData\Roaming\LyX2.0. If you have
trouble finding it, Help > About LyX should point you to it.

In that directory, there should be a text file named configure.log.
(If not, keep reading, I'll get to that case.) It's generated when
the Python configuration script runs. (This is script is both run at
installation and when you click Tools > Reconfigure in LyX.) In
it, you should see lines like the following:

INFO: checking for a Latex2e program... 
INFO: +checking for "latex"...  yes 
INFO: checking for a DVI postprocessing program... 
INFO: +checking for "pplatex"...  yes 

and eventually

INFO: checking for the pdflatex program... 
INFO: +checking for "pdflatex"...  yes 

If they read "no", it means LyX failed to detect MiKTeX for some
reason. I've seen this happen when the user had Cygwin installed,
for instance. I don't know if it is still true, but Cygwin used to
come with a broken copy of LaTeX, and if Cygwin was in front of
MiKTeX on the system command path, LyX would test the Cygwin version
of latex.exe and conclude that there was no working LaTeX compiler
on the system.

If the log shows that LyX found MiKTeX ('yes' responses), go back to
a DOS prompt and run 'kpsewhich article.cls' (if the article class
is "missing" according to LyX) and make sure that MiKTeX finds it.
If that looks correct, or if the log file is missing, then I suggest
you cd to your LyX user directory and run the configuration script
in a DOS window. The command line will look something like the
following (allowing for the possibility that your installation path
is different):

"C:\Program Files (x86)\LyX20\Python\python.exe" "C:\Program Files
(x86)\LyX20\Resources\configure.py"

See if any error messages appear.

Paul


On 06/06/2013 06:44 PM, Y.A. Sharif wrote:


>
> 
>Thankk you Paul for your reply.
>I have checked according to your suggestion. It shows in DOS prmopt :"this is 
>pdfTeX, Version 3.14-...-1.40.13
>But I could not understand your 2nd paragraph. Do you want me to check the log 
>generated by lyx ? Little confused, could you explain little more.
>Thank you.
>
>
>Y.A.Sharif
>
>
>
>
>
>
> From: Paul Rubin <ru...@msu.edu>
>To: lyx-users@lists.lyx.org 
>Sent: Thursday, June 6, 2013 3:11 PM
>Subject: Re: Document class missing after installation
> 
>
>Is the MiKTeX bin directory on your system path? Can you
  run "latex --version"
>at a DOS prompt (without supplying a path to MiKTeX) and
  get a response
>with a plausible version date?
>
>If yes, take a look at the log generated by the installer
  (should be
>in your user directory, I think) and see if it found a
  LaTeX installation.
>You might want to publish the log to the list.
>
>Paul
>
>
>
>
>

Document class missing after installation

2013-06-06 Thread Y.A. Sharif


 Dear Friends
I am new to lyx 2.0.6 (new version). I got the lyx 2.0.6 and the new version of 
miktex installed on my laptop. But it is not showing any document class(like 
KOMA script etc).
I almost tried several possible ways to get it installed and work but 
failed.Can anyone give me suggestion or advice or guideline to make it work 
properly.

I really appreciate your time and help.

Thank you very much.

Regards
Y.A.Sharif

Re: Document class missing after installation

2013-06-06 Thread Y.A. Sharif


 
Yes , you are right. I am using windows 7. But previously it was not creating 
any mess with the other versions of lyx. I just installed lyx 2.0.6 and it is 
giving me hard time. I tried installing the bundle too after uninstalling 
everything. Still not working.
Any further suggestions??
Thanks Richard.
Regards
Y.A.Sharif





 From: Richard Heck rgh...@lyx.org
To: Y.A. Sharif yasha...@yahoo.com 
Cc: lyx-users@lists.lyx.org lyx-users@lists.lyx.org 
Sent: Thursday, June 6, 2013 11:56 AM
Subject: Re: Document class missing after installation
 


On 06/06/2013 11:48 AM, Y.A. Sharif wrote:



 Dear Friends
I am new to lyx 2.0.6 (new version). I got the lyx 2.0.6 and the new version 
of miktex installed on my laptop. But it is not showing any document 
class(like KOMA script etc).
I almost tried several possible ways to get it installed and work but 
failed.Can anyone give me suggestion or advice or guideline to make it work 
properly.
I assume this must be Windows? If so, the usual advice is to
uninstall both LyX and MikTeX and then use the Bundle installer to
install everything all at once.

Uwe or someone else on Windows will be able to give better advice.

Oh, first, you have tried ToolsReconfigure?

Richard

document class

2013-06-06 Thread Y.A. Sharif


 



I guess MikTex got installed properly .
when I try to start lyx it is showing: The Layout file: article could not be 
found. A default textclass with default layouts will be used . LyX will not be 
able to produce correct output.
And the very beginning before the previous message it shows: LyX will only have 
minimal functionality because no text class have been found. You can either try 
to reconfigure LyX normally, try to reconfigure without checking your LaTeX 
installation, or continue.


Please, guidelines needed to make it work.

Thanks.
Regards 
Sharif

Document class missing after installation

2013-06-06 Thread Y.A. Sharif


 Dear Friends
I am new to lyx 2.0.6 (new version). I got the lyx 2.0.6 and the new version of 
miktex installed on my laptop. But it is not showing any document class(like 
KOMA script etc).
I almost tried several possible ways to get it installed and work but 
failed.Can anyone give me suggestion or advice or guideline to make it work 
properly.

I really appreciate your time and help.

Thank you very much.

Regards
Y.A.Sharif

Re: Document class missing after installation

2013-06-06 Thread Y.A. Sharif


 
Yes , you are right. I am using windows 7. But previously it was not creating 
any mess with the other versions of lyx. I just installed lyx 2.0.6 and it is 
giving me hard time. I tried installing the bundle too after uninstalling 
everything. Still not working.
Any further suggestions??
Thanks Richard.
Regards
Y.A.Sharif





 From: Richard Heck rgh...@lyx.org
To: Y.A. Sharif yasha...@yahoo.com 
Cc: lyx-users@lists.lyx.org lyx-users@lists.lyx.org 
Sent: Thursday, June 6, 2013 11:56 AM
Subject: Re: Document class missing after installation
 


On 06/06/2013 11:48 AM, Y.A. Sharif wrote:



 Dear Friends
I am new to lyx 2.0.6 (new version). I got the lyx 2.0.6 and the new version 
of miktex installed on my laptop. But it is not showing any document 
class(like KOMA script etc).
I almost tried several possible ways to get it installed and work but 
failed.Can anyone give me suggestion or advice or guideline to make it work 
properly.
I assume this must be Windows? If so, the usual advice is to
uninstall both LyX and MikTeX and then use the Bundle installer to
install everything all at once.

Uwe or someone else on Windows will be able to give better advice.

Oh, first, you have tried ToolsReconfigure?

Richard

document class

2013-06-06 Thread Y.A. Sharif


 



I guess MikTex got installed properly .
when I try to start lyx it is showing: The Layout file: article could not be 
found. A default textclass with default layouts will be used . LyX will not be 
able to produce correct output.
And the very beginning before the previous message it shows: LyX will only have 
minimal functionality because no text class have been found. You can either try 
to reconfigure LyX normally, try to reconfigure without checking your LaTeX 
installation, or continue.


Please, guidelines needed to make it work.

Thanks.
Regards 
Sharif

Document class missing after installation

2013-06-06 Thread Y.A. Sharif


 Dear Friends
I am new to lyx 2.0.6 (new version). I got the lyx 2.0.6 and the new version of 
miktex installed on my laptop. But it is not showing any document class(like 
KOMA script etc).
I almost tried several possible ways to get it installed and work but 
failed.Can anyone give me suggestion or advice or guideline to make it work 
properly.

I really appreciate your time and help.

Thank you very much.

Regards
Y.A.Sharif

Re: Document class missing after installation

2013-06-06 Thread Y.A. Sharif


 
Yes , you are right. I am using windows 7. But previously it was not creating 
any mess with the other versions of lyx. I just installed lyx 2.0.6 and it is 
giving me hard time. I tried installing the bundle too after uninstalling 
everything. Still not working.
Any further suggestions??
Thanks Richard.
Regards
Y.A.Sharif





 From: Richard Heck <rgh...@lyx.org>
To: Y.A. Sharif <yasha...@yahoo.com> 
Cc: "lyx-users@lists.lyx.org" <lyx-users@lists.lyx.org> 
Sent: Thursday, June 6, 2013 11:56 AM
Subject: Re: Document class missing after installation
 


On 06/06/2013 11:48 AM, Y.A. Sharif wrote:


>
> Dear Friends
>I am new to lyx 2.0.6 (new version). I got the lyx 2.0.6 and the new version 
>of miktex installed on my laptop. But it is not showing any document 
>class(like KOMA script etc).
>I almost tried several possible ways to get it installed and work but 
>failed.Can anyone give me suggestion or advice or guideline to make it work 
>properly.
I assume this must be Windows? If so, the usual advice is to
uninstall both LyX and MikTeX and then use the Bundle installer to
install everything all at once.

Uwe or someone else on Windows will be able to give better advice.

Oh, first, you have tried Tools>Reconfigure?

Richard

document class

2013-06-06 Thread Y.A. Sharif


 



I guess MikTex got installed properly .
when I try to start lyx it is showing: The Layout file: article could not be 
found. A default textclass with default layouts will be used . LyX will not be 
able to produce correct output.
And the very beginning before the previous message it shows: LyX will only have 
minimal functionality because no text class have been found. You can either try 
to reconfigure LyX normally, try to reconfigure without checking your LaTeX 
installation, or continue.


Please, guidelines needed to make it work.

Thanks.
Regards 
Sharif

help regarding jabref to lyx

2012-06-14 Thread Y.A. Sharif


 Dear Friends
Can anyone help me regarding the input of reference through jabref to lyx?
I tried several times but jabref mentions something about the path link in the 
lyx.
I made the change but its not working. 
And I did the other way like, I made the bib file in jabref and imported 
through lyx but when I compile the file for PDF in lyx it doesnt show the 
references!!!
I appreciate any kind of help.
Thank you very much.
Sharif


 From: Ray Rashif schivmeis...@gmail.com
To: William Hanson whan...@umn.edu 
Cc: LyX Users List lyx-users@lists.lyx.org 
Sent: Thursday, June 14, 2012 10:52 AM
Subject: Re: Inserting Citations
 
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: help regarding jabref to lyx

2012-06-14 Thread Y.A. Sharif


 Thank you, Ray Rashif.
But it is not working . I went to ToolsPreferencesPaths and set this to my 
pathC:\Users\sharify\AppData\Local\LyX20\bin\lyxpipe\lyxserver.in
But still its not working!! :((
Help needed .
Thanx.
Sharif



 From: Ray Rashif schivmeis...@gmail.com
To: Y.A. Sharif yasha...@yahoo.com 
Cc: lyx-users@lists.lyx.org lyx-users@lists.lyx.org 
Sent: Thursday, June 14, 2012 1:31 PM
Subject: Re: help regarding jabref to lyx
 
On 14 June 2012 23:13, Y.A. Sharif yasha...@yahoo.com wrote:
  Dear Friends
 Can anyone help me regarding the input of reference through jabref to lyx?
 I tried several times but jabref mentions something about the path link in
 the lyx.
 I made the change but its not working.
 And I did the other way like, I made the bib file in jabref and imported
 through lyx but when I compile the file for PDF in lyx it doesnt show the
 references!!!
 I appreciate any kind of help.
 Thank you very much.
 Sharif

Google lyx jabref. Only the first few results are what you need.
Remember that only cited references will show up in the list of
references. Otherwise, you have some other problem, which requires
more information.

Please also remember to bottom-post (like I have done) if you were not
going to. See http://www.idallen.com/topposting.html


--
GPG/PGP ID: C0711BF1

help regarding jabref to lyx

2012-06-14 Thread Y.A. Sharif


 Dear Friends
Can anyone help me regarding the input of reference through jabref to lyx?
I tried several times but jabref mentions something about the path link in the 
lyx.
I made the change but its not working. 
And I did the other way like, I made the bib file in jabref and imported 
through lyx but when I compile the file for PDF in lyx it doesnt show the 
references!!!
I appreciate any kind of help.
Thank you very much.
Sharif


 From: Ray Rashif schivmeis...@gmail.com
To: William Hanson whan...@umn.edu 
Cc: LyX Users List lyx-users@lists.lyx.org 
Sent: Thursday, June 14, 2012 10:52 AM
Subject: Re: Inserting Citations
 
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: help regarding jabref to lyx

2012-06-14 Thread Y.A. Sharif


 Thank you, Ray Rashif.
But it is not working . I went to ToolsPreferencesPaths and set this to my 
pathC:\Users\sharify\AppData\Local\LyX20\bin\lyxpipe\lyxserver.in
But still its not working!! :((
Help needed .
Thanx.
Sharif



 From: Ray Rashif schivmeis...@gmail.com
To: Y.A. Sharif yasha...@yahoo.com 
Cc: lyx-users@lists.lyx.org lyx-users@lists.lyx.org 
Sent: Thursday, June 14, 2012 1:31 PM
Subject: Re: help regarding jabref to lyx
 
On 14 June 2012 23:13, Y.A. Sharif yasha...@yahoo.com wrote:
  Dear Friends
 Can anyone help me regarding the input of reference through jabref to lyx?
 I tried several times but jabref mentions something about the path link in
 the lyx.
 I made the change but its not working.
 And I did the other way like, I made the bib file in jabref and imported
 through lyx but when I compile the file for PDF in lyx it doesnt show the
 references!!!
 I appreciate any kind of help.
 Thank you very much.
 Sharif

Google lyx jabref. Only the first few results are what you need.
Remember that only cited references will show up in the list of
references. Otherwise, you have some other problem, which requires
more information.

Please also remember to bottom-post (like I have done) if you were not
going to. See http://www.idallen.com/topposting.html


--
GPG/PGP ID: C0711BF1

help regarding jabref to lyx

2012-06-14 Thread Y.A. Sharif


 Dear Friends
Can anyone help me regarding the input of reference through jabref to lyx?
I tried several times but jabref mentions something about the path link in the 
lyx.
I made the change but its not working. 
And I did the other way like, I made the bib file in jabref and imported 
through lyx but when I compile the file for PDF in lyx it doesnt show the 
references!!!
I appreciate any kind of help.
Thank you very much.
Sharif


 From: Ray Rashif 
To: William Hanson  
Cc: LyX Users List  
Sent: Thursday, June 14, 2012 10:52 AM
Subject: Re: Inserting Citations
 
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: help regarding jabref to lyx

2012-06-14 Thread Y.A. Sharif


 Thank you, Ray Rashif.
But it is not working . I went to Tools>Preferences>Paths and set this to my 
path>C:\Users\sharify\AppData\Local\LyX20\bin\lyxpipe\lyxserver.in
But still its not working!! :((
Help needed .
Thanx.
Sharif



 From: Ray Rashif <schivmeis...@gmail.com>
To: Y.A. Sharif <yasha...@yahoo.com> 
Cc: "lyx-users@lists.lyx.org" <lyx-users@lists.lyx.org> 
Sent: Thursday, June 14, 2012 1:31 PM
Subject: Re: help regarding jabref to lyx
 
On 14 June 2012 23:13, Y.A. Sharif <yasha...@yahoo.com> wrote:
>  Dear Friends
> Can anyone help me regarding the input of reference through jabref to lyx?
> I tried several times but jabref mentions something about the path link in
> the lyx.
> I made the change but its not working.
> And I did the other way like, I made the bib file in jabref and imported
> through lyx but when I compile the file for PDF in lyx it doesnt show the
> references!!!
> I appreciate any kind of help.
> Thank you very much.
> Sharif

Google "lyx jabref". Only the first few results are what you need.
Remember that only cited references will show up in the list of
references. Otherwise, you have some other problem, which requires
more information.

Please also remember to bottom-post (like I have done) if you were not
going to. See http://www.idallen.com/topposting.html


--
GPG/PGP ID: C0711BF1