Re: change format of bookOutputSuffix
At 09:36 on 21 Feb 2023, Kieren MacMillan wrote: > Hi all, > What’s the simplest way to modify the format of \bookOutputSuffix? For > example, say I want the trailing hyphen to be an underscore — i.e., > currently I get > MyPiece-suffix.pdf > and I want > MyPiece_suffix.pdf > Do I have to [locate and] rebuild the music function, or is there an > easy parameter I don’t know about? It seems to be hard-coded in the function get-outfile-name (lily-library.scm). -- Mark Knoop
Re: change format of bookOutputSuffix
Hi Jean, > It's coded in get-outfile-name in scm/lily-library.scm. It doesn't provide an > easy knob to change the separator, and set!-ing an internal function would be > really icky (subject to breaking without replacement in future versions). I > think the best way is to just use \bookOutputName "MyPiece_suffix" without a > \bookOutputSuffix at all. I feared that might be the answer! Thanks… that’s what I’ve been doing, so I’ll just continue with that. Best, Kieren.
Re: change format of bookOutputSuffix
Le mardi 21 février 2023 à 09:36 -0500, Kieren MacMillan a écrit : > Hi all, > > What’s the simplest way to modify the format of \bookOutputSuffix? For > example, say I want the trailing hyphen to be an underscore — i.e., currently > I get > > MyPiece-suffix.pdf > > and I want > > MyPiece_suffix.pdf > > Do I have to [locate and] rebuild the music function, or is there an easy > parameter I don’t know about? It's coded in `get-outfile-name` in `scm/lily-library.scm`. It doesn't provide an easy knob to change the separator, and `set!`-ing an internal function would be really icky (subject to breaking without replacement in future versions). I think the best way is to just use `\bookOutputName "MyPiece_suffix"` without a `\bookOutputSuffix` at all. signature.asc Description: This is a digitally signed message part
change format of bookOutputSuffix
Hi all, What’s the simplest way to modify the format of \bookOutputSuffix? For example, say I want the trailing hyphen to be an underscore — i.e., currently I get MyPiece-suffix.pdf and I want MyPiece_suffix.pdf Do I have to [locate and] rebuild the music function, or is there an easy parameter I don’t know about? Thanks! Kieren.