Jonathan Gregory <j...@autistici.org> writes: > On 21 Jul 2023, Ihor Radchenko wrote: > >> The png is still a full page on my side. > > That's not what I get. You're probably missing the paper settings: > > #+begin_src lilypond :exports none > \version "2.20" > \paper { > indent=0\mm > tagline="" > line-width=170\mm > oddFooterMarkup=##f > oddHeaderMarkup=##f > bookTitleMarkup=##f > scoreTitleMarkup=##f > } > #+end_src
I feel confused. Isn't you patch aiming for auto-sizing the resulting page to fit the music fragment? >> Also, I am getting >> >> Processing `/tmp/babel-xQweBZ/lilypond-WGdEvi' >> Parsing... >> /tmp/babel-xQweBZ/lilypond-WGdEvi:1: warning: no \version >> statement found, please add >> >> \version "2.24.0" >> >> which does not look necessary. > > What is not necessary? The warning is expected. Other than that > everything looks fine. I guess I do not fully understand what your patch is trying to achieve. I thought that the patch would make it not necessary to write some extra boilerplate code, like \version or specifying the page size. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>