[LyX/master] DocBook: do a little something for variable-width minipages.

Thibaut Cuvelier tcuvelier at lyx.org
Sun Nov 15 22:38:52 UTC 2020


commit 059b268e0d3b1e13cafbb93c996b6f492c36dddc
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date:   Mon Nov 16 00:08:11 2020 +0100

    DocBook: do a little something for variable-width minipages.
---
 development/autotests/invertedTests |    4 +++-
 lib/layouts/varwidth.module         |    2 ++
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/development/autotests/invertedTests b/development/autotests/invertedTests
index 437dea1..6ada298 100644
--- a/development/autotests/invertedTests
+++ b/development/autotests/invertedTests
@@ -492,7 +492,7 @@ export/examples/Articles/Chess/Game_2_docbook5
 # - Bicaption module would require some C++ implementation.
 export/examples(|/de|/fr|/ja)/Modules/Multilingual_Captions_docbook5
 # - European CV: hard to mix items and bibliographies.
-export/examples(|/de)/Curricula_Vitae/Europe_CV_docbook5
+export/examples(|/de|/es)/Curricula_Vitae/Europe_CV_docbook5
 # - Modern CV: columns cause problems.
 export/examples(|/es)/Curricula_Vitae/Modern_CV_docbook5
 # - Chess: multicol not supported.
@@ -506,6 +506,8 @@ export/export/docbook/Localization_Test_docbook5
 export/examples/Graphics_and_Insets/Minted_Listings_docbook5
 # - Sweave and other literate-programming tools cannot be implemented properly without the LaTeX tooling.
 export/examples/Modules/Sweave_docbook5
+# - Figures without image, only an equation.
+export/examples/Modules/Variable-width_Minipages_docbook5
 
 Sublabel: docbook poster
 # Posters cannot be properly exported, the LyX documents are too far from
diff --git a/lib/layouts/varwidth.module b/lib/layouts/varwidth.module
index d546d8e..94781d4 100644
--- a/lib/layouts/varwidth.module
+++ b/lib/layouts/varwidth.module
@@ -33,12 +33,14 @@ InsetLayout Flex:Minipage_(Var._Width)
   Argument 1
     LabelString 	"Vert. Adjustment"
     Tooltip 		"Vertical adjustment: c (center), t (top) or b (bottom)"
+    DocBookTag      IGNORE
   EndArgument
   Argument 2
     LabelString 	"Max. Width"
     Tooltip 		"Maximum width (default: \linewidth)"
     DefaultArg 		"\linewidth"
     Mandatory 		1
+    DocBookTag      IGNORE
   EndArgument
   Requires		varwidth
 End


More information about the lyx-cvs mailing list