Carl : Thank you for the info. How can I
change your display/markup font to be a font that includes CJK characters?
Thank you for reminding me about my problem way back in 2015. You suggested using the eps image in the file name. I did not know how to create an eps image for the file name. So I end up not using utf-8 in the file name. It served me fine these years.
Now I created a folder name with utf-8 characters without realizing it will affect the folder name as with file name.
If this is the way lilypond works, I will remember not to use utf-8 characters in the folder and the file name.
"\markup \wordwrap-string #(command-line)" --the example four.
% updated LSR 197 --
https://lsr.di.unimi.it/LSR/Item?id=197\version "2.23.3"
#(define comml (command-line))
#(define filen input-file-name)
#(define siz (object->string (stat:size (stat filen))))
#(define ver (lilypond-version))
#(define dat (strftime "%m/%d/%Y" (localtime (current-time))))
#(define tim (strftime "%H:%M:%S" (localtime (current-time))))
#(define modt (stat:mtime (stat filen)))
#(define modts (strftime "%m/%d/%Y %H:%M:%S" (localtime modt)))
\markup { "..... example one ....." }
\markup \column {
\line { "File Name = " \filen }
\line { "File Size = " \siz }
\line { "LilyPond Version = " \ver }
\line { "Date Processed = " \dat }
\line { "Time Processed = " \tim }
\line { "Last Modified = " \modts }
\line { "Command Line = " \comml }
}
%
%%
\version "2.23.3" % or newer
filename = #(define-scheme-function () ()
(car (ly:input-file-line-char-column (*location*))))
\markup { "..... example two ....." }
\markup { "File Name =" \filename }
\header { dedication = \markup { \filename } }
%%
%%%
\version "2.23.3"
#(define commandLine (object->string (command-line)))
\markup { "..... example three ....." }
\markup { \wordwrap-string { \commandLine } }
%%%
%%%%
\version "2.23.3"
\markup { "..... example four ....." }
\markup \wordwrap #(command-line)
%%%%
%end of example code.
The above test is for folder names containing utf-8 characters.
Later today I will test the folder and filename containing utf-8 characters to see the effects.
Thank you for your help.