From d39d6e92ed9b86a5c0a51bd4b48afc971a37e400 Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Sun, 14 Feb 2021 06:35:13 +0100 Subject: [PATCH] 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(+) diff --git a/lib/layouts/scrclass.inc b/lib/layouts/scrclass.inc index 1e340e8241..77be4650f6 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 1379f1c521..2331d48701 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 2a58b22e59..c7bff0e60a 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