[LyX/master] DocBook: implement svjour (still partial).
Thibaut Cuvelier
tcuvelier at lyx.org
Sun Oct 18 06:31:50 UTC 2020
commit c896bf19c963c3df1dea430f1486f2d85039abb4
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date: Sun Oct 18 09:00:01 2020 +0200
DocBook: implement svjour (still partial).
---
lib/layouts/paper.layout | 1 +
lib/layouts/scrclass.inc | 9 +++++++++
lib/layouts/svcommon.inc | 42 ++++++++++++++++++++++++++++++++++++++++--
3 files changed, 50 insertions(+), 2 deletions(-)
diff --git a/lib/layouts/paper.layout b/lib/layouts/paper.layout
index b3e854d..f0d4f55 100644
--- a/lib/layouts/paper.layout
+++ b/lib/layouts/paper.layout
@@ -157,6 +157,7 @@ Style SubTitle
Size Large
EndFont
HTMLTitle false
+ DocBookTag subtitle
End
diff --git a/lib/layouts/scrclass.inc b/lib/layouts/scrclass.inc
index 6e9e37f..5d40707 100644
--- a/lib/layouts/scrclass.inc
+++ b/lib/layouts/scrclass.inc
@@ -204,6 +204,7 @@ Style Title
Family Sans
Series Bold
EndFont
+ DocBookTag title
End
Style Subtitle
@@ -220,6 +221,11 @@ Style Author
Font
Size Larger
EndFont
+ DocBookTag personname
+ DocBookTagType paragraph
+ DocBookWrapperTag author
+ DocBookWrapperTagType inline
+ DocBookInInfo always
End
@@ -227,6 +233,9 @@ Style Date
Font
Size Larger
EndFont
+ DocBookTag date
+ DocBookTagType paragraph
+ DocBookInInfo always
End
diff --git a/lib/layouts/svcommon.inc b/lib/layouts/svcommon.inc
index e5af42c..08877a4 100644
--- a/lib/layouts/svcommon.inc
+++ b/lib/layouts/svcommon.inc
@@ -5,7 +5,7 @@
# Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich at informatik.uni-tuebingen.de>
# Transposed by Pascal André <andre at 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.
# 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
-Format 84
+Format 85
PageStyle Plain
@@ -33,6 +33,7 @@ Style Standard
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
+ DocBookTag para
End
Input stdcounters.inc
@@ -61,6 +62,9 @@ Style Title
Family Sans
Series Bold
EndFont
+ DocBookTag title
+ DocBookTagType paragraph
+ DocBookInInfo maybe
End
@@ -108,6 +112,10 @@ End
Style Part
Margin Static
Align Right
+ DocBookTag title
+ DocBookTagType paragraph
+ DocBookSectionTag part
+ DocBookForceAbstractTag partintro
End
## The following is a variant of style Part. It allows to place some
@@ -151,6 +159,9 @@ End
Style Chapter
Align Left
+ DocBookTag title
+ DocBookTagType paragraph
+ DocBookSectionTag chapter
End
Style ChapSubtitle
@@ -163,6 +174,7 @@ Style ChapSubtitle
Shape Up
Size large
EndFont
+ DocBookTag subtitle
End
@@ -176,6 +188,11 @@ Style ChapAuthor
Shape Up
Size normal
EndFont
+ DocBookTag personname
+ DocBookTagType paragraph
+ DocBookWrapperTag author
+ DocBookWrapperTagType inline
+ DocBookInInfo always
End
Style ChapMotto
@@ -339,6 +356,7 @@ Style Subtitle
Font
Size Large
EndFont
+ DocBookTag subtitle
End
Style Author
@@ -348,6 +366,11 @@ Style Author
Series Bold
Shape Italic
EndFont
+ DocBookTag personname
+ DocBookTagType paragraph
+ DocBookWrapperTag author
+ DocBookWrapperTagType inline
+ DocBookInInfo always
End
Style Institute
@@ -444,6 +467,11 @@ Style Abstract
ParSep 0
Align Block
AlignPossible Block, Left
+ DocBookAbstract true
+ DocBookInInfo always
+ DocBookWrapperTag abstract
+ DocBookWrapperMergeWithPrevious true
+ DocBookTag para
End
Style Abstract*
@@ -457,6 +485,12 @@ Style Abstract*
TextFont
Color Blue
EndFont
+ DocBookAbstract true
+ DocBookInInfo always
+ DocBookWrapperTag abstract
+ DocBookWrapperAttr role='not-printed'
+ DocBookWrapperMergeWithPrevious true
+ DocBookTag para
End
Style Keywords
@@ -478,6 +512,10 @@ Style Keywords
LabelFont
Series Bold
EndFont
+ DocBookTag keyword
+ DocBookTagType paragraph
+ DocBookWrapperTag keywordset
+ DocBookInInfo always
End
Style Dedication
More information about the lyx-cvs
mailing list