DocBook: implement author for layouts that previously missed it.

This commit is contained in:
Thibaut Cuvelier 2020-11-27 04:40:16 +01:00
parent f52946e143
commit a397928f78
21 changed files with 103 additions and 0 deletions

View File

@ -141,6 +141,11 @@ Style Author
Font Font
Size Large Size Large
EndFont EndFont
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End

View File

@ -241,6 +241,11 @@ Style Author
Size Large Size Large
Series Medium Series Medium
EndFont EndFont
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End

View File

@ -191,6 +191,11 @@ Style Author
Size Normal Size Normal
Series Bold Series Bold
EndFont EndFont
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End

View File

@ -159,7 +159,9 @@ Style Author
Shape SmallCaps Shape SmallCaps
EndFont EndFont
DocBookTag personname DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always DocBookInInfo always
End End

View File

@ -160,9 +160,15 @@ Style Author
Argument 1 Argument 1
LabelString ORCID LabelString ORCID
ToolTip "Enter the 16 digit ORCID as xxxx-xxxx-xxxx-xxxx" ToolTip "Enter the 16 digit ORCID as xxxx-xxxx-xxxx-xxxx"
# TODO: In DocBook, this cannot be in the <personname>, it must be directly within <author>.
EndArgument EndArgument
Align Center Align Center
Margin Dynamic Margin Dynamic
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End
Style Affiliation Style Affiliation

View File

@ -89,6 +89,11 @@ Style Authors
Font Font
Size Large Size Large
EndFont EndFont
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End

View File

@ -1070,6 +1070,11 @@ Style Author
Size Largest Size Largest
Color Blue Color Blue
EndFont EndFont
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End
Style Institute Style Institute

View File

@ -218,6 +218,11 @@ Style Author
ParSep 1.5 ParSep 1.5
Align Center Align Center
AlignPossible Left, Right, Center AlignPossible Left, Right, Center
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End

View File

@ -70,6 +70,11 @@ Style Author
BottomSep 0.7 BottomSep 0.7
ParSep 0.7 ParSep 0.7
Align Left Align Left
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End

View File

@ -76,6 +76,11 @@ Style Author
LabelString "Surname" LabelString "Surname"
ToolTip "Surname" ToolTip "Surname"
EndArgument EndArgument
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End
Style Affil Style Affil

View File

@ -114,6 +114,11 @@ Style Author
LatexName author LatexName author
NewLine 0 NewLine 0
InTitle 1 InTitle 1
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End
Style Authors_Block Style Authors_Block

View File

@ -383,6 +383,11 @@ Style Author
Shape Italic Shape Italic
Color red Color red
EndFont EndFont
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End

View File

@ -55,6 +55,11 @@ Style Author
Preamble Preamble
\newcommand{\setauthor}[1]{\def\theAuthor{#1}} \newcommand{\setauthor}[1]{\def\theAuthor{#1}}
EndPreamble EndPreamble
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End

View File

@ -150,6 +150,11 @@ Style Author
Font Font
Size Large Size Large
EndFont EndFont
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End

View File

@ -92,6 +92,11 @@ Style Author
Font Font
Size Large Size Large
EndFont EndFont
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End
# Title style definition # Title style definition

View File

@ -204,6 +204,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

View File

@ -175,6 +175,11 @@ Style Author
LeftMargin MM LeftMargin MM
Align Left Align Left
LabelType No_Label LabelType No_Label
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End

View File

@ -85,6 +85,11 @@ Style Author
Size Large Size Large
Color Blue Color Blue
EndFont EndFont
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End
### ###

View File

@ -235,6 +235,11 @@ Style Author
Size Large Size Large
Shape Smallcaps Shape Smallcaps
EndFont EndFont
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End

View File

@ -177,6 +177,11 @@ Style Author
Family Sans Family Sans
Size Normal Size Normal
EndFont EndFont
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End

View File

@ -74,6 +74,11 @@ Style Authorinfo
Series Bold Series Bold
Shape Italic Shape Italic
EndFont EndFont
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType inline
DocBookInInfo always
End End