Jianwei Huang wrote:
When I tried to see the pdf by using View->pdf (or pdflatex),> the acrobat started normally but with the following message:
"There was an error opening this document. The file does not exist."
Then I tried to export->PDF, nothing shows up. No pdf generated in my working directory.
If you've set the working directory in LyX's preferences and the pdf is also not created at least in LyX's \temp directory, start LyX from the command line with:
lyx -dbg 3
LyX will start with a console window, that shows additional informations. To identify the problem, export a test file by Export(pdflatex) and look what happens in the console window.
regards Uwe
p.s. You can also set permissions for the working directory to "everybody".