Önder Gürcan wrote:
By the way, while opening the lyx file a message box appears "Using the
default document class, because the class ege is unknown" then another
box appears "Unknown layout Unknown layout ...". But as wrote before
everything was fine with 1.4.3. After 1.5.0rc2 texhash is fine, it finds
ege class, and TeX Information menu of LyX shows the class.

I thought one source for this problem might be a change in format of
layout files in 1.5.0rc2 but I couldn't figured out if there exists such
a change.

In the attachment you can find the clsFiles.lst in ~/.lyx and ege.layout
in ~/.lyx/layouts and ege.cls.


Well, all this is rather curious.

Yes, there has been a format change for layout files. In the LyX scripts directory, you'll see a Python script layout2layout.py for converting layouts. I ran it against your ege.layout, installed both the class and layout, and tried to use them in LyX 1.5.0rc1. LyX 1.5.0rc1 showed the ege.cls file in the LaTeX information but listed the layout as unavailable, even after a couple of reconfigurations. The reconfiguration script indicated it could not find ege.cls. After I upgraded to rc2, though, it worked. So possibly there was a bug in rc1, since fixed (?).

I've attached the converted layout file.  See if it works for you.

Cheers,
Paul
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{ege}
# Book textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich-jNDFPZUTrfQQDnmTUQnR1uqEdJ8o/[EMAIL 
PROTECTED]>
# Transposed by Pascal André <[EMAIL PROTECTED]>
# Heavily modifed and enhanced by serveral developers.


Format 4
Input stdclass.inc
Input numreport.inc


Sides           2
PageStyle       Headings


NoStyle Abstract
NoStyle Part
NoStyle Part*


Style Bibliography
        TopSep                4
        LabelString           "KAYNAKLAR"
        LabelFont
          Series              Bold
          Size                Huge
        EndFont
End

Reply via email to