Re: Set /bookOutputName to Conjunction of Variable and String

2019-10-19 Thread foxfanfare
Aaron Hill wrote > Would using a function help? Thanks Aaron for your answer. I tried your solution but it crashes in my situation. I think I understood where the problem is, it seems to be because of the use of a variable, for instance: main.ly \version "2.19.83" fetch = #(define-scheme-fu

Re: Set /bookOutputName to Conjunction of Variable and String

2019-10-19 Thread Aaron Hill
On 2019-10-19 3:58 am, foxfanfare wrote: The idea I had was to do something like this: Create a new file (for instance "links.ily"), which would contain: \include "articulate.ly" \include "configuration.ily" \include "../../ily/liens.ily" \include #(string-join (list "../../ily/global/global" n

Re: Set /bookOutputName to Conjunction of Variable and String

2019-10-19 Thread foxfanfare
David Kastrup wrote > I don't get your point. If you say that the assignment is not placed > somewhere separate from the \include statement, it's a bit hard to see > why you don't just roll the string in question into the \include > statement in the first place. The usual use case for an assignme

Re: Set /bookOutputName to Conjunction of Variable and String

2019-10-18 Thread Malte Meyn
Am 18.10.19 um 14:29 schrieb foxfanfare: David Kastrup wrote So you need to put basically anything after the assignment to "num" before calling the \include statement. Thanks for your answer David, but I'm sorry I'm not following you here. What should I call before the include statement exac

Re: Set /bookOutputName to Conjunction of Variable and String

2019-10-18 Thread David Kastrup
foxfanfare writes: > David Kastrup wrote >> So you need to >> put basically anything after the assignment to "num" before calling the >> \include statement. > > Thanks for your answer David, but I'm sorry I'm not following you here. What > should I call before the include statement exactly? Basi

Re: Set /bookOutputName to Conjunction of Variable and String

2019-10-18 Thread foxfanfare
David Kastrup wrote > So you need to > put basically anything after the assignment to "num" before calling the > \include statement. Thanks for your answer David, but I'm sorry I'm not following you here. What should I call before the include statement exactly? Because the whole point is that what

Re: Set /bookOutputName to Conjunction of Variable and String

2019-10-18 Thread David Kastrup
foxfanfare writes: > Aaron Hill wrote >> I would suggest using \bookOutputSuffix, but you can certainly use a >> little Scheme to concatenate the strings: > > Is it also possible to use that kind of code with \include ? I tried > something like: > > num = "01" > > %\include "../../ily/global/glo

Re: Set /bookOutputName to Conjunction of Variable and String

2019-10-18 Thread foxfanfare
Aaron Hill wrote > I would suggest using \bookOutputSuffix, but you can certainly use a > little Scheme to concatenate the strings: Is it also possible to use that kind of code with \include ? I tried something like: num = "01" %\include "../../ily/global/global.01.ily" \include #(string-join (

Re: Set /bookOutputName to Conjunction of Variable and String

2019-09-09 Thread Aaron Hill
On 2019-09-09 6:16 am, sir.teddy.the.fi...@gmail.com wrote: Hi all, My score's title is set up in a variable called "title". I'm trying to output a file for every instrument and thus would like to have something like this \version "2.19.83" \book { \bookOutputName \title " -

Set /bookOutputName to Conjunction of Variable and String

2019-09-09 Thread sir.teddy.the.first
Hi all, My score's title is set up in a variable called "title". I'm trying to output a file for every instrument and thus would like to have something like this \version "2.19.83" \book { \bookOutputName \title " - Clarinet" . } for every instrument of my