[LyX/master] DocBook: use DocBookArgumentAfterMainTag for short titles.

Thibaut Cuvelier tcuvelier at lyx.org
Wed Feb 17 21:50:01 UTC 2021


commit d39d6e92ed9b86a5c0a51bd4b48afc971a37e400
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date:   Sun Feb 14 06:35:13 2021 +0100

    DocBook: use DocBookArgumentAfterMainTag for short titles.
---
 lib/layouts/scrclass.inc    |    5 +++++
 lib/layouts/stdinsets.inc   |    1 +
 lib/layouts/stdsections.inc |    3 +++
 3 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/lib/layouts/scrclass.inc b/lib/layouts/scrclass.inc
index 1e340e8..77be465 100644
--- a/lib/layouts/scrclass.inc
+++ b/lib/layouts/scrclass.inc
@@ -143,6 +143,7 @@ Style Addpart
 		Tooltip       "The part as it appears in the table of contents/running headers"
 		InsertCotext  1
         DocBookTag    titleabbrev
+        DocBookArgumentAfterMainTag  true
 	EndArgument
 End
 
@@ -155,6 +156,7 @@ Style Addchap
 		Tooltip       "The chapter as it appears in the table of contents/running headers"
 		InsertCotext  1
         DocBookTag    titleabbrev
+        DocBookArgumentAfterMainTag  true
 	EndArgument
 End
 
@@ -167,6 +169,7 @@ Style Addsec
 		Tooltip       "The section as it appears in the table of contents/running headers"
 		InsertCotext  1
         DocBookTag    titleabbrev
+        DocBookArgumentAfterMainTag  true
 	EndArgument
 End
 
@@ -322,6 +325,7 @@ InsetLayout Caption:Above
 		Tooltip       "The caption as it appears in the list of figures/tables"
 		InsertCotext  1
         DocBookTag    titleabbrev
+        DocBookArgumentAfterMainTag  true
 	EndArgument
 	HTMLStyle
 		div.float-caption {
@@ -346,6 +350,7 @@ InsetLayout Caption:Below
 		Tooltip       "The caption as it appears in the list of figures/tables"
 		InsertCotext  1
         DocBookTag    titleabbrev
+        DocBookArgumentAfterMainTag  true
 	EndArgument
 	HTMLStyle
 		div.float-caption {
diff --git a/lib/layouts/stdinsets.inc b/lib/layouts/stdinsets.inc
index 1379f1c..2331d48 100644
--- a/lib/layouts/stdinsets.inc
+++ b/lib/layouts/stdinsets.inc
@@ -695,6 +695,7 @@ InsetLayout Caption:Standard
 		Tooltip       "The caption as it appears in the list of figures/tables"
 		InsertCotext  1
         DocBookTag    titleabbrev
+        DocBookArgumentAfterMainTag  true
 	EndArgument
 	HTMLStyle
 		div.float-caption {
diff --git a/lib/layouts/stdsections.inc b/lib/layouts/stdsections.inc
index 2a58b22..c7bff0e 100644
--- a/lib/layouts/stdsections.inc
+++ b/lib/layouts/stdsections.inc
@@ -34,6 +34,7 @@ Style Part
 		InsertCotext  1
 		IsTocCaption  1
         DocBookTag    titleabbrev
+        DocBookArgumentAfterMainTag  true
 	EndArgument
 	Font
 	  Series              Bold
@@ -77,6 +78,7 @@ Style Chapter
 		InsertCotext  1
 		IsTocCaption  1
         DocBookTag    titleabbrev
+        DocBookArgumentAfterMainTag  true
 	EndArgument
 	Font
 	  Series              Bold
@@ -117,6 +119,7 @@ Style Section
 		InsertCotext  1
 		IsTocCaption  1
         DocBookTag    titleabbrev
+        DocBookArgumentAfterMainTag  true
 	EndArgument
 	Font
 	  Series              Bold


More information about the lyx-cvs mailing list