Re: + utf-8 characters on file name

2014-03-19 Thread Wilbert Berendsen
Excuse me for top-quoing, my phone forces me.  LilyPond intentionally changes non-alphanumeric characters to the underscore for the output-suffix. It doesn't do that for \bookOutputName, however.  I recently got bitten by this too and changed Frescobaldi so that it recognizes the changed

Re: + utf-8 characters on file name

2014-03-19 Thread MING TSANG
On Wednesday, March 19, 2014 3:36:42 AM, Wilbert Berendsen wbs...@xs4all.nl wrote: Excuse me for top-quoing, my phone forces me.  LilyPond intentionally changes non-alphanumeric characters to the underscore for the output-suffix. It doesn't do that for \bookOutputName, however.  I

+ utf-8 characters on file name

2014-03-18 Thread MING TSANG
The attached .ly file generate two pdf files.   1. test_utf-8_filename.pdf  2. test_uft-8_filename-SA_TB.pdf I was anticipating that the 2nd pdf file name to be  test_utf-8_filename-SA+TB.pdf  Instead it generates  test_utf-8_filename-SA_TB.pdf.  Is it that lilypond cannot generate utf-8

Re: + utf-8 characters on file name

2014-03-18 Thread MING TSANG
On Tuesday, March 18, 2014 12:58:13 PM, MING TSANG tsan...@rogers.com wrote: The attached .ly file generate two pdf files.   1. test_utf-8_filename.pdf  2. test_uft-8_filename-SA_TB.pdf I was anticipating that the 2nd pdf file name to be  test_utf-8_filename-SA+TB.pdf  Instead it generates 

Re: + utf-8 characters on file name

2014-03-18 Thread Fredrik Wallberg
Hi Ming, someone with more knowledge about Unicode (and Windows) could perhaps explain why that happens, but since you also asked for a workaround: Instead of using \bookOutSuffix, you could try with \bookOutputName, like this: \book { \bookOutputName +中国曲子+ Which works fine over here

Re: + utf-8 characters on file name

2014-03-18 Thread Simon Albrecht
Am 18.03.2014 21:05, schrieb Fredrik Wallberg: Hi Ming, someone with more knowledge about Unicode (and Windows) could perhaps explain why that happens, but since you also asked for a workaround: Instead of using \bookOutSuffix, you could try with \bookOutputName, like this: \book {

Re: + utf-8 characters on file name

2014-03-18 Thread MING TSANG
On Tuesday, March 18, 2014 5:58:51 PM, Simon Albrecht simon.albre...@mail.de wrote: Am 18.03.2014 21:05, schrieb Fredrik Wallberg: Hi Ming, someone with more knowledge about Unicode (and Windows) could perhaps explain why that happens, but since you also asked for a workaround: Instead

utf-8 characters in file name.

2014-02-25 Thread MING TSANG
%%lily code  file name Test_中文.ly \version 2.19.2 #(define (footnote-filename) (define (periodize i l) (if (null? l) i (periodize (string-append i . (car l)) (cdr l (let* ((comml (object-string (command-line))) (loc (+ (string-rindex comml #\space) 2)) (commllen (- (string-length comml) 2))