Skip to content

lilypond-book issues

Werner Lemberg requested to merge dev/wl/line-width into master
  • lilypond-book: Fix line width detection in LaTeX mode

    Extend the LaTeX line width detection run to also extract both page height and width, thus providing a default paper size for the snippet instead of relying on the A4 paper format. The old code didn't yield expected results for larger paper sizes in the LaTeX document (for example, A4 landscape), making LilyPond emit a warning of the line length running off the page, which in turn was reset to LilyPond's default.

    This patch also fixes a small mis-calculation of the text width for multi-column texts (the columnsep value was subtracted only once rather than once per separation).

    This commit is based on a patch written by Reinhold Kainhofer (http://codereview.appspot.com/6454139).

    Fixes issue #2732 (closed).

  • lilypond-book: improve message if LaTeX paper format detection fails

  • lilypond-book.itely: Updated, other minor fixes

Edited by Werner Lemberg

Merge request reports