Hi Thomas
#(format #t
   "\nCurrent output-filename: \"~a\"\n"
   (paper-variable (ly:parser-lookup '$current-book) 'output-filename))

Thanks for that snippet. I spent hours to find a way to get the current output 
filename
and suffix. $current-book and similar variables definitely should be documented.

Knut

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to