layout for the svjour3 class, it is adoption of the existing svjour layout by John Perry, fixes http://bugzilla.lyx.org/show_bug.cgi?id=5154

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26195 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-08-16 22:46:30 +00:00
parent b0fced20e1
commit 6e6960ecd6
6 changed files with 555 additions and 16 deletions

View File

@ -39,6 +39,8 @@ Function UpdateModifiedFiles
File "${PRODUCT_SOURCEDIR}\Resources\examples\de\splash.lyx"
SetOutPath "$INSTDIR\Resources\layouts"
File "${PRODUCT_SOURCEDIR}\Resources\layouts\singlecol.layout"
File "${PRODUCT_SOURCEDIR}\Resources\layouts\svglobal3.layout"
File "${PRODUCT_SOURCEDIR}\Resources\layouts\svjour3.inc"
SetOutPath "$INSTDIR\Resources\lyx2lyx" # always here
File "${PRODUCT_SOURCEDIR}\Resources\lyx2lyx\lyx2lyx_version.py" # always here
SetOutPath "$INSTDIR\Resources\scripts"

View File

@ -2789,6 +2789,7 @@ lib_layouts_files = Split('''
slides.layout
spie.layout
svglobal.layout
svglobal3.layout
svjog.layout
svprobth.layout
''')
@ -2833,6 +2834,7 @@ lib_layouts_inc_files = Split('''
stdstruct.inc
stdtitle.inc
svjour.inc
svjour3.inc
''')

View File

@ -912,6 +912,13 @@ dist_layouts_DATA =\
layouts/aapaper.inc \
layouts/aapaper.layout \
layouts/aastex.layout \
layouts/agu-dtd.layout \
layouts/agu_stdclass.inc \
layouts/agu_stdcounters.inc \
layouts/agu_stdlists.inc \
layouts/agu_stdsections.inc \
layouts/agu_stdtitle.inc \
layouts/agums.layout \
layouts/aguplus.inc \
layouts/amsart-plain.layout \
layouts/amsart-seq.layout \
@ -958,6 +965,7 @@ dist_layouts_DATA =\
layouts/foils.layout \
layouts/g-brief-de.layout \
layouts/g-brief-en.layout \
layouts/g-brief2.layout \
layouts/heb-article.layout \
layouts/heb-letter.layout \
layouts/hollywood.layout \
@ -978,10 +986,14 @@ dist_layouts_DATA =\
layouts/ltugboat.layout \
layouts/lyxmacros.inc \
layouts/manpage.layout \
layouts/memoir.layout \
layouts/moderncv.layout \
layouts/mwart.layout \
layouts/mwbk.layout \
layouts/mwrep.layout \
layouts/numarticle.inc \
layouts/numreport.inc \
layouts/numrevtex.inc \
layouts/paper.layout \
layouts/powerdot.layout \
layouts/report.layout \
@ -1010,22 +1022,12 @@ dist_layouts_DATA =\
layouts/stdstarsections.inc \
layouts/stdstruct.inc \
layouts/stdtitle.inc \
layouts/svglobal.layout \
layouts/svglobal3.layout \
layouts/svjog.layout \
layouts/svjour.inc \
layouts/svprobth.layout \
layouts/agums.layout \
layouts/memoir.layout \
layouts/numarticle.inc \
layouts/numreport.inc \
layouts/numrevtex.inc \
layouts/agu-dtd.layout \
layouts/agu_stdclass.inc \
layouts/agu_stdcounters.inc \
layouts/agu_stdlists.inc \
layouts/agu_stdsections.inc \
layouts/agu_stdtitle.inc \
layouts/g-brief2.layout \
layouts/svglobal.layout
layouts/svjour3.inc \
layouts/svprobth.layout
scriptsdir = $(pkgdatadir)/scripts
# Note that we "chmod 755" manually these files in install-data-hook.

View File

@ -0,0 +1,50 @@
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[svjour3,svglov3.clo]{article (Springer svjour3/global)}
# svjour3/global3 (article) textclass definition file.
# for various Springer Verlag Journals for which no specific file exists (Global).
# --------
#
# Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modified and enhanced by serveral developers.
#
# --------
# Adapted from svjour/jog by Cengiz Gunay in 2003.
#
# General textclass parameters
# (global) ?
#
# see www.springer.de/author/tex/help-journals.html for class files
#
# The standard Springer Journal sections
Format 4
Input svjour3.inc
ClassOptions
Other global
End
# Abstract style definition
Style Abstract
Margin First_Dynamic
LatexType Command
LatexName abstract
Newline 1
NextNoIndent 0
ParIndent MM
LabelSep xx
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0
Align Block
AlignPossible Block, Left
LabelType Top_Environment
LabelString "Abstract."
# label font definition
LabelFont
Series Bold
EndFont
End

482
lib/layouts/svjour3.inc Normal file
View File

@ -0,0 +1,482 @@
# svjour3 (article) textclass definition file for inclusion.
# for Springer Verlag journals
# --------
#
# Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modified and enhanced by serveral developers.
#
# --------
# ejour2 made originally by Martin Vermeer based on article.layout.
# Modified for LyX 1.2 by Jean-Marc Lasgouttes and MV.
# Minor change for LyX 1.3.3 by Cengiz Gunay.
#
# Adapted for new svjour3 LaTeX2e classes published by Springer in 1999;
# work done by MV in 2000.
#
# see www.springer.de/author/tex/help-journals.html for class files
Format 4
Columns 2
Sides 1
PageStyle Plain
Style Standard
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
Input stdsections.inc
Input stdstarsections.inc
Input stdlayouts.inc
Input stdlists.inc
Input stdfloats.inc
Input stdcounters.inc
NoStyle Part
NoStyle Part*
NoStyle Chapter
NoStyle Chapter*
Style Section
Font
Series Medium
Series Bold
Size Normal
EndFont
End
Style Subsection
Font
Series Medium
Shape Italic
Size Normal
EndFont
End
Style Subsubsection
Font
Series Medium
Shape Up
Size Normal
EndFont
End
Style Paragraph
Font
Series Medium
Shape Italic
Size Normal
EndFont
End
Style Subparagraph
Font
Series Medium
Shape Up
Size Normal
EndFont
End
Style Headnote
Margin Static
LatexType Command
InTitle 1
LatexName headnote
NextNoIndent 1
LeftMargin "HeadNote (optional):xxx"
LabelSep xxx
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Left
AlignPossible Left
LabelType Static
LabelString "Headnote (optional):"
LabelFont
Series Bold
Shape Italic
Color Red
EndFont
End
Style Dedication
CopyStyle Headnote
LatexName dedication
LeftMargin Dedication:xxx
LabelString "Dedication:"
End
Style Title
Margin Static
LatexType Command
InTitle 1
LatexName title
NextNoIndent 1
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Left
AlignPossible Block, Center, Left, Right, Center
LabelType No_Label
Fill_Top 1
Fill_Bottom 1
Font
Family Sans
Series Bold
Size Largest
EndFont
End
Style Subtitle
Margin Static
LatexType Command
InTitle 1
LatexName subtitle
NextNoIndent 1
ParSkip 0.4
ItemSep 0
TopSep 0
BottomSep 0
ParSep 0
Align Left
AlignPossible Left
LabelType No_Label
Font
Family Sans
Series Bold
Size Large
EndFont
End
Style Running_LaTeX_Title
CopyStyle Headnote
LatexName titlerunning
LeftMargin "Running title:xxx"
LabelString "Running title:"
End
Style Author
Margin Static
LatexType Command
InTitle 1
LatexName author
NextNoIndent 1
ParSkip 0.4
TopSep 0.7
BottomSep 0.7
ItemSep 0
ParSep 0
Align Left
AlignPossible Left
LabelType No_Label
Font
Series Bold
Shape Italic
EndFont
End
Style Author_Running
CopyStyle Headnote
LatexName authorrunning
LeftMargin "Author Running:xxx"
LabelString "Author Running:"
End
Style Institute
Margin Static
LatexType Command
InTitle 1
LatexName institute
NextNoIndent 1
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Left
AlignPossible Left
LabelType No_Label
Font
Size Small
EndFont
End
Style Date
CopyStyle Institute
LatexName date
End
Style Mail
CopyStyle Headnote
LatexName mail
LeftMargin "Corr Author:xx."
LabelString "Corr Author:"
End
Style Offprints
CopyStyle Headnote
LatexName offprints
LeftMargin "Offprints:xx."
LabelString "Offprints:"
End
Style Abstract
Margin First_Dynamic
LatexType Environment
LatexName abstract
NextNoIndent 0
ParIndent MM
LabelSep xx
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0
Align Block
AlignPossible Block, Left
LabelType Top_Environment
LabelString "Abstract."
LabelFont
Series Bold
EndFont
End
Style Keywords
Margin First_Dynamic
LatexType Command
LatexName keywords
NextNoIndent 0
ParIndent MM
LabelSep xx
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0
Align Block
AlignPossible Block, Left
LabelType Static
LabelString "Key words:"
LabelFont
Series Bold
EndFont
End
Style Acknowledgements
Margin First_Dynamic
LatexType Environment
LatexName acknowledgements
NextNoIndent 0
ParIndent MM
LabelSep xx
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0
Align Block
AlignPossible Block, Left
LabelType Static
LabelString "Acknowledgements."
Font
Size Small
EndFont
LabelFont
Shape Italic
Size Small
EndFont
End
Style Acknowledgement
CopyStyle Acknowledgements
LatexName acknowledgement
LabelString "Acknowledgement."
End
Style Bibliography
Margin First_Dynamic
LatexType Bib_Environment
LatexName thebibliography
NextNoIndent 1
LeftMargin MM
ParSkip 0.4
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0.5
Align Block
AlignPossible Block, Left
LabelType Bibliography
LabelString "References"
LabelBottomSep 0.7
LabelFont
Series Bold
EndFont
End
Style Claim
Margin First_Dynamic
LatexType Environment
LatexName claim
NextNoIndent 0
ParIndent MM
LabelSep xx
ItemSep 0
TopSep 0.5
BottomSep 0.5
ParSep 0
Align Block
AlignPossible Block, Left
LabelType Static
LabelString "Claim."
LabelFont
Shape Italic
EndFont
End
Style Conjecture
CopyStyle Claim
LatexName conjecture
LabelString "Conjecture #."
End
Style Corollary
CopyStyle Claim
LatexName corollary
LabelString "Corollary #."
Font
Shape Italic
EndFont
LabelFont
Shape Up
Series Bold
EndFont
End
Style Definition
CopyStyle Corollary
LatexName definition
LabelString "Definition #."
End
Style Example
CopyStyle Claim
LatexName example
LabelString "Example #."
End
Style Exercise
CopyStyle Claim
LatexName exercise
LabelString "Exercise #."
LabelFont
Shape Up
Series Bold
EndFont
End
Style Lemma
CopyStyle Corollary
LatexName lemma
LabelString "Lemma #."
End
Style Note
CopyStyle Claim
LatexName note
LabelString "Note #."
End
Style Problem
CopyStyle Exercise
LatexName problem
LabelString "Problem #."
End
Style Proof
CopyStyle Claim
LatexName proof
LabelString "Proof."
End
Style Property
CopyStyle Claim
LatexName property
LabelString "Property #."
End
Style Proposition
CopyStyle Claim
LatexName proposition
LabelString "Proposition #."
End
Style Question
CopyStyle Claim
LatexName question
LabelString "Question #."
End
Style Remark
CopyStyle Claim
LatexName remark
LabelString "Remark #."
End
Style Solution
CopyStyle Exercise
LatexName solution
LabelString "Solution #."
End
Style Theorem
CopyStyle Corollary
LatexName theorem
LabelString "Theorem #."
End

View File

@ -36,6 +36,8 @@ What's new
- New layout file for journal articles of the Inderscience publishing group.
- New layout file for the svjour3 class (journal articles of the Springer publishing group).
* USER INTERFACE
@ -65,8 +67,7 @@ What's new
- Fix undo for "text in math mode" (bug 3407).
- Fix undo for insertion of some math elements (e.g. delimiters)
directly from text mode. Note that these actions will require two
undo steps to be undone (bug 2449).
directly from text mode (bug 2449).
* DOCUMENTATION AND LOCALIZATION