add mcls classes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@6123 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2003-02-12 14:02:47 +00:00
parent efb67d05a6
commit 6c618decff
6 changed files with 146 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2003-02-12 Tomasz Luczak <tlu@technodat.com.pl>
* layouts/mwart.cls:
* layouts/mwbk.cls:
* layouts/mwrep.cls: new classes. Adaptation of the base classes
to polish typographical conventions.
2003-02-11 Angus Leeming <leeming@lyx.org>
* BasicLyX.pm: enable reLyX to recognise natbib citations.

View File

@ -1119,6 +1119,34 @@ The LyX layout file for this document class is still insufficiently tested.
\end_deeper
\layout Subsection
mwcls (mwart, mwbk, mwrep)
\layout Description
Found: @chk_mwart@
\layout Description
CTAN:
\family typewriter
macros/latex/contrib/supported/mwcls/
\layout Description
Notes: These document classes provide different versions of the base LaTeX
document classes
\family sans
article
\family default
,
\family sans
report
\family default
and
\family sans
book
\family default
.
They have been adapted to polish typesetting standards by Marcin Woliñski.
\layout Subsection
paper
\layout Description

45
lib/layouts/mwart.layout Normal file
View File

@ -0,0 +1,45 @@
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[mwart]{article (mwart)}
# mwart textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Transposed by Tomasz £uczak <tlu@technodat.com.pl>
# Heavily modifed and enhanced by serveral developers.
# Input general definitions
Input stdclass.inc
# There are no chapters in an article.
NoStyle Chapter
NoStyle Chapter*
MaxCounter Counter_Section
SecNumDepth 3
TocDepth 3
# Page styles
ClassOptions
PageStyle empty|plain|outer|headings|myheadings|uheadings|myuheadings
End
# 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

33
lib/layouts/mwbk.layout Normal file
View File

@ -0,0 +1,33 @@
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[mwart]{book (mwbk)}
# mwbk textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Transposed by Tomasz £uczak <tlu@technodat.com.pl>
# Heavily modifed and enhanced by serveral developers.
# Input general definitions
Input stdclass.inc
# Global parameters.
Sides 2
# Page styles
ClassOptions
PageStyle empty|plain|outer|headings|myheadings|uheadings|myuheadings
End
# There is no abstract environment in book.cls
NoStyle Abstract
# a few changes to the bibliography
Style Bibliography
TopSep 4
LabelString Bibliography
# label font definition
LabelFont
Series Bold
Size Huge
EndFont
End

27
lib/layouts/mwrep.layout Normal file
View File

@ -0,0 +1,27 @@
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[mwrep]{report (mwrep)}
# mwrep textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Transposed by Tomasz £uczak <tlu@technodat.com.pl>
# Heavily modifed and enhanced by serveral developers.
# Input general definitions
Input stdclass.inc
# a few changes to the bibliography
Style Bibliography
TopSep 4
LabelString Bibliography
# label font definition
LabelFont
Series Bold
Size Huge
EndFont
End
# Page styles
ClassOptions
PageStyle empty|plain|outer|headings|myheadings|uheadings|myuheadings
End

View File

@ -25,16 +25,16 @@ What's new
- when there is vertical space between paragraphs, the amount of space
is also indicated in the small/medium/large case [bug #814]
- reLyX improvements: support for natib citations, for 'm' column descriptors
in tables; a .lyx file generated by reLyX now says this.
- new classes mwart, mwbk and mwrep (adaptation of the base classes to
polish conventions)
- new "polski" keymap, useful for entering Polish on a QWERTY keyboard
- updated french translation of menus
- a LyX file generated by reLyX now says this.
- enable reLyX to handle natbib citations
- enable reLyX to handle 'm' column descriptors in tables.
** Bug fixes
- fix bug where opening the tabular dialog would mark the document as