Hi Paul,

Thanks for the explanation.

Note that I used `aa.lyx' as an example (I don't (wanna) use it (I
guess)).

I wrote it more to make a point that this is confusing for a novice
user:

Setup, enter, enter, try feature, fails => confused

(MikTeX is quite an elaborate setup so a novice cannot be confident that
the setup went 100% error free/complete).

(Oke, RTM, but still...)

I guess this is inherent to a system that relies on many other systems,
so a solution is not so easy I guess. What the developers could do is to
put some more info in the error message, e.g. what you wrote below. 


Met vriendelijke groet,

Peter Hegt
Project Manager
Phidias development solutions
Lange Dreef 11 D    4131 NJ Vianen
www: www.phidias.nl    telefoon: 0347-32 47 50    fax: 0347-32 47 55
mailto: [EMAIL PROTECTED]    msn: [EMAIL PROTECTED]    skype:
peterhegt
PGP/GNuPG public key at: http://blackhole.pca.dfn.de/

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Paul A. Rubin
Sent: donderdag 2 februari 2006 20:47
To: lyx-users@lists.lyx.org
Subject: Re: LyX 1.3.7 Win32 + MikTeX 2.4.1461: New LyX document from
template fails (for many templates) with error missing TeX class

Peter Hegt wrote:
> Hi
> 
> In LyX 1.3.7 Win32 + MikTeX 2.4.1461:
> 
> Trying to create a new LyX document from template fails for many 
> templates with error missing TeX class.
> 
> For example:
> 
> aa.lyx results in:
> 
> ``Textclass error
> 
> The document uses a missing TeX class "aa".
> LyX will not be able to produce output."
> 
> I did a MikTeX refresh file name database and refresh format files. 
> That didn't help.
> 
> I did a search in c:\texmf for aa.*; only aa.4ht shows up.
> 
> I have done a full install of MikTeX (and an update today).
> 

As far as I know, 'aa' is not available as part of the MiKTeX
distribution.  If you want to use it, you need to download it, install
it manually, then update the MiKTeX file database.  In LyX, Help->LaTeX
Configuration will display a list of what LyX looks for and what it
found, and in many case (including 'aa') a pointer to where you can find
it on CTAN.  Broadway is another class that is not available within
MiKTeX but for which LyX has a layout.

Note that, after installing classes in MiKTeX, you need to start LyX,
run Edit->Reconfigure, wait for the configuration script to complete,
then close and restart LyX to get the benefit of the new classes.

/Paul

Reply via email to