DocBook: add support for short titles.

Currently, the DocBook output is not valid. This is solved by the next two commits.
This commit is contained in:
Thibaut Cuvelier 2021-02-14 06:35:13 +01:00
parent 3a5625264d
commit ba672f7f79
3 changed files with 9 additions and 0 deletions

View File

@ -142,6 +142,7 @@ Style Addpart
LabelString "Short Title|S"
Tooltip "The part as it appears in the table of contents/running headers"
InsertCotext 1
DocBookTag titleabbrev
EndArgument
End
@ -153,6 +154,7 @@ Style Addchap
LabelString "Short Title|S"
Tooltip "The chapter as it appears in the table of contents/running headers"
InsertCotext 1
DocBookTag titleabbrev
EndArgument
End
@ -164,6 +166,7 @@ Style Addsec
LabelString "Short Title|S"
Tooltip "The section as it appears in the table of contents/running headers"
InsertCotext 1
DocBookTag titleabbrev
EndArgument
End
@ -318,6 +321,7 @@ InsetLayout Caption:Above
LabelString "Short Title|S"
Tooltip "The caption as it appears in the list of figures/tables"
InsertCotext 1
DocBookTag titleabbrev
EndArgument
HTMLStyle
div.float-caption {
@ -341,6 +345,7 @@ InsetLayout Caption:Below
LabelString "Short Title|S"
Tooltip "The caption as it appears in the list of figures/tables"
InsertCotext 1
DocBookTag titleabbrev
EndArgument
HTMLStyle
div.float-caption {

View File

@ -694,6 +694,7 @@ InsetLayout Caption:Standard
LabelString "Short Title|S"
Tooltip "The caption as it appears in the list of figures/tables"
InsertCotext 1
DocBookTag titleabbrev
EndArgument
HTMLStyle
div.float-caption {

View File

@ -33,6 +33,7 @@ Style Part
Tooltip "The part as it appears in the table of contents/running headers"
InsertCotext 1
IsTocCaption 1
DocBookTag titleabbrev
EndArgument
Font
Series Bold
@ -75,6 +76,7 @@ Style Chapter
Tooltip "The chapter as it appears in the table of contents/running headers"
InsertCotext 1
IsTocCaption 1
DocBookTag titleabbrev
EndArgument
Font
Series Bold
@ -114,6 +116,7 @@ Style Section
Tooltip "The section as it appears in the table of contents/running headers"
InsertCotext 1
IsTocCaption 1
DocBookTag titleabbrev
EndArgument
Font
Series Bold