diff options
author | John Gourlay <john@weathervanefarm.net> | 2016-03-22 22:00:27 -0400 |
---|---|---|
committer | John Gourlay <john@weathervanefarm.net> | 2016-03-22 22:00:27 -0400 |
commit | 1f6e0e7a473c909c5577cba57d93e5a1c6f9f975 (patch) | |
tree | f9017e407e5a37767d640b6cc7fe1a21cd7b8d53 /python | |
parent | 589f549df3d23e7f4b91e42fead64c3e91b28905 (diff) |
Convert miscellaneous description elements to texidoc items.
Diffstat (limited to 'python')
-rw-r--r-- | python/musicexp.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/musicexp.py b/python/musicexp.py index 8997b1674c..0efd7c54b4 100644 --- a/python/musicexp.py +++ b/python/musicexp.py @@ -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') |