Dave Hewitt wrote:
Yes, it repeats that same error message and reversion to article with
your file (and three other things I subsequently tried). Can you explain
the proper line for the layout file that would implement the nrc1.sty as
a package, as you suggested?
As Richard suggested, let's debug this approach first.
One thing that comes to mind, but may be totally irrelevant, is the
location of the User directory. I am an administrator on the machine but
have a directory of my own:
C:\Documents and Settings\dhewitt\Application Data\lyx15
The Administrator one is of course:
C:\Documents and Settings\Administrator\Application Data\lyx15
All LyX tells me about the user directory is "~\Application Data\lyx15"
The tilde is Latin for "logged in user". Assuming you're logged in as
dhewitt (and not using the local administrator account), the first
directory you listed is your home.
In any case, if LyX does not see a layout file for nrc1, you won't find
it on the drop down list of classes. If it sees a layout file, when you
reconfigure it will test whether LaTeX has the class installed. If that
test fails, you'll see the NRC class listed on the drop down list, but
it will be prefixed with "Unavailable". So if it's there and not marked
unavailable, then (theoretically) LyX can find the layout file, LaTeX
can find the class file, and LyX knows that LaTeX can find the class file.
This is a bit of a long shot, but maybe you should try the following:
1. Open LyX and use File -> New to start a new document.
2. Save the (empty) document someplace.
3. Go to Document -> Settings... -> Document Class and confirm that the
document is initially article class. (This is the norm, but I think
it's possible that you could have changed the default document class to
something funky.)
4. Select the NRC class and click Ok.
4. Assuming that LyX snaps at you and switches to article, save that as
well, then post the before and after saved documents here. I'd like to
try converting them to NRC here just to see what happens.
Dave Hewitt
Fisheries Science/Crustacean Ecology
Aha, this may the culprit. Perhaps LyX just can't resist crabbing at you.
/Paul