Bo Peng schrieb:

Yes. I will re-try.

1. checking latex configuration -> miktex package installation ->
install, and this time no error. Previous error message should be
caused by the same 'program files' problem.

Good that the installation was successful.

2. I am prompted to install packages during configuration, and when I
open a document using basic packages like natbib and fancyhdr. Is it
possible to install these packages by default?

No. I shipped MiKTeX's small version, because larger versions increase the installer package size and missing packages can be installed on the fly by MiKTeX. (I also want to support the TeXLive LaTeX-distribution and the package installation is different there.)

3. I try to open a file using beamer class. Lyx says beamer class is
not found. Despite the fact the miktex can fetch required packages
automatically, I have to install beamer manually and then run
re-configure.

Set MiKTeX's option to instal missing packages o the fly without asking and it should work without bothering you. (You need at first a syncronization with a mirror of MiKTeX's package repository. (Click in MiKTeX Options on the Package tab and syncronize with a package repository.)

The ideal way to handle this problem may be: (I know it is
non-trivial but the new configure.py should be able to add this
feature easily)  "lyx try to open a file of unknown class -> lyx calls
miktex and let it install this class -> lyx fetch a layout file from
some lyx repository (or raise an error saying no layout file) -> lyx
recognize this class without re-configuration -> lyx open a file."

You will write the new configure.py, right? then try it. I think that this is very difficult; and what about TexLive?

Anyway, if the 'program files' problem can be fixed, this installer
will be quite usable. Thank you!

What exactly is the 'program files' problem? You didn't described it or I missed an email from you.

regards Uwe

Reply via email to