Skip to content

Commit

Permalink
prevent version footer from appearing
Browse files Browse the repository at this point in the history
When the input file has no \paper block, ly2video writes one itself.
However this needs to explicitly disable any footers from appearing.
  • Loading branch information
aspiers committed May 20, 2023
1 parent 5577b21 commit 5d78897
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ly2video/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ def writePaperHeader(fFile, width, height, dpi, numOfLines, lilypondVersion):
fFile.write(" left-margin = %d\\mm\n" % leftMm)
fFile.write(" right-margin = %d\\mm\n" % rightMm)

fFile.write(" oddFooterMarkup = \\markup \\null\n")
fFile.write(" evenFooterMarkup = \\markup \\null\n")
fFile.write("}\n")

fFile.write("#(set-global-staff-size %d)\n" % GLOBAL_STAFF_SIZE)
Expand Down

0 comments on commit 5d78897

Please sign in to comment.