diff --git a/autotests/export/docbook/svglo.lyx b/autotests/export/docbook/svglo.lyx index 397f144cb9..8ffc7f93c4 100644 --- a/autotests/export/docbook/svglo.lyx +++ b/autotests/export/docbook/svglo.lyx @@ -208,7 +208,7 @@ more \begin_layout Standard Your text comes here. - Separate text sections with + \end_layout \end_body diff --git a/autotests/export/docbook/svglo.xml b/autotests/export/docbook/svglo.xml index 9615ca9917..47c242a877 100644 --- a/autotests/export/docbook/svglo.xml +++ b/autotests/export/docbook/svglo.xml @@ -4,16 +4,16 @@
Title -PACS code1 +PACS code1 PACS code2 -moreMSC code1 +moreMSC code1 MSC code2 -moreFirst keyword +moreFirst keyword Second keyword More Abstract text. -Your text comes here. Separate text sections with +Your text comes here.
\ No newline at end of file diff --git a/lib/layouts/stdinsets.inc b/lib/layouts/stdinsets.inc index 1147fa5094..2a842ab45d 100644 --- a/lib/layouts/stdinsets.inc +++ b/lib/layouts/stdinsets.inc @@ -89,6 +89,7 @@ InsetLayout Foot AddToToc footnote IsTocCaption true DocBookTag footnote + DocBookTagType inline End InsetLayout Foot:InTitle diff --git a/lib/layouts/svglobal3.layout b/lib/layouts/svglobal3.layout index 7a9083ae59..3e9503d3b3 100644 --- a/lib/layouts/svglobal3.layout +++ b/lib/layouts/svglobal3.layout @@ -72,10 +72,14 @@ InsetLayout Flex:PACS CopyStyle Flex:Keywords LatexName PACS LabelString "PACS" - DocBookTag subject - DocBookTagType paragraph - DocBookWrapperTag subjectset - DocBookWrapperAttr role='pacs' + DocBookTag subjectset + DocBookAttr role='pacs' + DocBookItemWrapperTag subject + DocBookItemWrapperTagType paragraph + DocBookItemTag subjectterm + DocBookItemTagType inline + DocBookWrapperTag NONE + DocBookWrapperAttr "" DocBookInInfo always End @@ -83,10 +87,14 @@ InsetLayout Flex:Subclass CopyStyle Flex:Keywords LatexName subclass LabelString "Mathematics Subject Classification" - DocBookTag subject - DocBookTagType paragraph - DocBookWrapperTag subjectset - DocBookWrapperAttr role='mcs' + DocBookTag subjectset + DocBookAttr role='mcs' + DocBookItemWrapperTag subject + DocBookItemWrapperTagType paragraph + DocBookItemTag subjectterm + DocBookItemTagType inline + DocBookWrapperTag NONE + DocBookWrapperAttr "" DocBookInInfo always End @@ -94,10 +102,14 @@ InsetLayout Flex:CRSC CopyStyle Flex:PACS LatexName CRclass LabelString "CR Subject Classification" - DocBookTag subject - DocBookTagType paragraph - DocBookWrapperTag subjectset - DocBookWrapperAttr role='crsc' + DocBookTag subjectset + DocBookAttr role='crsc' + DocBookItemWrapperTag subject + DocBookItemWrapperTagType paragraph + DocBookItemTag subjectterm + DocBookItemTagType inline + DocBookWrapperTag NONE + DocBookWrapperAttr "" DocBookInInfo always End diff --git a/src/insets/InsetERT.cpp b/src/insets/InsetERT.cpp index 1af67e1e31..e86724dc63 100644 --- a/src/insets/InsetERT.cpp +++ b/src/insets/InsetERT.cpp @@ -122,6 +122,11 @@ void InsetERT::docbook(XMLStream & xs, OutputParams const & runparams) const break; } +// // Implement the special case of \and: split the current item. +// if (os.str() == "\\and" || os.str() == "\\and ") { +// auto lay = getLayout(); +// } + // Output the ERT as a comment with the appropriate escaping. xs << XMLStream::ESCAPE_NONE << "