DocBook: implement svjour (still partial).

This commit is contained in:
Thibaut Cuvelier 2020-10-18 09:00:01 +02:00
parent 7be7026386
commit c896bf19c9
3 changed files with 50 additions and 2 deletions

View File

@ -157,6 +157,7 @@ Style SubTitle
Size Large Size Large
EndFont EndFont
HTMLTitle false HTMLTitle false
DocBookTag subtitle
End End

View File

@ -204,6 +204,7 @@ Style Title
Family Sans Family Sans
Series Bold Series Bold
EndFont EndFont
DocBookTag title
End End
Style Subtitle Style Subtitle
@ -220,6 +221,11 @@ Style Author
Font Font
Size Larger Size Larger
EndFont EndFont
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End
@ -227,6 +233,9 @@ Style Date
Font Font
Size Larger Size Larger
EndFont EndFont
DocBookTag date
DocBookTagType paragraph
DocBookInInfo always
End End

View File

@ -5,7 +5,7 @@
# Taken from initial LyX source code # Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de> # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Transposed by Pascal André <andre@via.ecp.fr> # Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modified and enhanced by serveral developers. # Heavily modified and enhanced by several developers.
# -------- # --------
# ejour2 made originally by Martin Vermeer based on article.layout. # ejour2 made originally by Martin Vermeer based on article.layout.
# Modified for LyX 1.2 by Jean-Marc Lasgouttes and MV. # Modified for LyX 1.2 by Jean-Marc Lasgouttes and MV.
@ -19,7 +19,7 @@
# see http://www.springer.com/authors for class files and further instructions # see http://www.springer.com/authors for class files and further instructions
Format 84 Format 85
PageStyle Plain PageStyle Plain
@ -33,6 +33,7 @@ Style Standard
Align Block Align Block
AlignPossible Block, Left, Right, Center AlignPossible Block, Left, Right, Center
LabelType No_Label LabelType No_Label
DocBookTag para
End End
Input stdcounters.inc Input stdcounters.inc
@ -61,6 +62,9 @@ Style Title
Family Sans Family Sans
Series Bold Series Bold
EndFont EndFont
DocBookTag title
DocBookTagType paragraph
DocBookInInfo maybe
End End
@ -108,6 +112,10 @@ End
Style Part Style Part
Margin Static Margin Static
Align Right Align Right
DocBookTag title
DocBookTagType paragraph
DocBookSectionTag part
DocBookForceAbstractTag partintro
End End
## The following is a variant of style Part. It allows to place some ## The following is a variant of style Part. It allows to place some
@ -151,6 +159,9 @@ End
Style Chapter Style Chapter
Align Left Align Left
DocBookTag title
DocBookTagType paragraph
DocBookSectionTag chapter
End End
Style ChapSubtitle Style ChapSubtitle
@ -163,6 +174,7 @@ Style ChapSubtitle
Shape Up Shape Up
Size large Size large
EndFont EndFont
DocBookTag subtitle
End End
@ -176,6 +188,11 @@ Style ChapAuthor
Shape Up Shape Up
Size normal Size normal
EndFont EndFont
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End
Style ChapMotto Style ChapMotto
@ -339,6 +356,7 @@ Style Subtitle
Font Font
Size Large Size Large
EndFont EndFont
DocBookTag subtitle
End End
Style Author Style Author
@ -348,6 +366,11 @@ Style Author
Series Bold Series Bold
Shape Italic Shape Italic
EndFont EndFont
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End
Style Institute Style Institute
@ -444,6 +467,11 @@ Style Abstract
ParSep 0 ParSep 0
Align Block Align Block
AlignPossible Block, Left AlignPossible Block, Left
DocBookAbstract true
DocBookInInfo always
DocBookWrapperTag abstract
DocBookWrapperMergeWithPrevious true
DocBookTag para
End End
Style Abstract* Style Abstract*
@ -457,6 +485,12 @@ Style Abstract*
TextFont TextFont
Color Blue Color Blue
EndFont EndFont
DocBookAbstract true
DocBookInInfo always
DocBookWrapperTag abstract
DocBookWrapperAttr role='not-printed'
DocBookWrapperMergeWithPrevious true
DocBookTag para
End End
Style Keywords Style Keywords
@ -478,6 +512,10 @@ Style Keywords
LabelFont LabelFont
Series Bold Series Bold
EndFont EndFont
DocBookTag keyword
DocBookTagType paragraph
DocBookWrapperTag keywordset
DocBookInInfo always
End End
Style Dedication Style Dedication