|
From: | Carl Sorensen |
Subject: | Re: Edit scheme files with Frescobaldi |
Date: | Thu, 10 Feb 2022 22:19:22 +0000 |
User-agent: | Microsoft-MacOutlook/10.10.1b.201012 |
From:
lilypond-user <lilypond-user-bounces+carl.d.sorensen=gmail.com@gnu.org> on behalf of Curt McDowell <csm@fishlet.com> Hi all, Some of my projects #(load "external_scheme_files"). For example, if song.ly contains \version "2.20.0"\include "articulate.ly"#(load "swing.scm")\header {... then if I open song.ly in Frescobaldi and use Engrave (preview), it doesn't find swing.scm (doesn't know to copy it to the tempdir?) And if I Open swing.scm in Frescobaldi, it tries to compile that as a .ly format. Is there a way to open .scm files in Frescobaldi alongside the .ly files, be able to edit them all and engrave/publish on demand (maybe using a session)? I haven't found how in the docs. The way I do it is to embed the scheme code in an ly file. Instead of calling it “swing.scm”, call it “swing.ly”, and preface functions with # as needed. And then you can just \include “swing.ly”. HTH, Carl |
[Prev in Thread] | Current Thread | [Next in Thread] |