[LyX/master] DocBook: implement ectaart.
Thibaut Cuvelier
tcuvelier at lyx.org
Sat Nov 28 03:28:02 UTC 2020
commit 5d996f4fffe8bf84179018209f85cd4595a7b7ae
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date: Sat Nov 28 01:32:48 2020 +0100
DocBook: implement ectaart.
---
lib/layouts/copernicus.layout | 5 +++++
lib/layouts/ectaart.layout | 32 ++++++++++++++++++++++++++++----
2 files changed, 33 insertions(+), 4 deletions(-)
diff --git a/lib/layouts/copernicus.layout b/lib/layouts/copernicus.layout
index 8eff50b..c102bf3 100644
--- a/lib/layouts/copernicus.layout
+++ b/lib/layouts/copernicus.layout
@@ -245,6 +245,11 @@ Style Abstract
TopSep 1.3
BottomSep 0.7
ParSep 0.7
+ DocBookAbstract true
+ DocBookInInfo always
+ DocBookWrapperTag abstract
+ DocBookWrapperMergeWithPrevious true
+ DocBookTag para
End
Style Statements
diff --git a/lib/layouts/ectaart.layout b/lib/layouts/ectaart.layout
index 6204926..2250b9c 100644
--- a/lib/layouts/ectaart.layout
+++ b/lib/layouts/ectaart.layout
@@ -34,6 +34,9 @@ Style RunTitle
LabelFont
Color Red
EndFont
+ DocBookTag titleabbrev
+ DocBookTagType paragraph
+ DocBookInInfo maybe
End
Style RunAuthor
@@ -41,6 +44,9 @@ Style RunAuthor
LatexType Command
LatexName runauthor
LabelString "Running Author:"
+ DocBookTag authorinitials
+ DocBookTagType paragraph
+ DocBookInInfo maybe
End
Style Abstract
@@ -61,6 +67,11 @@ Style Abstract
Size Normal
Series Medium
EndFont
+ DocBookAbstract true
+ DocBookInInfo always
+ DocBookWrapperTag abstract
+ DocBookWrapperMergeWithPrevious true
+ DocBookTag para
End
Style Address
@@ -71,6 +82,8 @@ Style Address
Tooltip "Optional argument for the address"
EndArgument
LabelString "Address:"
+ DocBookInInfo always
+ DocBookTag address
End
Style Email
@@ -95,18 +108,24 @@ Style Email
Size Normal
Color Blue
EndFont
- Preamble
+ Preamble
\def\lyxead[#1]#2{\ead[label=#1]{#2}}
- EndPreamble
+ EndPreamble
+ DocBookTag email
+ DocBookWrapperTag address
+ DocBookInInfo always
End
Style Web_Address
CopyStyle Email
LatexName lyxeadurl
LabelString "Web address:"
- Preamble
+ Preamble
\def\lyxeadurl[#1]#2{\ead[label=#1,url]{#2}}
- EndPreamble
+ EndPreamble
+ DocBookTag uri
+ DocBookWrapperTag address
+ DocBookInInfo always
End
Style Author
@@ -126,6 +145,11 @@ Style Authors_Block
LatexType Environment
LatexName aug
LabelString "Authors Block:"
+ DocBookTag personname
+ DocBookTagType paragraph
+ DocBookWrapperTag author
+ DocBookWrapperTagType inline
+ DocBookInInfo always
End
Style Keyword
More information about the lyx-cvs
mailing list