[LyX/master] DocBook: more explicit comment.

Thibaut Cuvelier tcuvelier at lyx.org
Sun Dec 26 00:58:13 UTC 2021


commit 51e92a5a97a35b80e47442c4aecb8c4c5c4df90b
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date:   Sun Dec 26 02:26:50 2021 +0100

    DocBook: more explicit comment.
---
 src/insets/InsetFloat.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/insets/InsetFloat.cpp b/src/insets/InsetFloat.cpp
index 3f4c0db..cb05e49 100644
--- a/src/insets/InsetFloat.cpp
+++ b/src/insets/InsetFloat.cpp
@@ -792,7 +792,8 @@ void docbookNoSubfigures(XMLStream & xs, OutputParams const & runparams, const I
 		hasCaption = !osCaptionContent.str().empty();
 	}
 
-	// Organisation: <float> <title if any/> <contents without title/> </float>.
+	// Organisation: <float with xml:id if any> <title if any/> <contents without title nor xml:id/> </float>.
+	// Titles and xml:id are generated with specific insets and must be dealt with using OutputParams.
 
 	// - Generate the attributes for the float tag.
 	docstring attr = docstring();


More information about the lyx-cvs mailing list