diff --git a/lib/examples/Modules/LilyPond_Book.lyx b/lib/examples/Modules/LilyPond_Book.lyx index 05ee970d5a..9e65968916 100644 --- a/lib/examples/Modules/LilyPond_Book.lyx +++ b/lib/examples/Modules/LilyPond_Book.lyx @@ -1,5 +1,5 @@ #LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 600 +\lyxformat 608 \begin_document \begin_header \save_transient_properties true @@ -21,9 +21,9 @@ lilypond \font_default_family default \use_non_tex_fonts false \font_sc false +\font_roman_osf false \font_sans_osf false \font_typewriter_osf false -\font_roman_osf false \font_sf_scale 100 100 \font_tt_scale 100 100 \use_microtype false @@ -90,12 +90,16 @@ lilypond \papercolumns 1 \papersides 1 \paperpagestyle default +\tablestyle default \tracking_changes false -\postpone_fragile_content false \output_changes false +\change_bars false +\postpone_fragile_content false \html_math_output 0 \html_css_as_file 0 \html_be_strict true +\docbook_table_output 0 +\docbook_mathml_prefix 1 \end_header \begin_body diff --git a/lib/layouts/lilypond.module b/lib/layouts/lilypond.module index 5df45f6225..b4978bda1b 100644 --- a/lib/layouts/lilypond.module +++ b/lib/layouts/lilypond.module @@ -46,4 +46,9 @@ InsetLayout "Flex:LilyPond" Color foreground EndFont EndArgument + DocBookNotInPara true + DocBookWrapperTag mediaobject + DocBookTag textobject + DocBookInnerTag programlisting + DocBookInnerAttr "language='lilypond' role='fragment verbatim staffsize=16 ragged-right relative=2'" End diff --git a/src/output_docbook.cpp b/src/output_docbook.cpp index 582fab0242..114c258304 100644 --- a/src/output_docbook.cpp +++ b/src/output_docbook.cpp @@ -343,7 +343,7 @@ void makeParagraph( // We do not really want to wrap that whole thing in a