lilypond-book: Fix include handling by `kpsewhich`
-
For includes specified with
\input
that are not found directly, lilypond-book tries to determine the full path with thekpsewhich
utility. If this succeeds, the captured stdout ofkpsewhich
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
andMFINPUTS
Closes #6213 (closed).
Edited by Michael Käppler