Hi there,
Does anyone know if anything changed from version 1.4.2 to 1.5.x regarding the
layout file and especially with regard to the preamble section on such a
file? I have my one document class layout file (modification of article
class) with a preamble section at the start. This worked fine with all
versions of LyX until I upgraded to 1.5.1 - now it seems everything after the
start of the preamble section is ignored.
Any help would be greatly appreciated. I include a copy of my layout file as
an attachment.
Erwin Müller
CompuSim AB
Sweden
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[article]{MGRAC_report}
# Article textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <[EMAIL PROTECTED]>
# Transposed by Pascal André <[EMAIL PROTECTED]>
# Heavily modified and enhanced by several developers.
# Preamble for MGRAC report inserted by Erwin Müller <[EMAIL PROTECTED]>
Preamble
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{array}
\usepackage{setspace}
\usepackage{graphics}
\usepackage{graphicx}
\pagestyle{fancy}
\usepackage[bookmarks, bookmarksopen=true,
bookmarksnumbered=true]{hyperref}
\addtolength{\headheight}{10mm}
\renewcommand{\headrulewidth}{0.8pt}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\sectionmark}[1]{\markboth{#1}{}}
\lhead{\leftmark}
\rhead{Page \thepage\ of \pageref{LastPage}}
[EMAIL PROTECTED]
\renewcommand{\theequation}{\thesection.\arabic{equation}}
[EMAIL PROTECTED]
\renewcommand{\thetable}{\thesection.\arabic{table}}
[EMAIL PROTECTED]
\renewcommand{\thefigure}{\thesection.\arabic{figure}}
\widowpenalty=10000
\clubpenalty=10000
\raggedbottom
\chead{MGRAC: MODEL\vspace{4mm}}
\date{}
\lfoot{May, 5, 2004}
\rfoot{Revision 0}
\cfoot{PROPRIETARY\\\vspace{2mm}Copyright © 2004 NECSA, CompuSim AB}
EndPreamble
# Input general definitions
Input stdclass.inc
# There are no chapters in an article.
NoStyle Chapter
NoStyle Chapter*
MaxCounter Counter_Section
SecNumDepth 3
TocDepth 3
# Change a bit Part and Part*
Style Part
Align Left
AlignPossible Left
TopSep 2
BottomSep 1.5
Font
Size Larger
EndFont
End
Style Part*
Align Left
AlignPossible Left
TopSep 2
BottomSep 1.5
Font
Size Larger
EndFont
End