> > > > 4. As I'm writing a manual, where each movement is a separate > > > > exercise, I'd like at some point to batch export all the > > > > movements as > > > > individual files. Is it possible? > > > > > > Do you mean separate PDFs? > > > > Yes, at the moment separate PDFs, but in the future it might be > > useful > > to export as well as PNGs or SVGs. > > The following script does what you want > > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< > (let loop ((count (d-GetMovementsInScore))) > (if (> count 0) > (begin > (d-GoToPosition count 1 1 1) > (d-PrintMovement) > (d-ExportPDF (string-append (d-GetFilename) "-Movement-" > (number->string count) ".pdf")) > (loop (1- count))))) > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< > > but if you put it in the Scheme Window and execute it what happens is > that it keeps asking if you want to interrupt the typesetting of one > movement to go on to the typesetting of the next, as well as telling > you that your PDF has been created for each movement. > So you need to run it non-interactively - put the script into a file > say /home/rshann/Desktop/MovementPrint.scm and then run > > denemo -n -i "/home/rshann/Desktop/MovementPrint.scm" > /home/rshann/musicScores/Molter/SonataAMaj.denemo.gz > > which loads my file > > /home/rshann/musicScores/Molter/SonataAMaj.denemo.gz > > and executes the Scheme in the script on it. (My file is compressed, > hence the .gz but it doesn't need to be, any .denemo file will do.)
Hi, if I run Denemo from the terminal I get the following error. Also, I tried to run the script from the Scheme Script pop-up but nothing happened (I tried both pressing Enter and 'Execute Script', not sure if there's a difference). dyld: Library not loaded: /opt/local/lib/guile18/libguile.17.dylib Referenced from: /Applications/Denemo.app/Contents/Resources/bin/denemo Reason: image not found Abort trap: 6 _______________________________________________ Denemo-devel mailing list Denemo-devel@gnu.org https://lists.gnu.org/mailman/listinfo/denemo-devel