]> git.lyx.org Git - features.git/commitdiff
Highlight limitations of current multicol DocBook implementation.
authorThibaut Cuvelier <thibaut@tcuvelier.be>
Tue, 1 Aug 2023 01:27:18 +0000 (21:27 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Tue, 1 Aug 2023 01:28:42 +0000 (21:28 -0400)
lib/layouts/multicol.module

index 3d407544322309d99926730520ab786cfb90156b..c3148ffbac6c374926647ca7193edd5731ff202b 100644 (file)
@@ -38,6 +38,16 @@ InsetLayout Flex:Multiple_Columns
        DocBookTag      IGNORE
   EndArgument
   ResetsFont        true
+
+  # The current DocBook implementation is quite lacking, but it would require
+  # a lot more C++ code to have perfect output. The major problem: not all
+  # elements within a column should be wrapped in an item. It has been
+  # designed for pure text (like in Modules > Page Layout > Multiple Columns,
+  # the excerpt of "The Adventure of the Empty House"), it produces wrong
+  # output for lists (such as Document classes > Articles > Astronomy >
+  # Supported environments, the Columns flex only contains a list). Columns
+  # within columns are not supported either (as in Modules > Page Layout >
+  # Multiple Columns > Columns inside Columns).
   DocBookWrapperTag NONE
   DocBookTag        NONE
   DocBookNotInPara  true