From 46daa3865b70fa9413ba881453b2340c7f150e44 Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Sun, 15 Nov 2020 02:11:11 +0100 Subject: [PATCH] DocBook: missing support for customisation of layouts in inset arguments. --- src/insets/InsetLayout.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/insets/InsetLayout.cpp b/src/insets/InsetLayout.cpp index 64f361dbdd..c22aea9aed 100644 --- a/src/insets/InsetLayout.cpp +++ b/src/insets/InsetLayout.cpp @@ -732,6 +732,15 @@ void InsetLayout::readArgument(Lexer & lex) } else if (tok == "freespacing") { lex.next(); arg.free_spacing = lex.getBool(); + } else if (tok == "docbooktag") { + lex.next(); + arg.docbooktag = lex.getDocString(); + } else if (tok == "docbookattr") { + lex.next(); + arg.docbookattr = lex.getDocString(); + } else if (tok == "docbooktagtype") { + lex.next(); + arg.docbooktagtype = lex.getDocString(); } else { lex.printError("Unknown tag"); error = true;