Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lilypond notation isn't cropped, uses full page of white space under the line of music #279

Open
tilleule opened this issue May 31, 2024 · 0 comments

Comments

@tilleule
Copy link

tilleule commented May 31, 2024

Lately, compiling pandoc markdown files with lilypond filter produces correctly compiled notation, but even single lines of music are followed by blank space in the image that fills the rest of the page.

GNU LilyPond 2.24.3 (running Guile 2.2)
pandoc 3.1.13
Features: +server +lua
Scripting engine: Lua 5.4

pandoc -s --lua-filter=./lilypond2.lua --pdf-engine=tectonic test.md -o test.pdf

less test.md:
Wie heißen diese Noten? Schreibe die Namen auf die Linien:

\relative c' {
    \override Staff.TimeSignature #'stencil = ##f
    \cadenzaOn
    b4 c4 d4 e4 f4 g4 a4 b4 c4 d4 e4 f4 g4 a4 b4 c4 d4 e4 f4 \bar "|."
    \cadenzaOff
}

This results in a single line of text on page 1 and the music appearing on page 2 because the image is too big to fit under the line of text in one page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant