DocBook: missing support for customisation of layouts in inset arguments.

This commit is contained in:
Thibaut Cuvelier 2020-11-15 02:11:11 +01:00
parent 045c8d6537
commit 46daa3865b

View File

@ -732,6 +732,15 @@ void InsetLayout::readArgument(Lexer & lex)
} else if (tok == "freespacing") { } else if (tok == "freespacing") {
lex.next(); lex.next();
arg.free_spacing = lex.getBool(); 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 { } else {
lex.printError("Unknown tag"); lex.printError("Unknown tag");
error = true; error = true;