I have the same problem as posted here:
How to Install an Unavailable Document Class for LyX on Windows
I want to install the unavailable class LNCS in Lyx 2.2.2. I've tried those steps in the link but it still doesn't work. The Latex error message
File 'llncs.cls' not found
appears in Lyx when I run a template that uses LNCS class.
Please help!
Best Answer
I found the problem,
A little clarification for those who want to install a class in LyX. Please follow these steps that are mentioned in the previous link:
Step 0:
Quit LyX
Step 1:
Download
llncs2e.zip
, which containsllncs.cls
andllncsdoc.sty
. I just googled for a download link and got mine from here.Step 2:
Copy those files to the folder
...\MiKTeX 2.7\tex\latex\lncs
, where...\MiKTeX 2.7
is the folder in which MiKTeX is installed. On some systems, copy to... \MiKTeX 2.7\texmf\latex\lncs
. Thelncs
folder will probably need to be created.Mine was in
C:\Program Files (x86)\MiKTeX 2.9\tex\latex
, where I had to create thelncs
folder (which requires admin privilege escalation). I extractedllncs.cls
andllncsdoc.sty
to this folder.Step 3:
Run
from the command line.
Step 4:
Run MiKTeX Settings. Press "Refresh FNDB" under General. Then, possibly, "Update Formats".
Step 5:
Open LyX and select Tools -> Reconfigure
Very straightforward
But be sure to put the
llncs.cls
andllncsdoc.style
files in:PS. Create the folder
lncs
if it doesn't exist.