]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/musicexp.py
Convert miscellaneous description elements to texidoc items.
[lilypond.git] / python / musicexp.py
index e32c4895e60045004fc29ecf148dfb042c86c0a8..0efd7c54b4b641b20de919a2f747d64225161017 100644 (file)
@@ -826,8 +826,9 @@ class Header:
 
         # If a header item contains a line break, it is segmented. The
         # substrings are formatted with the help of \markup, using
-        # \column and \line.
-        if '\n' in value:
+        # \column and \line. An exception, however, are texidoc items,
+        # which should not contain LilyPond formatting commands.
+        if (key != 'texidoc') and ('\n' in value):
             value = value.replace('"', '')
             printer.dump(r'\markup \column {')
             substrings = value.split('\n')
@@ -847,18 +848,6 @@ class Header:
             if v:
                self.format_header_strings(k, v, printer)
         #printer.newline()
-        printer.dump(r'tagline = \markup {')
-        printer.newline()
-        printer.dump(r'  \center-column {')
-        printer.newline()
-        printer.dump('\line {"Music engraving by LilyPond " $(lilypond-version) | \with-url #"http://www.lilypond.org" {www.lilypond.org}}')
-        printer.newline()
-        printer.dump('\line {\with-url #"https://philomelos.net" {\with-color #grey {Learn, teach and share music on https://philomelos.net}}}')
-        printer.newline()
-        printer.dump('}')
-        printer.newline()
-        printer.dump('}')
-        printer.newline()
         printer.dump("}")
         printer.newline()
         printer.newline()