On 12/14/2009 10:17 AM, Sergio Celani wrote:
El 13/12/2009 11:33 p.m., rgheck escribió:
On 12/13/2009 07:46 PM, Sergio Celani wrote:
Hi
I have some problems for to install a new layout.
I create a layout for the class au.cl of the journal Algebra
Universalis
http://www.math.umanitoba.ca/homepages/au/instructions.html
I assume you have saved this as au.cls? I don't know for sure, but
LyX may want to see the standard .cls extension.
First, I install the au.cl class in Miktex. The class is installed
correctly because I have checked with Texnicenter.
So take the amsar.layout (the au.class is a derived of the amsart.cl).
I change the \DeclareLaTeXClass{article (AMS)} by
\DeclareLaTeXClass[au]{AlgUniversalis (AU)}.
I record a new layout called alguniv.layout
In LyX run Reconfigure, closed and open Lyx. Open a new document.
So, I go Document => Settings -> Document Class and when I
select the new class is not available.
Do you see your layout there at all? Or is it marked unavailable?
If you don't see it at all, then where did you put your new layout
file? You might try saving it as au.layout, and deleting the "[au]"
optional argument. This is easier.
If it's marked unavailable, then the problem is that the configure.py
script is not finding the class for some reason. Try to reconfigure
again.
Richard
It is marked unavailable, in a computer with Windows 7, and other with
Windows Vista.
But, in a computer with Windows XP no problem (is the same layout, put
in the \layouts)
Maybe it's a problem of seven and vista.
OK, so the problem is that for some reason LyX isn't finding the
document class. Try it with as au.layout and no optional argument.
rh