Skip to content

lilypond-book: Fix include handling by `kpsewhich`

Michael Käppler requested to merge dev/mk/lpbookfix into master
  • For includes specified with \input that are not found directly, lilypond-book tries to determine the full path with the kpsewhich utility. If this succeeds, the captured stdout of kpsewhich has a trailing newline appended, which has to be removed before opening the file.

  • Fall back to searching the include path if no kpsewhich binary is available.

  • Fix default path insertion for TEXINPUTS, TEXFONTMAPS and MFINPUTS

Closes #6213 (closed).

Edited by Michael Käppler

Merge request reports