>>Hicham Mouline wrote:
>>Hello, I've asked about this before but I never got around to finish it.
>>On opening Help/Math, I get this error

>>Warning: Document class not available
>>----------------------------------------
>>The layout file requested by this document,
>>scrartcl.layout,
>>is not usable. This is probably because a LaTeX
>>class or style file required by it is not
>>available. See the Customization documentation
>>for more information.
>>LyX will not be able to produce output.
>Do you have the KomaScript package installed? If you run 'kpsewhich
scrartcl.cls' in a terminal >window/command shell, does it find the class
file?
>/Paul

Hello,
C:\Program Files\LyX16\bin>kpsewhich scrartcl.cls
C:/Program Files/MiKTeX 2.7/tex/latex/koma-script/scrartcl.cls

I had some UNC issues though, when I start lyx from cmd,
C:\Program Files\LyX16\bin>lyx
LyX: reconfiguring user directory
'\\xxxxx.com\xxxxx\UserData-LN\hicham.mouline\Application Data\lyx16'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.
configure: TeX engine needs windows-style paths in latex files

I forced lyx to start with -userdir "C:\Documents and
Settings\hicham.mouline"
then that works perfectly.

Thanks very much,

Reply via email to